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

    James Smart
     

06 Jun, 2015

3 commits


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

    James Smart
     
  • 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

    James Smart
     
  • Signed-off-by: Dick Kennedy
    Signed-off-by: James Smart
    Reviewed-by: Hannes Reinecke
    Signed-off-by: James Bottomley

    James Smart
     
  • Signed-off-by: Dick Kennedy
    Signed-off-by: James Smart
    Reviewed-by: Hannes Reinecke
    Signed-off-by: James Bottomley

    James Smart
     
  • 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

    James Smart
     
  • 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

    James Smart
     
  • Signed-off-by: Dick Kennedy
    Signed-off-by: James Smart
    Reviewed-by: Hannes Reinecke
    Signed-off-by: James Bottomley

    James Smart
     

17 Sep, 2014

7 commits


29 Jul, 2014

1 commit


03 Jun, 2014

8 commits


16 Mar, 2014

5 commits


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
    ...

    Linus Torvalds
     

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

    Jon Mason
     

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

    Jingoo Han
     

11 Sep, 2013

5 commits