13 Jun, 2015
1 commit
-
With blk-mq support in the mid-layer, lpfc can do IO steering based
on the information in the request tag. This patch allows lpfc to use
blk-mq if enabled. If not enabled, we fall back into the emulex-internal
affinity mappings.This feature can be turned on via CONFIG_SCSI_MQ_DEFAULT or passing
scsi_mod.use_blk_mq=Y as a parameter to the kernel.Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley
06 Jun, 2015
3 commits
-
We inadvertantly took the path to recreate the vport while in a
driver teardown pathSigned-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Also has a little whitespace fixing.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley
10 Apr, 2015
7 commits
-
Update copyright to 2015
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Currently, the driver plays off the fact that older sli4 adapters have a
different rpi access pattern that allowed for the rpi reference to be
released earlier in the teardown sequence, allowing the driver to recycle
the rpi value sooner. Newer sli4 adapters have a different access pattern that
requires us to wait for a later mailbox completion. This changes the put
call location on the newer sli4 adapters.Symptoms of the error are "0110 ELS" and the "0372 iotag" errors.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Fix host reset escalation killing all IOs.
SLI-3 adapters will use a new host template. The template differs
from SLI-4 adapters in that it does not have an eh_host_reset_handler.Lpfc has traditionally never had a host_reset. The host reset
handler was added when we ran into a stuck hardware condition on a
SLI-4 adapter. The host_reset will reset and reinit the pci function,
clearing the hardware condition.Unfortunately, the host reset handler uses attach/detach code paths,
which makes scsi_add_host() and scsi_remove_host() calls. Meaning, a
host_reset will completely remove the scsi_host from the system. As a
new call to scsi_add_host() is made, the shost# changes, which results
in completely new scsi_devices and device names. All the older scsi
devices on the old shost# are now orphaned and unrecoverable.We realize we need to re-implement the host_reset_handler so the scsi_host
stays registered across the host_reset, but that will be a rather
lengthy effort. In the short term, we had an immediate need to restore
the SLI-3 devices to their working behavior, with the easiest path being
to remove their host_reset handler.Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
This will detect and send an async event if overtemp is detected
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley -
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Hannes Reinecke
Signed-off-by: James Bottomley
17 Sep, 2014
7 commits
-
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 IP Reset processing - wait for RDY before proceeding
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 -
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 -
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
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
03 Jun, 2014
8 commits
-
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 Copyright on changed files
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 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
16 Mar, 2014
5 commits
-
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley
16 Nov, 2013
1 commit
-
Pull trivial tree updates from Jiri Kosina:
"Usual earth-shaking, news-breaking, rocket science pile from
trivial.git"* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
doc: add missing files to timers/00-INDEX
timekeeping: Fix some trivial typos in comments
mm: Fix some trivial typos in comments
irq: Fix some trivial typos in comments
NUMA: fix typos in Kconfig help text
mm: update 00-INDEX
doc: Documentation/DMA-attributes.txt fix typo
DRM: comment: `halve' -> `half'
Docs: Kconfig: `devlopers' -> `developers'
doc: typo on word accounting in kprobes.c in mutliple architectures
treewide: fix "usefull" typo
treewide: fix "distingush" typo
mm/Kconfig: Grammar s/an/a/
kexec: Typo s/the/then/
Documentation/kvm: Update cpuid documentation for steal time and pv eoi
treewide: Fix common typo in "identify"
__page_to_pfn: Fix typo in comment
Correct some typos for word frequency
clk: fixed-factor: Fix a trivial typo
...
25 Oct, 2013
1 commit
-
The PCIE capability offset is saved during PCI bus walking. It will
remove an unnecessary search in the PCI configuration space if this
value is referenced instead of reacquiring it. Also, pci_is_pcie is a
better way of determining if the device is PCIE or not (as it uses the
same saved PCIE capability offset).Signed-off-by: Jon Mason
Acked-by: James Smart
Signed-off-by: James Bottomley
14 Oct, 2013
1 commit
-
Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.Signed-off-by: Jingoo Han
Cc: James Bottomley
Signed-off-by: Jiri Kosina
11 Sep, 2013
5 commits
-
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Signed-off-by: James Smart
Signed-off-by: James Bottomley