29 Oct, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (204 commits)
    [SCSI] qla4xxx: export address/port of connection (fix udev disk names)
    [SCSI] ipr: Fix BUG on adapter dump timeout
    [SCSI] megaraid_sas: Fix instance access in megasas_reset_timer
    [SCSI] hpsa: change confusing message to be more clear
    [SCSI] iscsi class: fix vlan configuration
    [SCSI] qla4xxx: fix data alignment and use nl helpers
    [SCSI] iscsi class: fix link local mispelling
    [SCSI] iscsi class: Replace iscsi_get_next_target_id with IDA
    [SCSI] aacraid: use lower snprintf() limit
    [SCSI] lpfc 8.3.27: Change driver version to 8.3.27
    [SCSI] lpfc 8.3.27: T10 additions for SLI4
    [SCSI] lpfc 8.3.27: Fix queue allocation failure recovery
    [SCSI] lpfc 8.3.27: Change algorithm for getting physical port name
    [SCSI] lpfc 8.3.27: Changed worst case mailbox timeout
    [SCSI] lpfc 8.3.27: Miscellanous logic and interface fixes
    [SCSI] megaraid_sas: Changelog and version update
    [SCSI] megaraid_sas: Add driver workaround for PERC5/1068 kdump kernel panic
    [SCSI] megaraid_sas: Add multiple MSI-X vector/multiple reply queue support
    [SCSI] megaraid_sas: Add support for MegaRAID 9360/9380 12GB/s controllers
    [SCSI] megaraid_sas: Clear FUSION_IN_RESET before enabling interrupts
    ...

    Linus Torvalds
     

22 Sep, 2011

1 commit

  • qla4xxx driver needs to be linked with libiscsi.o to fix
    build errors. This happens when no other drivers that use
    libiscsi.o are enabled.

    ERROR: "iscsi_conn_stop" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_get_addr_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_session_teardown" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_host_alloc" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_start" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_send_pdu" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_session_get_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_get_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_set_param" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_session_failure" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_complete_pdu" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_session_setup" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_bind" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_conn_setup" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!
    ERROR: "iscsi_itt_to_task" [drivers/scsi/qla4xxx/qla4xxx.ko] undefined!

    Signed-off-by: Randy Dunlap
    Reviewed-by: Mike Christie
    Cc: stable@kernel.org
    Signed-off-by: James Bottomley

    Randy Dunlap
     

27 Aug, 2011

1 commit

  • The Marvell Universal Message Interface (UMI) defines a messaging
    interface between host and Marvell products (Plato, for example). It
    considers situations of limited system resource and optimized system
    performance.
    UMI driver translates host request to message and sends message
    to FW via UMI, FW receives message and processes it, then sends response
    to UMI driver.
    FW generates an interrupt when it needs to send information or
    response to UMI driver

    Signed-off-by: Jianyun Li
    Signed-off-by: James Bottomley

    Jianyun Li
     

03 Jul, 2011

1 commit

  • Support for the up to 2x4-port 6Gb/s SAS controllers embedded in the
    chipset.

    This is a snapshot of the first publicly available version of the driver,
    commit 4c1db2d0 in the 'historical' branch.

    git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci.git historical

    Signed-off-by: Maciej Trela
    Signed-off-by: Dave Jiang
    Signed-off-by: Edmund Nadolski
    Signed-off-by: Dan Williams

    Dan Williams
     

18 Mar, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (170 commits)
    [SCSI] scsi_dh_rdac: Add MD36xxf into device list
    [SCSI] scsi_debug: add consecutive medium errors
    [SCSI] libsas: fix ata list corruption issue
    [SCSI] hpsa: export resettable host attribute
    [SCSI] hpsa: move device attributes to avoid forward declarations
    [SCSI] scsi_debug: Logical Block Provisioning (SBC3r26)
    [SCSI] sd: Logical Block Provisioning update
    [SCSI] Include protection operation in SCSI command trace
    [SCSI] hpsa: fix incorrect PCI IDs and add two new ones (2nd try)
    [SCSI] target: Fix volume size misreporting for volumes > 2TB
    [SCSI] bnx2fc: Broadcom FCoE offload driver
    [SCSI] fcoe: fix broken fcoe interface reset
    [SCSI] fcoe: precedence bug in fcoe_filter_frames()
    [SCSI] libfcoe: Remove stale fcoe-netdev entries
    [SCSI] libfcoe: Move FCOE_MTU definition from fcoe.h to libfcoe.h
    [SCSI] libfc: introduce __fc_fill_fc_hdr that accepts fc_hdr as an argument
    [SCSI] fcoe, libfc: initialize EM anchors list and then update npiv EMs
    [SCSI] Revert "[SCSI] libfc: fix exchange being deleted when the abort itself is timed out"
    [SCSI] libfc: Fixing a memory leak when destroying an interface
    [SCSI] megaraid_sas: Version and Changelog update
    ...

    Fix up trivial conflicts due to whitespace differences in
    drivers/scsi/libsas/{sas_ata.c,sas_scsi_host.c}

    Linus Torvalds
     

15 Mar, 2011

1 commit


01 Mar, 2011

1 commit

  • This driver is for Broadcom Netxtreme II 57712 chip. The following
    patch contains the driver sources for bnx2fc driver. libfc/libfcoe
    changes to enable bnx2fc have already gone through the fcoe
    tree. bnx2fc is a SCSI low level driver that interfaces with SCSI
    midlayer, libfc, libfcoe, cnic modules. bnx2fc driver uses services
    of libfc for slow path operations such as FIP and fabric
    discovery. The fast path IO perations are performed after offloading
    the session information to the underlying FCoE firmware.

    Signed-off-by: Bhanu Prakash Gollapudi
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Bhanu Gollapudi
     

06 Sep, 2010

2 commits


06 Aug, 2010

1 commit


28 Jul, 2010

1 commit

  • This patch (as1397b) converts the SCSI midlayer to use the new PM
    callbacks (struct dev_pm_ops). A new source file, scsi_pm.c, is
    created to hold the new callback routines, and the existing
    suspend/resume code is moved there.

    Signed-off-by: Alan Stern
    Signed-off-by: James Bottomley

    Alan Stern
     

01 May, 2010

1 commit


10 Dec, 2009

1 commit

  • This driver supports a subset of HP Smart Array Controllers.
    It is a SCSI alternative to the cciss driver.

    [akpm@linux-foundation.org: avoid helpful cleanup patches]
    [achiang@hp.com: make device attrs static]
    [akpm@linux-foundation.org: msleep() does set_current_state() itself]
    Signed-off-by: Stephen M. Cameron
    Signed-off-by: Mike Miller
    Signed-off-by: Alex Chiang
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Stephen M. Cameron
     

05 Dec, 2009

3 commits


02 Oct, 2009

2 commits


12 Sep, 2009

1 commit


09 Jun, 2009

1 commit

  • New iSCSI driver for Broadcom BNX2 devices. The driver interfaces with
    the CNIC driver to access the hardware.

    Signed-off-by: Anil Veerabhadrappa
    Signed-off-by: Michael Chan
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Michael Chan
     

21 May, 2009

1 commit


14 May, 2009

1 commit


03 Apr, 2009

1 commit

  • Just sets up build environment for libfcoe module towards a
    libfcoe library for libfc LLDs using FCoE as libfc transport.

    Common library code to libfcoe is added in next patch.

    Also, updated MODULE_LICENSE from "GPL" string to "GPL v2" for
    libfc, libfcoe and fcoe modules to accurately match the licenses.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     

14 Mar, 2009

1 commit

  • * This is new scsi lld device driver from LSI supporting the SAS 2.0
    standard. I have split patchs by filename.

    * Here is list of new 6gb host controllers:

    LSI SAS2004
    LSI SAS2008
    LSI SAS2108
    LSI SAS2116

    * Here are the changes in the 4th posting of this patch set:

    (1) fix compile errors when SCSI_MPT2SAS_LOGGING is not enabled
    (2) add mpt2sas to the SCSI Mid Layer Makefile
    (3) append mpt2sas_ to the naming of all non-static functions
    (4) fix oops for SMP_PASSTHRU
    (5) doorbell algorithm imported changes from windows driver

    * Here are the changes in the 3rd posting of this patch set:

    (1) add readl following writel from the function that disables interrupts
    (2) replace 0xFFFFFFFFFFFFFFFFULL with ~0ULL
    (3) when calling pci_enable_msix, only pass one msix entry (instead of 15).
    (4) remove the "current HW implementation uses..... " comment in the sources
    (5) merged bug fix for SIGIO/POLLIN notifcation; reported by the storlib team.

    * Here are the changes in the 2nd posting of this patch set:

    (1) use little endian types in the mpi headers
    (2) merged in bug fix's from inhouse drivers.

    Signed-off-by: Eric Moore
    Tested-by: peter Bogdanovic
    Signed-off-by: James Bottomley

    Eric Moore
     

13 Mar, 2009

1 commit

  • OSD in kernel source code is assumed to be at:
    drivers/scsi/osd/ with its own Makefile and Kconfig

    Add includes to them from drivers/scsi Makefile and Kconfig
    Add OSD to MAINTAINERS file

    Signed-off-by: Boaz Harrosh
    Reviewed-by: Benny Halevy
    Signed-off-by: James Bottomley

    Boaz Harrosh
     

02 Jan, 2009

1 commit

  • As planed, this removes ide-scsi.

    The 2.6 kernel supports direct writing to ide CD drives, which
    eliminates the need for ide-scsi. ide-scsi has been unmaintained and
    marked as deprecated.

    Signed-off-by: FUJITA Tomonori
    Cc: James.Bottomley@HansenPartnership.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    FUJITA Tomonori
     

31 Dec, 2008

1 commit

  • This patch implements the cxgb3i iscsi connection acceleration for the
    open-iscsi initiator.

    The cxgb3i driver offers the iscsi PDU based offload:
    - digest insertion and verification
    - payload direct-placement into host memory buffer.

    Signed-off-by: Karen Xie
    Signed-off-by: James Bottomley

    Karen Xie
     

30 Dec, 2008

3 commits

  • Encapsulation protocol for running Fibre Channel over Ethernet interfaces.
    Creates virtual Fibre Channel host adapters using libfc.

    This layer is the LLD to the scsi-ml. It allocates the Scsi_Host, utilizes
    libfc for Fibre Channel protocol processing and interacts with netdev to
    send/receive Ethernet packets.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • libFC is composed of 4 blocks supported by an exchange manager
    and a framing library. The upper 4 layers are fc_lport, fc_disc,
    fc_rport and fc_fcp. A LLD that uses libfc could choose to
    either use libfc's block, or using the transport template
    defined in libfc.h, override one or more blocks with its own
    implementation.

    The EM (Exchange Manager) manages exhcanges/sequences for all
    commands- ELS, CT and FCP.

    The framing library frames ELS and CT commands.

    The fc_lport block manages the library's representation of the
    host's FC enabled ports.

    The fc_disc block manages discovery of targets as well as
    handling changes that occur in the FC fabric (via. RSCN events).

    The fc_rport block manages the library's representation of other
    entities in the FC fabric. Currently the library uses this block
    for targets, its peer when in point-to-point mode and the
    directory server, but can be extended for other entities if
    needed.

    The fc_fcp block interacts with the scsi-ml and handles all
    I/O.

    Signed-off-by: Robert Love
    [jejb: added include of delay.h to fix ppc64 compile prob spotted by sfr]
    Signed-off-by: James Bottomley

    Robert Love
     
  • This hooks iscsi_tcp into the libiscsi_tcp module and removes
    code that is now in libiscsi_tcp.

    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Mike Christie
     

27 Jul, 2008

1 commit

  • Support for controllers and disks that implement DIF protection
    information:

    - During command preparation the RDPROTECT/WRPROTECT must be set
    correctly if the target has DIF enabled.

    - READ(6) and WRITE(6) are not supported when DIF is on.

    - The controller must be told how to handle the I/O via the
    protection operation field in scsi_cmnd.

    - Refactor the I/O completion code that extracts failed LBA from the
    returned sense data and handle DIF failures correctly.

    - sd_dif.c implements the functions required to prepare and complete
    requests with protection information attached.

    Signed-off-by: Martin K. Petersen
    Signed-off-by: James Bottomley

    Martin K. Petersen
     

12 Jul, 2008

1 commit


05 Jun, 2008

1 commit

  • Some of the storage devices (that can be accessed through multiple paths),
    do need some special handling for
    1. Activating the passive path of the storage access.
    2. Decode and handle the special sense codes returned by the devices.
    3. Handle the I/Os being sent to the passive path, especially
    during the device probe time.
    when accessed through multiple paths.

    As of today this special device handling is done at the dm-multipath
    layer using dm-handlers. That works well for (1); for (2) to be handled
    at dm layer, scsi sense information need to be exported from SCSI to dm-layer,
    which is not very attractive; (3) cannot be done at all at the dm layer.

    Device handler has been moved to SCSI mainly to handle (2) and (3) properly.

    Signed-off-by: Chandra Seetharaman
    Signed-off-by: Mike Anderson
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Chandra Seetharaman
     

28 Apr, 2008

1 commit

  • Replace the mac_esp driver with a new one based on the esp_scsi core.

    For esp_scsi: add support for sync transfers for the PIO mode, add a new
    esp_driver_ops method to get the maximum dma transfer size (like the old
    NCR53C9x driver), and some cleanups.

    Signed-off-by: Finn Thain
    Acked-by: David S. Miller
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: James Bottomley

    Finn Thain
     

23 Feb, 2008

1 commit


08 Feb, 2008

5 commits

  • This adds support to SCSI for enclosure services devices. It also makes
    use of the enclosure services added in an earlier patch to display the
    enclosure topology in sysfs.

    At the moment, the enclosures are SAS specific, but if anyone actually
    has a non-SAS enclosure that follows the SES-2 standard, we can add that
    as well.

    On my Vitesse based system, the enclosures show up like this:

    sparkweed:~# ls -l /sys/class/enclosure/0\:0\:1\:0/
    total 0
    -r--r--r-- 1 root root 4096 2008-02-03 15:44 components
    lrwxrwxrwx 1 root root 0 2008-02-03 15:44 device -> ../../../devices/pci0000:01/0000:01:02.0/host0/port-0:0/expander-0:0/port-0:0:12/end_device-0:0:12/target0:0:1/0:0:1:0
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 000
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 001
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 002
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 003
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 004
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 005
    lrwxrwxrwx 1 root root 0 2008-02-03 15:44 subsystem -> ../../enclosure
    --w------- 1 root root 4096 2008-02-03 15:44 uevent

    And the individual occupied slots like this:

    sparkweed:~# ls -l /sys/class/enclosure/0\:0\:1\:0/SLOT\ 001/
    total 0
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 active
    lrwxrwxrwx 1 root root 0 2008-02-03 15:45 device -> ../../../../devices/pci0000:01/0000:01:02.0/host0/port-0:0/expander-0:0/port-0:0:11/end_device-0:0:11/target0:0:0/0:0:0:0
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 fault
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 locate
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 status
    lrwxrwxrwx 1 root root 0 2008-02-03 15:45 subsystem -> ../../../enclosure_component
    -r--r--r-- 1 root root 4096 2008-02-03 15:45 type
    --w------- 1 root root 4096 2008-02-03 15:45 uevent

    You can flash the various blinky lights by echoing to the fault and locate files.

    >From the device's point of view, you can see it has an enclosure like this:

    sparkweed:~# ls /sys/class/scsi_disk/0\:0\:0\:0/device/
    block:sda generic queue_depth state
    bsg:0:0:0:0 iocounterbits queue_type subsystem
    bus iodone_cnt rescan timeout
    delete ioerr_cnt rev type
    device_blocked iorequest_cnt scsi_device:0:0:0:0 uevent
    driver modalias scsi_disk:0:0:0:0 vendor
    enclosure_component:SLOT 001 model scsi_generic:sg0
    evt_media_change power scsi_level

    Note the enclosure_component:SLOT 001 which shows where in the enclosure
    this device fits.

    The astute will notice that I'm using SCSI VPD Inquiries to identify the
    devices. This, unfortunately, won't work for SATA devices unless we do
    some really nasty hacking about on the SAT because the only think that
    knows the SAS addresses for SATA devices is libsas, not libata where the
    SAT resides.

    Signed-off-by: James Bottomley

    James Bottomley
     
  • These drivers depend on the deprecated NCR53C9X core and need to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Cc: Linux/m68k
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This driver depends on the deprecated NCR53C9X core and needs to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Cc: "Maciej W. Rozycki"
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This driver depends on the deprecated NCR53C9X core and needs to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    James Bottomley
     
  • Converted sun3x_esp driver to use esp_scsi.c

    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: James Bottomley

    Thomas Bogendoerfer