public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikanth Karthikesan <knikanth@suse.de>
To: Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
Cc: linux-scsi@vger.kernel.org, James.Bottomley@hansenpartnership.com
Subject: Re: [PATCH 1/1] pmcraid driver disable msix and other changes
Date: Mon, 22 Nov 2010 15:28:52 +0530	[thread overview]
Message-ID: <201011221528.52597.knikanth@suse.de> (raw)
In-Reply-To: <alpine.LNX.1.10.1011161334560.1759@rslab235.pmc-sierra.bc.ca>

On Wednesday 17 November 2010 03:13:41 Anil Ravindranath wrote:
> The following are the fixes in this patch:

Fixes for what? Can you include the bugs caused by enabling msi-x inthe 
changelog.

> 1. Disable msi-x for now
> 2. Change device configuration entry size
> 

Why?

So this patch kind of disables c20c426732a5a5d21e99b36286f79c2024115341?
Would it be better to revert it?

> Signed-off-by: Anil Ravindranath<anil_ravindranath@pmc-sierra.com>
> 
>  pmcraid.c |    4 +++-
>  pmcraid.h |    6 ++----
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> --- scsi-misc-2.6.orig/drivers/scsi/pmcraid.h	2010-11-04 12:03:46.000000000
>  -0700 +++ scsi-misc-2.6/drivers/scsi/pmcraid.h	2010-11-04
>  11:15:06.000000000 -0700 @@ -42,7 +42,7 @@
>   */
>  #define PMCRAID_DRIVER_NAME		"PMC MaxRAID"
>  #define PMCRAID_DEVFILE			"pmcsas"
> -#define PMCRAID_DRIVER_VERSION		"2.0.3"
> +#define PMCRAID_DRIVER_VERSION		"1.0.3"

hm.. version jump back!

>  #define PMCRAID_DRIVER_DATE		__DATE__
> 
>  #define PMCRAID_FW_VERSION_1		0x002
> @@ -333,11 +333,9 @@
>  	__u8  lun[PMCRAID_LUN_LEN];
>  } __attribute__((packed, aligned(4)));
> 
> -/* extended configuration table sizes are of 64 bytes in size */
> -#define PMCRAID_CFGTE_EXT_SIZE	32
> +/* extended configuration table sizes are also of 32 bytes in size */
>  struct pmcraid_config_table_entry_ext {
>  	struct pmcraid_config_table_entry cfgte;
> -	__u8  cfgte_ext[PMCRAID_CFGTE_EXT_SIZE];
>  };
> 
>  /* resource types (config_table_entry.resource_type values) */
> --- scsi-misc-2.6.orig/drivers/scsi/pmcraid.c	2010-11-04 12:03:38.000000000
>  -0700 +++ scsi-misc-2.6/drivers/scsi/pmcraid.c	2010-11-04
>  12:11:21.000000000 -0700 @@ -62,6 +62,7 @@
>  static unsigned int pmcraid_debug_log;
>  static unsigned int pmcraid_disable_aen;
>  static unsigned int pmcraid_log_level = IOASC_LOG_LEVEL_MUST;
> +static unsigned int pmcraid_enable_msix;
> 
>  /*
>   * Data structures to support multiple adapters by the LLD.
> @@ -4689,7 +4690,8 @@
>  	int rc;
>  	struct pci_dev *pdev = pinstance->pdev;
> 
> -	if (pci_find_capability(pdev, PCI_CAP_ID_MSIX)) {
> +	if ((pmcraid_enable_msix) &&
> +		(pci_find_capability(pdev, PCI_CAP_ID_MSIX))) {

coding style nitpick: Unnecessary parenthesis.

Thanks
Nikanth

>  		int num_hrrq = PMCRAID_NUM_MSIX_VECTORS;
>  		struct msix_entry entries[PMCRAID_NUM_MSIX_VECTORS];
>  		int i;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2010-11-22  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 21:43 [PATCH 1/1] pmcraid driver disable msix and other changes Anil Ravindranath
2010-11-22  9:58 ` Nikanth Karthikesan [this message]
2010-11-22 17:25   ` Anil Ravindranath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201011221528.52597.knikanth@suse.de \
    --to=knikanth@suse.de \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=anil_ravindranath@pmc-sierra.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox