linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] first round of SCSI updates for the 4.6+ merge window
@ 2016-05-18 11:19 James Bottomley
  2016-05-29 18:02 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: James Bottomley @ 2016-05-18 11:19 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-scsi, linux-kernel

This patch includes the usual quota of driver updates (bnx2fc, mp3sas,
hpsa, ncr5380, lpfc, hisi_sas, snic, aacraid, megaraid_sas) there's
also a multiqueue update for scsi_debug, assorted bug fixes and a few
other minor updates (refactor of scsi_sg_pools into generic code, alua
and VPD updates, and struct timeval conversions).

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc

The short changelog is:

lexey Khoroshilov (1):
      mptsas: fix checks for dma mapping errors

Andy Lutomirski (1):
      megaraid_sas: Downgrade two success messages to info

Bart Van Assche (8):
      scsi_dh_alua: Declare local functions static
      scsi_transport_iscsi: Declare local symbols static
      scsi_transport_iscsi: Unexport iscsi_is_flashnode_conn_dev()
      scsi_transport_iscsi: Remove set-but-not-used variables
      libiscsi: Remove set-but-not-used variables
      libiscsi: Unexport iscsi_eh_target_reset()
      qla2xxx: Indicate out-of-memory with -ENOMEM
      scsi_transport_fc: Unexport scsi_is_fc_vport()

Chad Dupuis (4):
      bnx2fc: Update version number to 2.10.3.
      bnx2fc: Check sc_cmd device and host pointer before returning the command to the mid-layer.
      bnx2fc: Print netdev device name when FCoE is successfully initialized.
      bnx2fc: Print when we send a fip keep alive.

Chaitra P B (6):
      mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs
      mpt3sas: Set maximum transfer length per IO to 4MB for VDs
      mpt3sas: Updating mpt3sas driver version to 13.100.00.00
      mpt3sas: Fix initial Reference tag field for 4K PI drives.
      mpt3sas: Handle active cable exception event
      mpt3sas: Update MPI header to 2.00.42

Dan Carpenter (4):
      eata_pio: missing break statement
      bfa: fix bfa_fcb_itnim_alloc() error handling
      bnx2i: silence uninitialized variable warnings
      hpsa: set the enclosure identifier to zero

David Daney (1):
      pm80xx: Remove bogus address masking in pm8001_ioremap()

Don Brace (6):
      hpsa: update driver version
      hpsa: correct handling of HBA device removal
      hpsa: correct ioaccel2 error procecssing.
      hpsa: correct ioaccel state change operation
      hpsa: add timeouts for driver initiated commands
      hpsa: correct initialization order issue

Douglas Gilbert (13):
      scsi_debug: use locally assigned naa
      scsi_debug: uuid for lu name
      scsi_debug: vpd and mode page work
      scsi_debug: add multiple queue support
      scsi_debug: rework resp_report_luns
      scsi_debug: use pdt constants
      scsi_debug: use likely hints on fast path
      scsi_debug: re-order file scope declarations
      scsi_debug: replace tasklet with work queue
      scsi_debug: make jiffy delay name clearer
      scsi_debug: replace jiffy timers with hr timers
      scsi_debug: ignore host lock option
      scsi_debug: cleanup naming and bit crunching

Finn Thain (24):
      MAINTAINERS: Update the file list for the NCR 5380 entry
      ncr5380: Call complete_cmd() for disconnected commands on bus reset
      mac_scsi: Fix pseudo DMA implementation
      atari_scsi: Allow can_queue to be increased for Falcon
      atari_scsi: Set a reasonable default for cmd_per_lun
      ncr5380: Update usage documentation
      ncr5380: Remove DONT_USE_INTR and AUTOPROBE_IRQ macros
      ncr5380: Remove remaining register storage qualifiers
      ncr5380: Fix register decoding for debugging
      dmx3191d: Drop max_sectors limit
      ncr5380: Reduce max_lun limit
      ncr5380: Remove disused atari_NCR5380.c core driver
      sun3_scsi: Adopt NCR5380.c core driver
      atari_scsi: Adopt NCR5380.c core driver
      ncr5380: Merge DMA implementation from atari_NCR5380 core driver
      ncr5380: Adopt uniform DMA setup convention
      ncr5380: Use DMA hooks for PDMA
      ncr5380: Remove BOARD_REQUIRES_NO_DELAY macro
      ncr5380: Remove PSEUDO_DMA macro
      ncr5380: Disable the DMA errata workaround flag by default
      atari_NCR5380: Remove DMA_MIN_SIZE macro
      ncr5380: Remove REAL_DMA and REAL_DMA_POLL macros
      ncr5380: Remove FLAG_NO_PSEUDO_DMA where possible
      g_ncr5380: Remove CONFIG_SCSI_GENERIC_NCR53C400

Hannes Reinecke (8):
      scsi_lib: Decode T10 vendor IDs
      scsi_dh_alua: do not fail for unknown VPD identification
      zfcp: Revert to original scanning behaviour
      scsi: vpd pages are mandatory for SPC-2
      scsi-trace: define ZBC_IN and ZBC_OUT
      scsi-trace: Decode MAINTENANCE_IN and MAINTENANCE_OUT commands
      scsi-trace: remove service action definitions
      scsi: disable automatic target scan

James Smart (9):
      lpfc: Update driver version to 11.1.0.0
      lpfc: Update modified file copyrights
      lpfc: Fix interaction between fdmi_on and enable_SmartSAN
      lpfc: Add support for SmartSAN 2.0
      lpfc: Fix Device discovery failures during switch reboot test.
      lpfc: Utilize embedded CDB logic to minimize IO latency
      lpfc: Fix crash when unregistering default rpi.
      lpfc: Fix DMA faults observed upon plugging loopback connector
      lpfc: Correct LOGO handling during login

Joe Carnuccio (1):
      bnx2fc: Add driver tunables.

Joe Lawrence (1):
      mpt3sas - remove unused fw_event_work elements

Johannes Thumshirn (2):
      Revert "scsi: fix soft lockup in scsi_remove_target() on module removal"
      scsi: Add intermediate STARGET_REMOVE state to scsi_target_state

John Garry (8):
      hisi_sas: add alloc_dev_quirk_v2_hw()
      hisi_sas: add slot_index_alloc_quirk_v2_hw()
      hisi_sas: add device and slot alloc hw methods
      hisi_sas: update driver version to 1.4
      hisi_sas: for v2 hw only set ITCT qw2 for SAS device
      hisi_sas: add v2 hw support for >4 SATA phys
      hisi_sas: fix v2 hw multiple SATA disk issue
      hisi_sas: use device linkrate in MCR for v2 hw

Joseph T Handzik (1):
      hpsa: add sas_address to sysfs device attibute

Kai Makisara (1):
      st: clear ILI if Medium Error

Leonid Moiseichuk (1):
      mvsas: Generalize Marvell 9485 in pci_device_id

Manoj N. Kumar (1):
      cxlflash: Fix to resolve dead-lock during EEH recovery

Martin K. Petersen (1):
      Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy"

Ming Lin (5):
      lib: scatterlist: move SG pool code from SCSI driver to lib/sg_pool.c
      scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS
      scsi: rename SG related struct and functions
      scsi: replace "mq" with "first_chunk" in SG functions
      scsi: replace "scsi_data_buffer" with "sg_table" in SG functions

Narsimhulu Musini (7):
      snic: add scsi host after determining max IOs.
      snic: Fixing race in the hba reset and IO/TM completion
      snic: Fix for missing interrupts
      snic: target cleanup in driver unload path
      snic: Handling control path queue issues
      snic: LUN goes offline due to scsi cmd timeouts
      snic: Added additional stats

Petros Koutoupis (1):
      hpsa: Fix type ZBC conditional checks

Raghava Aditya Renukunta (10):
      aacraid: Update driver version
      aacraid: Fix for KDUMP driver hang
      aacraid: Remove code to needlessly complete fib
      aacraid: Log firmware AIF messages
      aacraid: Fix for aac_command_thread hang
      aacraid: Disable MSI mode for series 6, 7, 8 cards
      aacraid: Relinquish CPU during timeout wait
      aacraid: Start adapter after updating number of MSIX vectors
      aacraid: Fix incorrectly named MACRO
      aacraid: Removed unnecessary checks for NULL

Rasmus Villemoes (3):
      scsi: reduce CONFIG_SCSI_CONSTANTS=y impact by 8k
      scsi: move Additional Sense Codes to separate file
      scsi: make some Additional Sense strings more grep'able

Satish Kharat (3):
      fnic: Using rport->dd_data to check rport online instead of rport_lookup.
      fnic: Cleanup the I/O pending with fw and has timed out and is used to issue LUN reset
      fnic: Fix to cleanup aborted IO to avoid device being offlined by mid-layer

Sebastian Herbszt (1):
      lpfc: remove incorrect lockdep assertion

Sumit Saxena (4):
      megaraid_sas: driver version upgrade
      megaraid_sas: task management code optimizations
      megaraid_sas: call ISR function to clean up pending replies in OCR path
      megaraid_sas: reduce memory footprints in kdump mode

Tina Ruchandani (2):
      mpt3sas: Remove usage of 'struct timeval'
      qla2xxx: Remove use of 'struct timeval'

And the diffstat:

 Documentation/scsi/g_NCR5380.txt            |   17 +-
 Documentation/scsi/scsi-parameters.txt      |   11 +-
 MAINTAINERS                                 |    2 +-
 drivers/ata/pata_icside.c                   |    2 +-
 drivers/infiniband/ulp/srp/ib_srp.c         |    6 +-
 drivers/message/fusion/mptsas.c             |    4 +-
 drivers/message/fusion/mptspi.c             |    2 +-
 drivers/s390/scsi/zfcp_unit.c               |    3 +-
 drivers/scsi/Kconfig                        |   16 +-
 drivers/scsi/NCR5380.c                      |  657 ++++---
 drivers/scsi/NCR5380.h                      |  143 +-
 drivers/scsi/aacraid/aachba.c               |   22 -
 drivers/scsi/aacraid/aacraid.h              |    9 +-
 drivers/scsi/aacraid/comminit.c             |   43 +-
 drivers/scsi/aacraid/commsup.c              |   39 +-
 drivers/scsi/aacraid/dpcsup.c               |    7 +-
 drivers/scsi/aacraid/linit.c                |    4 +-
 drivers/scsi/aacraid/src.c                  |    3 +-
 drivers/scsi/arm/cumana_1.c                 |   25 +-
 drivers/scsi/arm/cumana_2.c                 |    2 +-
 drivers/scsi/arm/eesox.c                    |    2 +-
 drivers/scsi/arm/oak.c                      |   22 +-
 drivers/scsi/arm/powertec.c                 |    2 +-
 drivers/scsi/atari_NCR5380.c                | 2676 -------------------------
 drivers/scsi/atari_scsi.c                   |  144 +-
 drivers/scsi/bfa/bfa_fcs.h                  |    4 +-
 drivers/scsi/bfa/bfa_fcs_fcpim.c            |    5 +-
 drivers/scsi/bfa/bfad_im.c                  |    5 +-
 drivers/scsi/bnx2fc/bnx2fc.h                |    3 +-
 drivers/scsi/bnx2fc/bnx2fc_fcoe.c           |  100 +-
 drivers/scsi/bnx2fc/bnx2fc_io.c             |   14 +-
 drivers/scsi/bnx2i/bnx2i_iscsi.c            |    4 +-
 drivers/scsi/constants.c                    |  859 +-------
 drivers/scsi/cxlflash/superpipe.c           |   15 +
 drivers/scsi/device_handler/scsi_dh_alua.c  |   33 +-
 drivers/scsi/dmx3191d.c                     |   10 +-
 drivers/scsi/dtc.c                          |   27 +-
 drivers/scsi/dtc.h                          |    7 +-
 drivers/scsi/eata_pio.c                     |    1 +
 drivers/scsi/esas2r/esas2r_main.c           |    4 +-
 drivers/scsi/fnic/fnic.h                    |    2 +-
 drivers/scsi/fnic/fnic_scsi.c               |   91 +-
 drivers/scsi/g_NCR5380.c                    |  141 +-
 drivers/scsi/g_NCR5380.h                    |   26 +-
 drivers/scsi/hisi_sas/hisi_sas.h            |    7 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c       |   11 +-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c      |   90 +-
 drivers/scsi/hpsa.c                         |  187 +-
 drivers/scsi/hpsa.h                         |    1 +
 drivers/scsi/libiscsi.c                     |    9 +-
 drivers/scsi/lpfc/lpfc.h                    |    4 +-
 drivers/scsi/lpfc/lpfc_attr.c               |   26 +-
 drivers/scsi/lpfc/lpfc_ct.c                 |    6 +-
 drivers/scsi/lpfc/lpfc_els.c                |  176 +-
 drivers/scsi/lpfc/lpfc_hbadisc.c            |    5 +-
 drivers/scsi/lpfc/lpfc_hw.h                 |   75 +-
 drivers/scsi/lpfc/lpfc_hw4.h                |   29 +-
 drivers/scsi/lpfc/lpfc_init.c               |   27 +-
 drivers/scsi/lpfc/lpfc_mbox.c               |   12 +-
 drivers/scsi/lpfc/lpfc_mem.c                |    6 +-
 drivers/scsi/lpfc/lpfc_nportdisc.c          |    4 +-
 drivers/scsi/lpfc/lpfc_sli.c                |  140 +-
 drivers/scsi/lpfc/lpfc_version.h            |    6 +-
 drivers/scsi/lpfc/lpfc_vport.c              |    5 +-
 drivers/scsi/mac_scsi.c                     |  241 +--
 drivers/scsi/megaraid/megaraid_sas.h        |    6 +-
 drivers/scsi/megaraid/megaraid_sas_base.c   |  117 +-
 drivers/scsi/megaraid/megaraid_sas_fusion.c |    7 +-
 drivers/scsi/mpt3sas/mpi/mpi2.h             |    7 +-
 drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h        |   18 +-
 drivers/scsi/mpt3sas/mpi/mpi2_init.h        |   15 +-
 drivers/scsi/mpt3sas/mpi/mpi2_ioc.h         |   40 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c         |   32 +-
 drivers/scsi/mpt3sas/mpt3sas_base.h         |   11 +-
 drivers/scsi/mpt3sas/mpt3sas_scsih.c        |   37 +-
 drivers/scsi/mvsas/mv_init.c                |   19 +-
 drivers/scsi/pas16.c                        |   27 +-
 drivers/scsi/pas16.h                        |    5 +-
 drivers/scsi/pm8001/pm8001_init.c           |    2 -
 drivers/scsi/qla2xxx/qla_mr.c               |    5 +-
 drivers/scsi/qla2xxx/qla_nx.c               |    2 +-
 drivers/scsi/scsi_debug.c                   | 2801 ++++++++++++++-------------
 drivers/scsi/scsi_lib.c                     |  188 +-
 drivers/scsi/scsi_priv.h                    |    2 +-
 drivers/scsi/scsi_proc.c                    |    3 +-
 drivers/scsi/scsi_scan.c                    |   45 +-
 drivers/scsi/scsi_sysfs.c                   |    9 +-
 drivers/scsi/scsi_trace.c                   |  161 ++
 drivers/scsi/scsi_transport_fc.c            |    9 +-
 drivers/scsi/scsi_transport_iscsi.c         |   19 +-
 drivers/scsi/scsi_transport_sas.c           |    7 +-
 drivers/scsi/sense_codes.h                  |  826 ++++++++
 drivers/scsi/snic/snic.h                    |    5 +-
 drivers/scsi/snic/snic_ctl.c                |    8 +-
 drivers/scsi/snic/snic_debugfs.c            |   20 +-
 drivers/scsi/snic/snic_disc.c               |   19 +-
 drivers/scsi/snic/snic_fwint.h              |    4 +-
 drivers/scsi/snic/snic_io.c                 |   62 +-
 drivers/scsi/snic/snic_isr.c                |    6 +-
 drivers/scsi/snic/snic_main.c               |   44 +-
 drivers/scsi/snic/snic_scsi.c               |   56 +-
 drivers/scsi/snic/snic_stats.h              |   12 +-
 drivers/scsi/snic/vnic_dev.c                |   44 +-
 drivers/scsi/st.c                           |    9 +-
 drivers/scsi/sun3_scsi.c                    |   47 +-
 drivers/scsi/t128.c                         |   19 +-
 drivers/scsi/t128.h                         |    7 +-
 drivers/usb/storage/scsiglue.c              |    2 +-
 include/linux/scatterlist.h                 |   25 +
 include/scsi/scsi.h                         |   19 -
 include/scsi/scsi_device.h                  |   14 +-
 include/scsi/scsi_host.h                    |    2 +-
 include/scsi/scsi_proto.h                   |    9 +
 include/trace/events/scsi.h                 |    6 +-
 lib/Kconfig                                 |    7 +
 lib/Makefile                                |    1 +
 lib/sg_pool.c                               |  172 ++
 117 files changed, 4839 insertions(+), 6481 deletions(-)
 delete mode 100644 drivers/scsi/atari_NCR5380.c
 create mode 100644 drivers/scsi/sense_codes.h
 create mode 100644 lib/sg_pool.c

James

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] first round of SCSI updates for the 4.6+ merge window
  2016-05-18 11:19 [GIT PULL] first round of SCSI updates for the 4.6+ merge window James Bottomley
@ 2016-05-29 18:02 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2016-05-29 18:02 UTC (permalink / raw)
  To: James Bottomley, Andrew Morton, Linus Torvalds; +Cc: linux-scsi, linux-kernel

Hi all,

On 05/18/2016 07:19 AM, James Bottomley wrote:
> Douglas Gilbert (13):
>       scsi_debug: use locally assigned naa
>       scsi_debug: uuid for lu name
>       scsi_debug: vpd and mode page work
>       scsi_debug: add multiple queue support
>       scsi_debug: rework resp_report_luns

The commit above seems to be causing the following:

[  784.130990] BUG: sleeping function called from invalid context at mm/slab.h:388

[  784.131073] in_atomic(): 1, irqs_disabled(): 0, pid: 21582, name: syz-executor

[  784.131216] Preemption disabled blk_mq_insert_request (block/blk-mq.h:89 block/blk-mq.c:1010)
[  784.131252]
[  784.131292] CPU: 4 PID: 21582 Comm: syz-executor Tainted: G    B           4.6.0-next-20160527-sasha-00024-g6ab0dc9-dirty #3098

[  784.131336]  1ffff100369e8e06 0000000085bb6488 ffff8801b4f470b8 ffffffffa0fd0b37

[  784.131367]  ffffffff00000004 fffffbfff57eeda4 0000000041b58ab3 ffffffffab8dd830

[  784.131391]  ffffffffa0fd09c8 ffff8801b4f47060 ffffffff9f53ef7a 00007f4739889c18

[  784.131396] Call Trace:
[  784.131443] dump_stack (lib/dump_stack.c:53)
[  784.131609] ___might_sleep (kernel/sched/core.c:7554)
[  784.131637] __might_sleep (kernel/sched/core.c:7516 (discriminator 14))
[  784.131706] kmem_cache_alloc_node (mm/slab.h:390 mm/slub.c:2498 mm/slub.c:2608)
[  784.131761] __get_vm_area_node (include/linux/slab.h:390 include/linux/slab.h:516 include/linux/slab.h:633 mm/vmalloc.c:1370)
[  784.131778] __vmalloc_node_range (mm/vmalloc.c:1688)
[  784.131941] vmalloc (mm/vmalloc.c:1766)
[  784.131974] resp_report_luns (drivers/scsi/scsi_debug.c:3335)
[  784.132010] scsi_debug_queuecommand (drivers/scsi/scsi_debug.c:5362)
[  784.132109] scsi_dispatch_cmd (drivers/scsi/scsi_lib.c:1635)
[  784.132125] scsi_queue_rq (drivers/scsi/scsi_lib.c:1924)
[  784.132185] __blk_mq_run_hw_queue (block/blk-mq.c:784)
[  784.132315] blk_mq_run_hw_queue (block/blk-mq.c:874)
[  784.132340] blk_mq_insert_request (block/blk-mq.h:94 block/blk-mq.c:1023)
[  784.132359] blk_execute_rq_nowait (block/blk-exec.c:69)
[  784.132390] sg_common_write.isra.5 (drivers/scsi/sg.c:812)
[  784.132490] sg_write (drivers/scsi/sg.c:687)
[  784.132679] __vfs_write (fs/read_write.c:514)
[  784.132815] vfs_write (fs/read_write.c:565)
[  784.132830] SyS_write (fs/read_write.c:612 fs/read_write.c:603)
[  784.132929] do_syscall_64 (arch/x86/entry/common.c:350)
[  784.132947] entry_SYSCALL64_slow_path (arch/x86/entry/entry_64.S:251)


Thanks,
Sasha

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-29 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 11:19 [GIT PULL] first round of SCSI updates for the 4.6+ merge window James Bottomley
2016-05-29 18:02 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).