17 Sep, 2014
19 commits
-
Update lpfc version to driver version 10.4.8000.0
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix for handling unmapped ndlp in target reset handler
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fixed Low priority issues from lpfc given by fortify source code scan.
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fixed High priority issues from lpfc given by fortify source code scan.
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix crash from page fault caused by use after rport delete.
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix locking issues with abort data paths
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix race between LOGO/PLOGI handling causing NULL pointer
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix IP Reset processing - wait for RDY before proceeding
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix quarantined XRI recovery qualifier state in link bounce
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix discovery timeout during nameserver login
Signed-off-by: James Smart
Signed-off-by: Dick Kennedy
Signed-off-by: Christoph Hellwig -
As result of deprecation of MSI-X/MSI enablement functions
pci_enable_msix() and pci_enable_msi_block() all drivers
using these two interfaces need to be updated to use the
new pci_enable_msi_range() or pci_enable_msi_exact()
and pci_enable_msix_range() or pci_enable_msix_exact()
interfaces.Signed-off-by: Alexander Gordeev
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
In prandom we have already reseeding mechanisms that trigger
periodically from a much better entropy source than just
feeding in jiffies through lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
[what a function name 8-)]. Therefore, just remove this.Signed-off-by: Daniel Borkmann
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
To be future-proof and for better readability the time comparisons
are modified to use time_after() instead of plain, error-prone math.Signed-off-by: Manuel Schölling
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
Use the zeroing function instead of dma_alloc_coherent & memset(,0,)
Signed-off-by: Joe Perches
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
[PATCH 26/55] scsi: Mark function as static in lpfc/lpfc_bsg.c
Mark function as static in lpfc/lpfc_bsg.c because it is not used
outside this file.This eliminates the following warning in lpfc/lpfc_bsg.c:
drivers/scsi/lpfc/lpfc_bsg.c:3348:1: warning: no previous prototype for ‘lpfc_bsg_issue_mbox_cmpl’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
Mark functions as static in lpfc/lpfc_scsi.c because they are not used
outside this file.This eliminates the following warnings in lpfc/lpfc_scsi.c:
drivers/scsi/lpfc/lpfc_scsi.c:299:1: warning: no previous prototype for ‘lpfc_change_queue_depth’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_scsi.c:795:1: warning: no previous prototype for ‘lpfc_sli4_post_scsi_sgl_list’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_scsi.c:3019:1: warning: no previous prototype for ‘lpfc_bg_crc’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_scsi.c:3035:1: warning: no previous prototype for ‘lpfc_bg_csum’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_scsi.c:3048:1: warning: no previous prototype for ‘lpfc_calc_bg_err’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
Mark functions as static in lpfc/lpfc_init.c because they are not used
outside this file.This eliminates the following warning in lpfc/lpfc_init.c:
drivers/scsi/lpfc/lpfc_init.c:652:1: warning: no previous prototype for ‘lpfc_hba_init_link’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_init.c:753:1: warning: no previous prototype for ‘lpfc_hba_down_link’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_init.c:3434:1: warning: no previous prototype for ‘lpfc_sli4_fcf_redisc_wait_tmo’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
Mark functions as static in lpfc/lpfc_hbadisc.c because they are not
used outside this file.This eliminates the following warnings in lpfc/lpfc_hbadisc.c:
drivers/scsi/lpfc/lpfc_hbadisc.c:2047:5: warning: no previous prototype for ‘lpfc_sli4_fcf_pri_list_add’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_hbadisc.c:2681:1: warning: no previous prototype for ‘lpfc_init_vfi_cmpl’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_hbadisc.c:4432:1: warning: no previous prototype for ‘lpfc_nlp_logo_unreg’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig -
[PATCH 22/55] scsi: Mark functions as static in lpfc/lpfc_sli.c
Mark functions as static in lpfc/lpfc_sli.c because they are not used
outside this file.This eliminates the following warnings in lpfc/lpfc_sli.c:
drivers/scsi/lpfc/lpfc_sli.c:13867:1: warning: no previous prototype for ‘lpfc_sli4_alloc_xri’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:13897:1: warning: no previous prototype for ‘__lpfc_sli4_free_xri’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:14317:1: warning: no previous prototype for ‘lpfc_update_rcv_time_stamp’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:14786:1: warning: no previous prototype for ‘lpfc_sli4_handle_unsol_abort’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:15331:1: warning: no previous prototype for ‘__lpfc_sli4_free_rpi’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:15769:1: warning: no previous prototype for ‘lpfc_check_next_fcf_pri_level’ [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_sli.c:16000:1: warning: no previous prototype for ‘lpfc_mbx_cmpl_redisc_fcf_table’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Reviewed-by: James Smart
Signed-off-by: Christoph Hellwig
29 Jul, 2014
1 commit
-
There is no need to call pci_disable_msix() in case
the previous call to pci_enable_msix() failedSigned-off-by: Alexander Gordeev
Acked-by: James Smart
Signed-off-by: Christoph Hellwig
18 Jul, 2014
2 commits
-
Now that we're using 64-bit LUNs internally we need to increase
the size of max_luns to 64 bits, too.Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Ewan Milne
Signed-off-by: Christoph Hellwig -
The SCSI standard defines 64-bit values for LUNs, and large arrays
employing large or hierarchical LUN numbers become more and more
common.So update the linux SCSI stack to use 64-bit LUN numbers.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Ewan Milne
Signed-off-by: Christoph Hellwig
15 Jun, 2014
1 commit
-
Pull more SCSI updates from James Bottomley:
"This is just a couple of drivers (hpsa and lpfc) that got left out for
further testing in linux-next. We also have one fix to a prior
submission (qla2xxx sparse)"* tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (36 commits)
qla2xxx: fix sparse warnings introduced by previous target mode t10-dif patch
lpfc: Update lpfc version to driver version 10.2.8001.0
lpfc: Fix ExpressLane priority setup
lpfc: mark old devices as obsolete
lpfc: Fix for initializing RRQ bitmap
lpfc: Fix for cleaning up stale ring flag and sp_queue_event entries
lpfc: Update lpfc version to driver version 10.2.8000.0
lpfc: Update Copyright on changed files from 8.3.45 patches
lpfc: Update Copyright on changed files
lpfc: Fixed locking for scsi task management commands
lpfc: Convert runtime references to old xlane cfg param to fof cfg param
lpfc: Fix FW dump using sysfs
lpfc: Fix SLI4 s abort loop to process all FCP rings and under ring_lock
lpfc: Fixed kernel panic in lpfc_abort_handler
lpfc: Fix locking for postbufq when freeing
lpfc: Fix locking for lpfc_hba_down_post
lpfc: Fix dynamic transitions of FirstBurst from on to off
hpsa: fix handling of hpsa_volume_offline return value
hpsa: return -ENOMEM not -1 on kzalloc failure in hpsa_get_device_id
hpsa: remove messages about volume status VPD inquiry page not supported
...
10 Jun, 2014
1 commit
-
Pull SCSI updates from James Bottomley:
"This patch consists of the usual driver updates (qla2xxx, qla4xxx,
lpfc, be2iscsi, fnic, ufs, NCR5380) The NCR5380 is the addition to
maintained status of a long neglected driver for older hardware. In
addition there are a lot of minor fixes and cleanups and some more
updates to make scsi mq ready"* tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (130 commits)
include/scsi/osd_protocol.h: remove unnecessary __constant
mvsas: Recognise device/subsystem 9485/9485 as 88SE9485
Revert "be2iscsi: Fix processing cqe for cxn whose endpoint is freed"
mptfusion: fix msgContext in mptctl_hp_hostinfo
acornscsi: remove linked command support
scsi/NCR5380: dprintk macro
fusion: Remove use of DEF_SCSI_QCMD
fusion: Add free msg frames to the head, not tail of list
mpt2sas: Add free smids to the head, not tail of list
mpt2sas: Remove use of DEF_SCSI_QCMD
mpt2sas: Remove uses of serial_number
mpt3sas: Remove use of DEF_SCSI_QCMD
mpt3sas: Remove uses of serial_number
qla2xxx: Use kmemdup instead of kmalloc + memcpy
qla4xxx: Use kmemdup instead of kmalloc + memcpy
qla2xxx: fix incorrect debug printk
be2iscsi: Bump the driver version
be2iscsi: Fix processing cqe for cxn whose endpoint is freed
be2iscsi: Fix destroy MCC-CQ before MCC-EQ is destroyed
be2iscsi: Fix memory corruption in MBX path
...
03 Jun, 2014
16 commits
-
Update lpfc version to driver version 10.2.8001.0
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix ExpressLane priority setup
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix for initializing RRQ bitmap
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix for cleaning up stale ring flag and sp_queue_event entries.
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Update lpfc version to driver version 10.2.8000.0
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Update Copyright on changed files from 8.3.45 patches
Missed this in the 8.3.45 push
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Update Copyright on changed files
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fixed locking for scsi task management commands.
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Convert runtime references to old xlane cfg param to fof cfg param
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix FW dump using sysfs
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix SLI4 s abort loop to process all FCP rings and under ring_lock
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fixed kernel panic in lpfc_abort_handler
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix locking for postbufq when freeing
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix locking for lpfc_hba_down_post
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig -
Fix dynamic transitions of FirstBurst from on to off
Signed-off-by: James Smart
Reviewed-By: Dick Kennedy
Signed-off-by: Christoph Hellwig