17 Jul, 2019

1 commit


19 Jun, 2019

4 commits


06 Feb, 2019

1 commit


18 Oct, 2018

2 commits


16 Aug, 2018

1 commit

  • Pull SCSI updates from James Bottomley:
    "This is mostly updates to the usual drivers: mpt3sas, lpfc, qla2xxx,
    hisi_sas, smartpqi, megaraid_sas, arcmsr.

    In addition, with the continuing absence of Nic we have target updates
    for tcmu and target core (all with reviews and acks).

    The biggest observable change is going to be that we're (again) trying
    to switch to mulitqueue as the default (a user can still override the
    setting on the kernel command line).

    Other major core stuff is the removal of the remaining Microchannel
    drivers, an update of the internal timers and some reworks of
    completion and result handling"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (203 commits)
    scsi: core: use blk_mq_run_hw_queues in scsi_kick_queue
    scsi: ufs: remove unnecessary query(DM) UPIU trace
    scsi: qla2xxx: Fix issue reported by static checker for qla2x00_els_dcmd2_sp_done()
    scsi: aacraid: Spelling fix in comment
    scsi: mpt3sas: Fix calltrace observed while running IO & reset
    scsi: aic94xx: fix an error code in aic94xx_init()
    scsi: st: remove redundant pointer STbuffer
    scsi: qla2xxx: Update driver version to 10.00.00.08-k
    scsi: qla2xxx: Migrate NVME N2N handling into state machine
    scsi: qla2xxx: Save frame payload size from ICB
    scsi: qla2xxx: Fix stalled relogin
    scsi: qla2xxx: Fix race between switch cmd completion and timeout
    scsi: qla2xxx: Fix Management Server NPort handle reservation logic
    scsi: qla2xxx: Flush mailbox commands on chip reset
    scsi: qla2xxx: Fix unintended Logout
    scsi: qla2xxx: Fix session state stuck in Get Port DB
    scsi: qla2xxx: Fix redundant fc_rport registration
    scsi: qla2xxx: Silent erroneous message
    scsi: qla2xxx: Prevent sysfs access when chip is down
    scsi: qla2xxx: Add longer window for chip reset
    ...

    Linus Torvalds
     

03 Aug, 2018

1 commit


11 Jul, 2018

2 commits

  • The NCR QUAD 720 SCSI driver depends on microchannel support, but
    microchannel support was removed from the kernel with commit bb8187d35f82
    ("MCA: delete all remaining traces of microchannel bus support.") over 6
    years ago.

    So zap the Q720 SCSI driver as well.

    Signed-off-by: Johannes Thumshirn
    Reviewed-by: Hannes Reinecke
    Acked-by: James E.J. Bottomley
    Signed-off-by: Martin K. Petersen

    Johannes Thumshirn
     
  • The NCR DUAL 700 SCSI driver depends on microchannel support, but
    microchannel support was removed from the kernel with commit bb8187d35f82
    ("MCA: delete all remaining traces of microchannel bus support.") over 6
    years ago.

    So zap the D700 SCSI driver as well.

    Signed-off-by: Johannes Thumshirn
    Reviewed-by: Hannes Reinecke
    Acked-by: James E.J. Bottomley
    Signed-off-by: Martin K. Petersen

    Johannes Thumshirn
     

11 Jun, 2018

1 commit

  • Pull SCSI updates from James Bottomley:
    "This is mostly updates to the usual drivers: ufs, qedf, mpt3sas, lpfc,
    xfcp, hisi_sas, cxlflash, qla2xxx.

    In the absence of Nic, we're also taking target updates which are
    mostly minor except for the tcmu refactor.

    The only real core change to worry about is the removal of high page
    bouncing (in sas, storvsc and iscsi). This has been well tested and no
    problems have shown up so far"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (268 commits)
    scsi: lpfc: update driver version to 12.0.0.4
    scsi: lpfc: Fix port initialization failure.
    scsi: lpfc: Fix 16gb hbas failing cq create.
    scsi: lpfc: Fix crash in blk_mq layer when executing modprobe -r lpfc
    scsi: lpfc: correct oversubscription of nvme io requests for an adapter
    scsi: lpfc: Fix MDS diagnostics failure (Rx < Tx)
    scsi: hisi_sas: Mark PHY as in reset for nexus reset
    scsi: hisi_sas: Fix return value when get_free_slot() failed
    scsi: hisi_sas: Terminate STP reject quickly for v2 hw
    scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command
    scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot
    scsi: hisi_sas: Try wait commands before before controller reset
    scsi: hisi_sas: Init disks after controller reset
    scsi: hisi_sas: Create a scsi_host_template per HW module
    scsi: hisi_sas: Reset disks when discovered
    scsi: hisi_sas: Add LED feature for v3 hw
    scsi: hisi_sas: Change common allocation mode of device id
    scsi: hisi_sas: change slot index allocation mode
    scsi: hisi_sas: Introduce hisi_sas_phy_set_linkrate()
    scsi: hisi_sas: fix a typo in hisi_sas_task_prep()
    ...

    Linus Torvalds
     

15 May, 2018

1 commit

  • "make clean" should remove the generated file "scsi_devinfo_tbl.c", so
    list it in the clean-files variable so that the file gets cleaned up.

    Fixes: 345e29608b4b ("scsi: scsi: Export blacklist flags to sysfs")
    Cc: Hannes Reinecke
    Signed-off-by: Randy Dunlap
    Reviewed-by: Hannes Reinecke
    Signed-off-by: Martin K. Petersen

    Randy Dunlap
     

21 Apr, 2018

1 commit


19 Apr, 2018

1 commit

  • New combined SCSI driver for all ESP based Zorro SCSI boards for m68k Amiga.

    Code largely based on board specific parts of the old drivers (blz1230.c,
    blz2060.c, cyberstorm.c, cyberstormII.c, fastlane.c which were removed after
    the 2.6 kernel series for lack of maintenance) with contributions by Tuomas
    Vainikka (TCQ bug tests and workaround) and Finn Thain (TCQ bugfix by use of
    PIO in extended message in transfer).

    New Kconfig option and Makefile entries for new Amiga Zorro ESP SCSI driver
    included in this patch.

    Use DMA transfers wherever possible, with board-specific DMA set-up functions
    copied from the old driver code. Three byte reselection messages do appear to
    cause DMA timeouts. So wire up a PIO transfer routine for these
    instead. esp_reselect_with_tag explicitly sets
    esp->cmd_block_dma as target address for the message bytes but PIO
    requires a virtual address. Substiute kernel virtual address
    esp->cmd_block in PIO transfer call if DMA address is esp->cmd_block_dma
    and phase is message in.

    PIO code taken from mac_esp.c where the reselection timeout issue was debugged
    and fixed first, with minor macro and function rename.

    Signed-off-by: Michael Schmitz
    Reviewed-by: Finn Thain
    Reviewed-by: Christoph Hellwig
    Tested-by: Christian T. Steigies
    Tested-by: John Paul Adrian Glaubitz
    Signed-off-by: Martin K. Petersen

    Michael Schmitz
     

04 Apr, 2018

1 commit

  • Somewhat nasty merge due to conflicts between "33b28357dd00 scsi:
    qla2xxx: Fix Async GPN_FT for FCP and FC-NVMe scan" and "2b5b96473efc
    scsi: qla2xxx: Fix FC-NVMe LUN discovery"

    Merge is non-trivial and has been verified by Qlogic (Cavium)

    Signed-off-by: James E.J. Bottomley

    James Bottomley
     

20 Mar, 2018

3 commits


15 Mar, 2018

1 commit


31 Jan, 2018

1 commit


15 Nov, 2017

1 commit

  • Pull SCSI updates from James Bottomley:
    "This is mostly updates of the usual suspects: lpfc, qla2xxx, hisi_sas,
    megaraid_sas, pm80xx, mpt3sas, be2iscsi, hpsa. and a host of minor
    updates.

    There's no major behaviour change or additions to the core in all of
    this, so the potential for regressions should be small (biggest
    potential being in the scsi error handler changes)"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (203 commits)
    scsi: lpfc: Fix hard lock up NMI in els timeout handling.
    scsi: mpt3sas: remove a stray KERN_INFO
    scsi: mpt3sas: cleanup _scsih_pcie_enumeration_event()
    scsi: aacraid: use timespec64 instead of timeval
    scsi: scsi_transport_fc: add 64GBIT and 128GBIT port speed definitions
    scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair()
    scsi: mpt3sas: fix dma_addr_t casts
    scsi: be2iscsi: Use kasprintf
    scsi: storvsc: Avoid excessive host scan on controller change
    scsi: lpfc: fix kzalloc-simple.cocci warnings
    scsi: mpt3sas: Update mpt3sas driver version.
    scsi: mpt3sas: Fix sparse warnings
    scsi: mpt3sas: Fix nvme drives checking for tlr.
    scsi: mpt3sas: NVMe drive support for BTDHMAPPING ioctl command and log info
    scsi: mpt3sas: Add-Task-management-debug-info-for-NVMe-drives.
    scsi: mpt3sas: scan and add nvme device after controller reset
    scsi: mpt3sas: Set NVMe device queue depth as 128
    scsi: mpt3sas: Handle NVMe PCIe device related events generated from firmware.
    scsi: mpt3sas: API's to remove nvme drive from sml
    scsi: mpt3sas: API 's to support NVMe drive addition to SML
    ...

    Linus Torvalds
     

02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

17 Oct, 2017

1 commit

  • Each scsi device is scanned according to the found blacklist flags, but
    this information is never presented to sysfs. This makes it quite hard
    to figure out if blacklisting worked as expected. With this patch we're
    exporting an additional attribute 'blacklist' containing the blacklist
    flags for this device.

    Signed-off-by: Hannes Reinecke
    Reviewed-by: Bart Van Assche
    Reviewed-by: Johannes Thumshirn
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

27 Apr, 2017

1 commit

  • Show the SCSI CDB for pending SCSI commands in
    /sys/kernel/debug/block/*/mq/*/dispatch and */rq_list. An example
    of how SCSI commands are displayed by this code:

    ffff8801703245c0 {.op=READ, .cmd_flags=META PRIO, .rq_flags=DONTPREP IO_STAT STATS, .tag=14, .internal_tag=-1, .cmd=Read(10) 28 00 2a 81 1b 30 00 00 08 00}

    Signed-off-by: Bart Van Assche
    Reviewed-by: Omar Sandoval
    Cc: Martin K. Petersen
    Cc: James Bottomley
    Cc: Hannes Reinecke
    Cc:
    Signed-off-by: Jens Axboe

    Bart Van Assche
     

23 Feb, 2017

1 commit

  • The QLogic FastLinQ Driver for FCoE (qedf) is the FCoE specific module
    for 41000 Series Converged Network Adapters by QLogic. This patch
    consists of following changes:

    - MAINTAINERS Makefile and Kconfig changes for qedf
    - PCI driver registration
    - libfc/fcoe host level initialization
    - SCSI host template initialization and callbacks
    - Debugfs and log level infrastructure
    - Link handling
    - Firmware interface structures
    - QED core module initialization
    - Light L2 interface callbacks
    - I/O request initialization
    - Firmware I/O completion handling
    - Firmware ELS request/response handling
    - FIP request/response handled by the driver itself

    Signed-off-by: Nilesh Javali
    Signed-off-by: Manish Rangankar
    Signed-off-by: Saurav Kashyap
    Signed-off-by: Arun Easi
    Signed-off-by: Chad Dupuis
    Signed-off-by: Martin K. Petersen

    Dupuis, Chad
     

15 Dec, 2016

2 commits

  • The QLogic FastLinQ Driver for iSCSI (qedi) is the iSCSI specific module
    for 41000 Series Converged Network Adapters by QLogic.

    This patch consists of following changes:

    - MAINTAINERS Makefile and Kconfig changes for qedi,
    - PCI driver registration,
    - iSCSI host level initialization,
    - Debugfs and log level infrastructure.

    The following indiviual changes are merged into this commit:

    qedi: Add LL2 iSCSI interface for offload iSCSI.
    qedi: Add support for iSCSI session management.
    qedi: Add support for data path.

    Signed-off-by: Nilesh Javali
    Signed-off-by: Adheer Chandravanshi
    Signed-off-by: Chad Dupuis
    Signed-off-by: Saurav Kashyap
    Signed-off-by: Arun Easi
    Signed-off-by: Manish Rangankar
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Martin K. Petersen
    Signed-off-by: Martin K. Petersen

    Manish Rangankar
     
  • Pull SCSI updates from James Bottomley:
    "This update includes the usual round of major driver updates (ncr5380,
    lpfc, hisi_sas, megaraid_sas, ufs, ibmvscsis, mpt3sas).

    There's also an assortment of minor fixes, mostly in error legs or
    other not very user visible stuff. The major change is the
    pci_alloc_irq_vectors replacement for the old pci_msix_.. calls; this
    effectively makes IRQ mapping generic for the drivers and allows
    blk_mq to use the information"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (256 commits)
    scsi: qla4xxx: switch to pci_alloc_irq_vectors
    scsi: hisi_sas: support deferred probe for v2 hw
    scsi: megaraid_sas: switch to pci_alloc_irq_vectors
    scsi: scsi_devinfo: remove synchronous ALUA for NETAPP devices
    scsi: be2iscsi: set errno on error path
    scsi: be2iscsi: set errno on error path
    scsi: hpsa: fallback to use legacy REPORT PHYS command
    scsi: scsi_dh_alua: Fix RCU annotations
    scsi: hpsa: use %phN for short hex dumps
    scsi: hisi_sas: fix free'ing in probe and remove
    scsi: isci: switch to pci_alloc_irq_vectors
    scsi: ipr: Fix runaway IRQs when falling back from MSI to LSI
    scsi: dpt_i2o: double free on error path
    scsi: cxlflash: Migrate scsi command pointer to AFU command
    scsi: cxlflash: Migrate IOARRIN specific routines to function pointers
    scsi: cxlflash: Cleanup queuecommand()
    scsi: cxlflash: Cleanup send_tmf()
    scsi: cxlflash: Remove AFU command lock
    scsi: cxlflash: Wait for active AFU commands to timeout upon tear down
    scsi: cxlflash: Remove private command pool
    ...

    Linus Torvalds
     

09 Nov, 2016

1 commit


19 Oct, 2016

1 commit

  • Implement ZBC support functions to setup zoned disks, both
    host-managed and host-aware models. Only zoned disks that satisfy
    the following conditions are supported:
    1) All zones are the same size, with the exception of an eventual
    last smaller runt zone.
    2) For host-managed disks, reads are unrestricted (reads are not
    failed due to zone or write pointer alignement constraints).
    Zoned disks that do not satisfy these 2 conditions are setup with
    a capacity of 0 to prevent their use.

    The function sd_zbc_read_zones, called from sd_revalidate_disk,
    checks that the device satisfies the above two constraints. This
    function may also change the disk capacity previously set by
    sd_read_capacity for devices reporting only the capacity of
    conventional zones at the beginning of the LBA range (i.e. devices
    reporting rc_basis set to 0).

    The capacity message output was moved out of sd_read_capacity into
    a new function sd_print_capacity to include this eventual capacity
    change by sd_zbc_read_zones. This new function also includes a call
    to sd_zbc_print_zones to display the number of zones and zone size
    of the device.

    Signed-off-by: Hannes Reinecke

    [Damien: * Removed zone cache support
    * Removed mapping of discard to reset write pointer command
    * Modified sd_zbc_read_zones to include checks that the
    device satisfies the kernel constraints
    * Implemeted REPORT ZONES setup and post-processing based
    on code from Shaun Tancheff
    * Removed confusing use of 512B sector units in functions
    interface]
    Signed-off-by: Damien Le Moal
    Reviewed-by: Christoph Hellwig
    Reviewed-by: Shaun Tancheff
    Tested-by: Shaun Tancheff
    Acked-by: Martin K. Petersen
    Signed-off-by: Jens Axboe

    Hannes Reinecke
     

27 Sep, 2016

7 commits

  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     

13 Aug, 2016

1 commit

  • This initial commit contains Microsemi's smartpqi module.

    [mkp: Minor tweaks to apply to 4.9/scsi-queue]

    Reviewed-by: Scott Benesh
    Reviewed-by: Kevin Barnett
    Signed-off-by: Kevin Barnett
    Signed-off-by: Don Brace
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Ewan D. Milne
    Signed-off-by: Martin K. Petersen

    Kevin Barnett
     

20 Jul, 2016

1 commit

  • This driver is a pick up of the old IBM VIO scsi Target Driver
    that was started by Nick and Fujita 2-4 years ago.
    http://comments.gmane.org/gmane.linux.scsi/90119

    The driver provides a virtual SCSI device on IBM Power Servers.

    This patch contains the fifth version for an initial merge of the
    tcm ibmvscsis driver. More information on this driver and config
    can be found:

    https://github.com/powervm/ibmvscsis/wiki/Configuration
    http://www.linux-iscsi.org/wiki/IBM_vSCSI

    (Drop extra libsrp review breakage + Fix kconfig typo - nab)

    Signed-off-by: Steven Royer
    Signed-off-by: Tyrel Datwyler
    Signed-off-by: Michael Cyr
    Signed-off-by: Bryant G. Ly
    Cc: FUJITA Tomonori
    Signed-off-by: Nicholas Bellinger

    Bryant G. Ly