[PATCH 22/22] lpfc 8.3.39: Update lpfc version for 8.3.39 driver release

2013-04-17 Thread James Smart
Update lpfc version for 8.3.39 driver release Signed-off-by: James Smart --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h 2013-04-10 16:46:40.

[PATCH 21/22] lpfc 8.3.39: Fixed driver handling of CLEAR_LA with NPIV enabled causing SID=0 frames out

2013-04-17 Thread James Smart
Fixed driver handling of CLEAR_LA with NPIV enabled causing SID=0 frames out Signed-off-by: James Smart --- lpfc_hbadisc.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpf

[PATCH 20/22] lpfc 8.3.39: Reduced tmo value set to FLOGI WQE for quick recovery from FLOGI sequence timeout

2013-04-17 Thread James Smart
Reduced tmo value set to FLOGI WQE for quick recovery from FLOGI sequence timeout Signed-off-by: James Smart --- lpfc_els.c |9 ++--- lpfc_hbadisc.c |7 +-- lpfc_sli.c | 11 ++- 3 files changed, 17 insertions(+), 10 deletions(-) diff -upNr a/drivers/scsi/

[PATCH 19/22] lpfc 8.3.39: Add log message when completes with clean address bit set to zero

2013-04-17 Thread James Smart
Add log message when completes with clean address bit set to zero Signed-off-by: James Smart --- lpfc_els.c |3 +++ 1 file changed, 3 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2013-04-15 18:26:26.89804

[PATCH 18/22] lpfc 8.3.39: Fixed driver vector mapping to CPU affinity

2013-04-17 Thread James Smart
Fixed driver vector mapping to CPU affinity Signed-off-by: James Smart --- lpfc.h |1 lpfc_attr.c | 137 + lpfc_hw4.h |5 lpfc_init.c | 322 ++-- lpfc_sli.c | 22 ++-- lpfc_sli4.h | 16 ++

[PATCH 16/22] lpfc 8.3.39: Fixed system panic during EEH recovery due to midlayer acting on outstanding I/O

2013-04-17 Thread James Smart
Fixed system panic during EEH recovery due to midlayer acting on outstanding I/O Signed-off-by: James Smart --- lpfc_init.c | 12 ++-- lpfc_sli.c |4 2 files changed, 10 insertions(+), 6 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_in

[PATCH 17/22] lpfc 8.3.39: Fixed iocb flags not being reset for scsi commands

2013-04-17 Thread James Smart
Fixed iocb flags not being reset for scsi commands. Signed-off-by: James Smart --- lpfc_scsi.c |2 ++ 1 file changed, 2 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc/lpfc_scsi.c 2013-04-15 18:26:46.934041346 -0400 +

[PATCH 15/22] lpfc 8.3.39: Fixed not returning FAILED status when SCSI invoking host reset handler failed

2013-04-17 Thread James Smart
Fixed not returning FAILED status when SCSI invoking host reset handler failed Signed-off-by: James Smart --- lpfc_crtn.h |1 + lpfc_init.c |2 +- lpfc_scsi.c | 14 +++--- 3 files changed, 13 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drive

[PATCH 14/22] lpfc 8.3.39: Fixed bad book keeping in posting els sgls to port

2013-04-17 Thread James Smart
Fixed bad book keeping in posting els sgls to port Signed-off-by: James Smart --- lpfc_sli.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c 2013-04-15 18:

[PATCH 13/22] lpfc 8.3.39: Fixed deadlock between hbalock and nlp_lock use

2013-04-17 Thread James Smart
Fixed deadlock between hbalock and nlp_lock use. Signed-off-by: James Smart --- lpfc_hbadisc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2013-04-15 18:2

[PATCH 12/22] lpfc 8.3.39: Fixed BlockGuard to take advantage of rdprotect/wrprotect info when available

2013-04-17 Thread James Smart
Fixed BlockGuard to take advantage of rdprotect/wrprotect info when available Signed-off-by: James Smart --- lpfc_hw.h |1 lpfc_scsi.c | 181 ++-- 2 files changed, 116 insertions(+), 66 deletions(-) diff -upNr a/drivers/scsi/l

[PATCH 11/22] lpfc 8.3.39: Reduced spinlock contention on SCSI buffer list

2013-04-17 Thread James Smart
Reduced spinlock contention on SCSI buffer list Signed-off-by: James Smart --- lpfc.h |6 ++- lpfc_init.c | 54 -- lpfc_scsi.c | 93 ++-- 3 files changed, 102 insertions(+), 51 deletions(-)

[PATCH 10/22] lpfc 8.3.39: Fixed crash when processing bsg's sg list with high memory pages

2013-04-17 Thread James Smart
Fixed crash when processing bsg's sg list with high memory pages Signed-off-by: James Smart --- lpfc_bsg.c | 33 +++-- lpfc_sli.c |3 +-- 2 files changed, 24 insertions(+), 12 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_

[PATCH 9/22] lpfc 8.3.39: Fix lpfc_fcp_look_ahead module parameter

2013-04-17 Thread James Smart
Fix lpfc_fcp_look_ahead module parameter Signed-off-by: James Smart --- lpfc_attr.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2013-04-15 18:26:36.982041119

[PATCH 8/22] lpfc 8.3.39: Fix driver issues with SCSI Host reset

2013-04-17 Thread James Smart
Fix driver issues with SCSI Host reset Signed-off-by: James Smart --- lpfc_attr.c |7 ++- lpfc_hw4.h |2 +- lpfc_init.c |7 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/sc

[PATCH 7/22] lpfc 8.3.39: Doorbell formation information logged in dual-chute mode WQ and RQ setup

2013-04-17 Thread James Smart
Doorbell formation information logged in dual-chute mode WQ and RQ setup Signed-off-by: James Smart --- lpfc_sli.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c

[PATCH 6/22] lpfc 8.3.39: Fix driver issues with large s/g lists for BlockGuard

2013-04-17 Thread James Smart
Fix driver issues with large s/g lists for BlockGuard Signed-off-by: James Smart --- lpfc.h |7 + lpfc_attr.c | 15 ++- lpfc_init.c | 132 -- lpfc_mem.c | 14 ++- lpfc_scsi.c | 229 +--- l

[PATCH 5/22] lpfc 8.3.39: Fix driver issues with large lpfc_sg_seg_cnt values

2013-04-17 Thread James Smart
Fix driver issues with large lpfc_sg_seg_cnt values Signed-off-by: James Smart --- lpfc.h |3 +++ lpfc_init.c | 31 +-- 2 files changed, 16 insertions(+), 18 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h --- a/drivers/s

[PATCH 4/22] lpfc 8.3.39: Fixed pt2pt and loop discovery problems on topology changes.

2013-04-17 Thread James Smart
Fixed pt2pt and loop discovery problems on topology changes. Signed-off-by: James Smart --- lpfc.h |1 lpfc_attr.c |2 + lpfc_els.c | 93 +++ lpfc_hbadisc.c | 55 lpfc_mbo

[PATCH 3/22] lpfc 8.3.39: Remove driver dependency on HZ

2013-04-17 Thread James Smart
Remove driver dependency on HZ Signed-off-by: James Smart --- lpfc.h |6 -- lpfc_bsg.c |6 -- lpfc_ct.c|3 ++- lpfc_els.c | 10 ++ lpfc_hbadisc.c |5 +++-- lpfc_init.c | 45 +

[PATCH 2/22] lpfc 8.3.39: Fixed BlockGuard error reporting

2013-04-17 Thread James Smart
Fixed BlockGuard error reporting Signed-off-by: James Smart --- lpfc_logmsg.h |1 lpfc_scsi.c | 279 -- 2 files changed, 255 insertions(+), 25 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_logmsg.h b/drivers/scsi/lpfc/lpfc_

[PATCH 1/22] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed

2013-04-17 Thread James Smart
Fixed VPI allocation issues after firmware dump is performed Signed-off-by: James Smart --- lpfc_hbadisc.c | 14 +- lpfc_init.c| 12 +++- lpfc_sli.c |2 ++ lpfc_vport.c | 25 - lpfc_vport.h |1 + 5 files changed, 51 insert

[PATCH 0/22] lpfc 8.3.39: Update lpfc to revision 8.3.39

2013-04-17 Thread James Smart
This patch set updates the lpfc driver to revision 8.3.39 The patches for 8.3.39 contain: - - Fixed VPI allocation issues after firmware dump is performed - Fixed BlockGuard error reporting - Remove driver dependency on HZ - Fixed pt2pt and loop discovery problems on topology changes. - Fix driv

[PATCH] [SCSI] mvumi: fix error return code in mvumi_io_attach()

2013-04-17 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/scsi/mvumi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index 459

[PATCH v2 4/4] Simple correctness and speed test for CRCT10DIF hash

2013-04-17 Thread Tim Chen
These are simple tests to do sanity check of CRC T10 DIF hash. The correctness of the transform can be checked with the command modprobe tcrypt mode=47 The speed of the transform can be evaluated with the command modprobe tcrypt mode=320 Set the cpu frequency to constant and turn

[PATCH v2 2/4] Accelerated CRC T10 DIF computation with PCLMULQDQ instruction

2013-04-17 Thread Tim Chen
This is the x86_64 CRC T10 DIF transform accelerated with the PCLMULQDQ instructions. Details discussing the implementation can be found in the paper: "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" http://www.intel.com/content/dam/www/public/us/en/documents/white-paper

[PATCH v2 3/4] Glue code to cast accelerated CRCT10DIF assembly as a crypto transform

2013-04-17 Thread Tim Chen
Glue code that plugs the PCLMULQDQ accelerated CRC T10 DIF hash into the crypto framework. The config CRYPTO_CRCT10DIF_PCLMUL should be turned on to enable the feature. The crc_t10dif crypto library function will use this faster algorithm when crct10dif_pclmul module is loaded. Signed-off-by: Ti

[PATCH v2 1/4] Wrap crc_t10dif function all to use crypto transform framework

2013-04-17 Thread Tim Chen
When CRC T10 DIF is calculated using the crypto transform framework, we wrap the crc_t10dif function call to utilize it. This allows us to take advantage of any accelerated CRC T10 DIF transform that is plugged into the crypto framework. Signed-off-by: Tim Chen --- include/linux/crc-t10dif.h |

[PATCH v2 0/4] Patchset to use PCLMULQDQ to accelerate CRC-T10DIF checksum computation

2013-04-17 Thread Tim Chen
Currently the CRC-T10DIF checksum is computed using a generic table lookup algorithm. By switching the checksum to PCLMULQDQ based computation, we can speedup the computation by 8x for checksumming 512 bytes and even more for larger buffer size. This will improve performance of SCSI drivers turni

Re: [Patch 1/1] cciss: bug fix, prevent cciss from loading in kdump kernel

2013-04-17 Thread Andrew Morton
On Mon, 15 Apr 2013 12:59:06 -0500 Mike Miller wrote: > Patch 1/1 > > If hpsa is selected as the Smart Array driver cciss may try to load in the > kdump kernel. When this happens kdump fails and a core file cannot be created. > This patch prevents cciss from trying to load in this scenario. This

Re: [PATCH 2/4] Accelerated CRC T10 DIF computation with PCLMULQDQ instruction

2013-04-17 Thread Tim Chen
On Wed, 2013-04-17 at 20:58 +0300, Jussi Kivilinna wrote: > On 16.04.2013 19:20, Tim Chen wrote: > > This is the x86_64 CRC T10 DIF transform accelerated with the PCLMULQDQ > > instructions. Details discussing the implementation can be found in the > > paper: > > > > "Fast CRC Computation for Gen

Re: [PATCH 4/4] Simple correctness and speed test for CRCT10DIF hash

2013-04-17 Thread Tim Chen
On Wed, 2013-04-17 at 20:58 +0300, Jussi Kivilinna wrote: > On 16.04.2013 19:20, Tim Chen wrote: > > These are simple tests to do sanity check of CRC T10 DIF hash. The > > correctness of the transform can be checked with the command > > modprobe tcrypt mode=47 > > The speed of the transform ca

Re: [PATCH 4/4] Simple correctness and speed test for CRCT10DIF hash

2013-04-17 Thread Jussi Kivilinna
On 16.04.2013 19:20, Tim Chen wrote: > These are simple tests to do sanity check of CRC T10 DIF hash. The > correctness of the transform can be checked with the command > modprobe tcrypt mode=47 > The speed of the transform can be evaluated with the command > modprobe tcrypt mode=320 >

Re: [PATCH 2/4] Accelerated CRC T10 DIF computation with PCLMULQDQ instruction

2013-04-17 Thread Jussi Kivilinna
On 16.04.2013 19:20, Tim Chen wrote: > This is the x86_64 CRC T10 DIF transform accelerated with the PCLMULQDQ > instructions. Details discussing the implementation can be found in the > paper: > > "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" > URL: http://download.i

Re: [PATCH 1/1] ipr: Need to reset adapter after the 6th EEH error

2013-04-17 Thread Brian King
Acked-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 0/1] ipr: Need to reset adapter after the 6th EEH error

2013-04-17 Thread wenxiong
After errinjct the 6th EEH error on adapter, disk configuration not restore. This patch fixes ths issue. Thanks, Wendy -- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

[PATCH 1/1] ipr: Need to reset adapter after the 6th EEH error

2013-04-17 Thread wenxiong
Add reset adapter after the 6th EEH errors in ipr driver. This triggers the adapter reset via the PCI config space even when the slot is frozen. Signed-off-by: Wen Xiong --- drivers/scsi/ipr.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) Index: b/drivers/scsi/ipr.c

PING^4 aka The Jon Corbet Effect Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542)

2013-04-17 Thread Paolo Bonzini
And a fourth ping comes... Jon, the next time I read "it seems likely to be picked up fairly soon" (http://lwn.net/Articles/535075/), I'll picture the author of the patch attempting open-heart surgery on a long-red-haired voodoo doll! Paolo Il 04/04/2013 20:18, Paolo Bonzini ha scritto: > Il 22/

[PATCH 2/5] qla4xxx: Fix sparse warning for qla4xxx_sysfs_ddb_tgt_create

2013-04-17 Thread vikas . chaudhary
From: Vikas Chaudhary Fix following warning: drivers/scsi/qla4xxx/ql4_os.c:5507:5: warning: symbol 'qla4xxx_sysfs_ddb_tgt_create' was not declared. Should it be static? Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 4/5] qla4xxx: Assign values using correct datatype

2013-04-17 Thread vikas . chaudhary
From: Adheer Chandravanshi Assign values using correct datatype in function qla4xxx_copy_to_fwddb_param() Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/sc

[PATCH 5/5] qla4xxx: Update driver version to 5.03.00-k9

2013-04-17 Thread vikas . chaudhary
From: Vikas Chaudhary Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_version.h b/drivers/scsi/qla4xxx/ql4_version.h index 83e0fec..fe873cf 100644 --- a/drivers/scsi/qla4xxx/ql4_v

[PATCH 1/5] qla4xxx: Silence gcc warning

2013-04-17 Thread vikas . chaudhary
From: Vikas Chaudhary Fix followig gcc warning:- drivers/scsi/qla4xxx/ql4_os.c: In function ‘qla4xxx_sysfs_ddb_get_param’: drivers/scsi/qla4xxx/ql4_os.c:6279: warning: comparison is always true due to limited range of data type drivers/scsi/qla4xxx/ql4_os.c:6290: warning: comparison is always tru

[PATCH 3/5] qla4xxx: Fix smatch warnings

2013-04-17 Thread vikas . chaudhary
From: Adheer Chandravanshi Fix following smatch warnings:- drivers/scsi/qla4xxx/ql4_os.c:6573 qla4xxx_sysfs_ddb_set_param() warn: possible memory leak of 'fw_ddb_entry' drivers/scsi/qla4xxx/ql4_os.c:6596 qla4xxx_sysfs_ddb_delete() warn: variable dereferenced before check 'fnode_sess' (see line 65

[PATCH 0/5] qla4xxx: Updates for scsi "misc" branch

2013-04-17 Thread vikas . chaudhary
From: Vikas Chaudhary James, Please apply the following patches to the scsi tree at your earliest convenience. Adheer Chandravanshi (2): qla4xxx: Fix smatch warnings qla4xxx: Assign values using correct datatype Vikas Chaudhary (3): qla4xxx: Silence gcc warning qla4xx

Re: [osd-dev] [patch] [SCSI] libosd: remover duplicate __bitwise annotation

2013-04-17 Thread Benny Halevy
On 2013-04-17 10:19, Dan Carpenter wrote: > __be32 is already a __bitwise type so we don't need the second __bitwise > here. It causes a Sparse error: > include/scsi/osd_protocol.h:110:26: error: invalid modifier > > Signed-off-by: Dan Carpenter ACK > > diff --git a/include/scsi/osd_protocol.

[patch] [SCSI] libosd: remover duplicate __bitwise annotation

2013-04-17 Thread Dan Carpenter
__be32 is already a __bitwise type so we don't need the second __bitwise here. It causes a Sparse error: include/scsi/osd_protocol.h:110:26: error: invalid modifier Signed-off-by: Dan Carpenter diff --git a/include/scsi/osd_protocol.h b/include/scsi/osd_protocol.h index a6026da..25ac628 100644

[patch] [SCSI] mvsas: fix a sparse annotation

2013-04-17 Thread Dan Carpenter
It doesn't make sense to label a 22 bit bitfield as __le32. It just causes a Sparse error. Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/mvsas/mv_94xx.h b/drivers/scsi/mvsas/mv_94xx.h index 487aa6f..b11f90d 100644 --- a/drivers/scsi/mvsas/mv_94xx.h +++ b/drivers/scsi/mvsas/mv_94xx.h @@