diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-12 21:57:01 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-12 21:57:01 -0400 |
| commit | 6a5a3d6a4adde0c66f3be29bbd7c0d6ffb7e1a40 (patch) | |
| tree | ae416ffa4458df755f984a05d65ee1c3e220c40b | |
| parent | 8bbbfa70549bd84f29ff331d0ac051897ccbbd72 (diff) | |
| parent | 5c1b10ab7f93d24f29b5630286e323d1c5802d5c (diff) | |
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull misc SCSI updates from James Bottomley:
"This is an assorted set of stragglers into the merge window with
driver updates for megaraid_sas, lpfc, bfi and mvumi. It also
includes some fairly major fixes for virtio-scsi (scatterlist init),
scsi_debug (off by one error), storvsc (use after free) and qla2xxx
(potential deadlock).
Signed-off-by: James Bottomley <JBottomley@Parallels.com>"
* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (49 commits)
[SCSI] storvsc: Account for in-transit packets in the RESET path
[SCSI] qla2xxx: fix potential deadlock on ha->hardware_lock
[SCSI] scsi_debug: Fix off-by-one bug when unmapping region
[SCSI] Shorten the path length of scsi_cmd_to_driver()
[SCSI] virtio-scsi: support online resizing of disks
[SCSI] virtio-scsi: fix LUNs greater than 255
[SCSI] virtio-scsi: initialize scatterlist structure
[SCSI] megaraid_sas: Version, Changelog, Copyright update
[SCSI] megaraid_sas: Remove duplicate code
[SCSI] megaraid_sas: Add SystemPD FastPath support
[SCSI] megaraid_sas: Add array boundary check for SystemPD
[SCSI] megaraid_sas: Load io_request DataLength in bytes
[SCSI] megaraid_sas: Add module param for configurable MSI-X vector count
[SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls
[SCSI] lpfc 8.3.35: Update lpfc version for 8.3.35 driver release
[SCSI] lpfc 8.3.35: Fixed not reporting logical link speed to SCSI midlayer when QoS not on
[SCSI] lpfc 8.3.35: Fix error with fabric service parameters causing performance issues
[SCSI] lpfc 8.3.35: Fixed SCSI host create showing wrong link speed on SLI3 HBA ports
[SCSI] lpfc 8.3.35: Fixed not checking solicition in progress bit when verifying FCF record for use
[SCSI] lpfc 8.3.35: Fixed messages for misconfigured port errors
...
58 files changed, 4274 insertions, 747 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-fcoe b/Documentation/ABI/testing/sysfs-bus-fcoe index 469d09c02f6b..50e2a80ea28f 100644 --- a/Documentation/ABI/testing/sysfs-bus-fcoe +++ b/Documentation/ABI/testing/sysfs-bus-fcoe | |||
| @@ -9,19 +9,19 @@ Attributes: | |||
| 9 | this value will change the dev_loss_tmo for all | 9 | this value will change the dev_loss_tmo for all |
| 10 | FCFs discovered by this controller. | 10 | FCFs discovered by this controller. |
| 11 | 11 | ||
| 12 | lesb_link_fail: Link Error Status Block (LESB) link failure count. | 12 | lesb/link_fail: Link Error Status Block (LESB) link failure count. |
| 13 | 13 | ||
| 14 | lesb_vlink_fail: Link Error Status Block (LESB) virtual link | 14 | lesb/vlink_fail: Link Error Status Block (LESB) virtual link |
| 15 | failure count. | 15 | failure count. |
| 16 | 16 | ||
| 17 | lesb_miss_fka: Link Error Status Block (LESB) missed FCoE | 17 | lesb/miss_fka: Link Error Status Block (LESB) missed FCoE |
| 18 | Initialization Protocol (FIP) Keep-Alives (FKA). | 18 | Initialization Protocol (FIP) Keep-Alives (FKA). |
| 19 | 19 | ||
| 20 | lesb_symb_err: Link Error Status Block (LESB) symbolic error count. | 20 | lesb/symb_err: Link Error Status Block (LESB) symbolic error count. |
| 21 | 21 | ||
| 22 | lesb_err_block: Link Error Status Block (LESB) block error count. | 22 | lesb/err_block: Link Error Status Block (LESB) block error count. |
| 23 | 23 | ||
| 24 | lesb_fcs_error: Link Error Status Block (LESB) Fibre Channel | 24 | lesb/fcs_error: Link Error Status Block (LESB) Fibre Channel |
| 25 | Serivces error count. | 25 | Serivces error count. |
| 26 | 26 | ||
| 27 | Notes: ctlr_X (global increment starting at 0) | 27 | Notes: ctlr_X (global increment starting at 0) |
diff --git a/Documentation/scsi/ChangeLog.megaraid_sas b/Documentation/scsi/ChangeLog.megaraid_sas index 3a3079411a3d..da03146c182a 100644 --- a/Documentation/scsi/ChangeLog.megaraid_sas +++ b/Documentation/scsi/ChangeLog.megaraid_sas | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | Release Date : Mon. Oct 1, 2012 17:00:00 PST 2012 - | ||
| 2 | (emaild-id:megaraidlinux@lsi.com) | ||
| 3 | Adam Radford | ||
| 4 | Current Version : 06.504.01.00-rc1 | ||
| 5 | Old Version : 00.00.06.18-rc1 | ||
| 6 | 1. Removed un-needed completion_lock spinlock calls. | ||
| 7 | 2. Add module param for configurable MSI-X vector count. | ||
| 8 | 3. Load io_request DataLength in bytes. | ||
| 9 | 4. Add array boundary check for SystemPD. | ||
| 10 | 5. Add SystemPD FastPath support. | ||
| 11 | 6. Remove duplicate code. | ||
| 12 | 7. Version, Changelog, Copyright update. | ||
| 13 | ------------------------------------------------------------------------------- | ||
| 1 | Release Date : Tue. Jun 17, 2012 17:00:00 PST 2012 - | 14 | Release Date : Tue. Jun 17, 2012 17:00:00 PST 2012 - |
| 2 | (emaild-id:megaraidlinux@lsi.com) | 15 | (emaild-id:megaraidlinux@lsi.com) |
| 3 | Adam Radford/Kashyap Desai | 16 | Adam Radford/Kashyap Desai |
diff --git a/drivers/scsi/bfa/bfa_core.c b/drivers/scsi/bfa/bfa_core.c index b7c326f7a6d0..342d7d9c0997 100644 --- a/drivers/scsi/bfa/bfa_core.c +++ b/drivers/scsi/bfa/bfa_core.c | |||
| @@ -165,6 +165,16 @@ bfa_com_phy_attach(struct bfa_s *bfa, bfa_boolean_t mincfg) | |||
| 165 | bfa_phy_memclaim(phy, phy_dma->kva_curp, phy_dma->dma_curp, mincfg); | 165 | bfa_phy_memclaim(phy, phy_dma->kva_curp, phy_dma->dma_curp, mincfg); |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | static void | ||
| 169 | bfa_com_fru_attach(struct bfa_s *bfa, bfa_boolean_t mincfg) | ||
| 170 | { | ||
| 171 | struct bfa_fru_s *fru = BFA_FRU(bfa); | ||
| 172 | struct bfa_mem_dma_s *fru_dma = BFA_MEM_FRU_DMA(bfa); | ||
| 173 | |||
| 174 | bfa_fru_attach(fru, &bfa->ioc, bfa, bfa->trcmod, mincfg); | ||
| 175 | bfa_fru_memclaim(fru, fru_dma->kva_curp, fru_dma->dma_curp, mincfg); | ||
| 176 | } | ||
| 177 | |||
| 168 | /* | 178 | /* |
| 169 | * BFA IOC FC related definitions | 179 | * BFA IOC FC related definitions |
| 170 | */ | 180 | */ |
| @@ -274,6 +284,15 @@ bfa_iocfc_sm_initing(struct bfa_iocfc_s *iocfc, enum iocfc_event event) | |||
| 274 | case IOCFC_E_IOC_ENABLED: | 284 | case IOCFC_E_IOC_ENABLED: |
| 275 | bfa_fsm_set_state(iocfc, bfa_iocfc_sm_dconf_read); | 285 | bfa_fsm_set_state(iocfc, bfa_iocfc_sm_dconf_read); |
| 276 | break; | 286 | break; |
| 287 | |||
| 288 | case IOCFC_E_DISABLE: | ||
| 289 | bfa_fsm_set_state(iocfc, bfa_iocfc_sm_disabling); | ||
| 290 | break; | ||
| 291 | |||
| 292 | case IOCFC_E_STOP: | ||
| 293 | bfa_fsm_set_state(iocfc, bfa_iocfc_sm_stopping); | ||
| 294 | break; | ||
| 295 | |||
| 277 | case IOCFC_E_IOC_FAILED: | 296 | case IOCFC_E_IOC_FAILED: |
| 278 | bfa_fsm_set_state(iocfc, bfa_iocfc_sm_init_failed); | ||
