Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion scsi/mpt2sas: remove unnecesscary preempt requirement for MSIX
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex Shi  
View profile  
 More options Apr 30 2012, 11:36 pm
Newsgroups: fa.linux.kernel
From: Alex Shi <alex....@intel.com>
Date: Tue, 01 May 2012 03:36:40 UTC
Local: Mon, Apr 30 2012 11:36 pm
Subject: Re: [PATCH] scsi/mpt2sas: remove unnecesscary preempt requirement for MSIX
On 04/30/2012 01:29 PM, Nandigama, Nagalakshmi wrote:

> Alex,
> I submitted this patch already.

Ok. that's fine.

> James, request you to pick up the patch that I previously submitted for fixing this issue. Attaching the patch that I submitted previously.

> Regards,
> Nagalakshmi

> -----Original Message-----
> From: Alex Shi [mailto:alex....@intel.com]
> Sent: Saturday, April 28, 2012 11:58 AM
> To: JBottom...@parallels.com; Nandigama, Nagalakshmi
> Cc: linux-s...@vger.kernel.org; linux-ker...@vger.kernel.org; alex....@intel.com
> Subject: [PATCH] scsi/mpt2sas: remove unnecesscary preempt requirement for MSIX

> smp_processor_id() need used in preempt safe ENV. Otherwise, the
> cpu may be preempted and run on other cpus. But here, we don't care much
> the specific CPU which handler the MSI, so just replace it by
> raw_smp_processor_id() to avoid preempt debug warning.

> Signed-off-by: Alex Shi <alex....@intel.com>
> ---
>  drivers/scsi/mpt2sas/mpt2sas_base.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

> diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
> index 8a59a77..3f518ba 100644
> --- a/drivers/scsi/mpt2sas/mpt2sas_base.c
> +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
> @@ -1785,7 +1785,7 @@ static inline void _base_writeq(__u64 b, volatile void __iomem *addr,
>  static inline u8
>  _base_get_msix_index(struct MPT2SAS_ADAPTER *ioc)
>  {
> -  return ioc->cpu_msix_table[smp_processor_id()];
> +  return ioc->cpu_msix_table[raw_smp_processor_id()];
>  }

>  /**

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.