]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Jan 2025 00:12:44 +0000 (16:12 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Jan 2025 00:12:44 +0000 (16:12 -0800)
Pull SCSI updates from James Bottomley:
 "Updates to the usual drivers (ufs, lpfc, fnic, qla2xx, mpi3mr).

  The major core change is the renaming of the slave_ methods plus a bit
  of constification. The rest are minor updates and fixes"

* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (103 commits)
  scsi: fnic: Propagate SCSI error code from fnic_scsi_drv_init()
  scsi: fnic: Test for memory allocation failure and return error code
  scsi: fnic: Return appropriate error code from failure of scsi drv init
  scsi: fnic: Return appropriate error code for mem alloc failure
  scsi: fnic: Remove always-true IS_FNIC_FCP_INITIATOR macro
  scsi: fnic: Fix use of uninitialized value in debug message
  scsi: fnic: Delete incorrect debugfs error handling
  scsi: fnic: Remove unnecessary else to fix warning in FDLS FIP
  scsi: fnic: Remove extern definition from .c files
  scsi: fnic: Remove unnecessary else and unnecessary break in FDLS
  scsi: mpi3mr: Fix possible crash when setting up bsg fails
  scsi: ufs: bsg: Set bsg_queue to NULL after removal
  scsi: ufs: bsg: Delete bsg_dev when setting up bsg fails
  scsi: st: Don't set pos_unknown just after device recognition
  scsi: aic7xxx: Fix build 'aicasm' warning
  scsi: Revert "scsi: ufs: core: Probe for EXT_IID support"
  scsi: storvsc: Ratelimit warning logs to prevent VM denial of service
  scsi: scsi_debug: Constify sdebug_driver_template
  scsi: documentation: Corrections for struct updates
  scsi: driver-api: documentation: Change what is added to docbook
  ...

27 files changed:
1  2 
MAINTAINERS
drivers/ata/ahci.h
drivers/ata/pata_macio.c
drivers/ata/sata_mv.c
drivers/ata/sata_nv.c
drivers/ata/sata_sil24.c
drivers/infiniband/ulp/srp/ib_srp.c
drivers/scsi/cxlflash/main.c
drivers/scsi/fnic/fnic_main.c
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/mpi3mr/mpi3mr_os.c
drivers/scsi/mpt3sas/mpt3sas_scsih.c
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/pm8001/pm8001_sas.h
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/smartpqi/smartpqi_init.c
drivers/scsi/virtio_scsi.c
drivers/target/iscsi/iscsi_target.c
drivers/ufs/core/ufshcd.c
drivers/usb/storage/scsiglue.c
drivers/usb/storage/uas.c
include/linux/libata.h
include/scsi/scsi_host.h

diff --cc MAINTAINERS
Simple merge
index 06781bdde0d287cded3c25b9270622ddd40c8b56,75cdf51a7f745f9bbf23dfe6a361e860875030c0..17e4c06b20cb00d07ddf17a1a12e59a40a266a2a
@@@ -396,8 -396,8 +396,8 @@@ extern const struct attribute_group *ah
        .shost_groups           = ahci_shost_groups,                    \
        .sdev_groups            = ahci_sdev_groups,                     \
        .change_queue_depth     = ata_scsi_change_queue_depth,          \
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,                     \
 +      .tag_alloc_policy_rr    = true,                                 \
-       .device_configure       = ata_scsi_device_configure
+       .sdev_configure         = ata_scsi_sdev_configure
  
  extern struct ata_port_operations ahci_ops;
  extern struct ata_port_operations ahci_platform_ops;
index 4b01bb6880b031d84e871e3c720c7bd9ad183003,a8e2989d0469e981c42c9a62ee3e7888049c31ab..fbf5f07ea3579e896b9ebd9130e05925ac97a340
@@@ -932,10 -932,10 +932,10 @@@ static const struct scsi_host_template 
        /* We may not need that strict one */
        .dma_boundary           = ATA_DMA_BOUNDARY,
        .max_segment_size       = PATA_MACIO_MAX_SEGMENT_SIZE,
-       .device_configure       = pata_macio_device_configure,
+       .sdev_configure         = pata_macio_sdev_configure,
        .sdev_groups            = ata_common_sdev_groups,
        .can_queue              = ATA_DEF_QUEUE,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,
 +      .tag_alloc_policy_rr    = true,
  };
  
  static struct ata_port_operations pata_macio_ops = {
index 21c72650f9ccdf6981ff40af12e7c9ee4048fa41,caf7b1303d4c4044282f4806e740c59891a4a23d..bcbf96867f89176496281f881d8f646ba1e258a2
@@@ -672,8 -672,8 +672,8 @@@ static const struct scsi_host_template 
        .dma_boundary           = MV_DMA_BOUNDARY,
        .sdev_groups            = ata_ncq_sdev_groups,
        .change_queue_depth     = ata_scsi_change_queue_depth,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,
 +      .tag_alloc_policy_rr    = true,
-       .device_configure       = ata_scsi_device_configure
+       .sdev_configure         = ata_scsi_sdev_configure
  };
  
  static struct ata_port_operations mv5_ops = {
index 823cce5ea1e9018fee93daa55360e5fad0c97b79,b62b8ebdd89f8126cf8dbb8fc315cf8fa5f45cad..f36e2915ccf1870bc42fbf3b28747ec4337a4613
@@@ -382,10 -382,10 +382,10 @@@ static const struct scsi_host_template 
        .can_queue              = NV_ADMA_MAX_CPBS,
        .sg_tablesize           = NV_ADMA_SGTBL_TOTAL_LEN,
        .dma_boundary           = NV_ADMA_DMA_BOUNDARY,
-       .device_configure       = nv_adma_device_configure,
+       .sdev_configure         = nv_adma_sdev_configure,
        .sdev_groups            = ata_ncq_sdev_groups,
        .change_queue_depth     = ata_scsi_change_queue_depth,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,
 +      .tag_alloc_policy_rr    = true,
  };
  
  static const struct scsi_host_template nv_swncq_sht = {
        .can_queue              = ATA_MAX_QUEUE - 1,
        .sg_tablesize           = LIBATA_MAX_PRD,
        .dma_boundary           = ATA_DMA_BOUNDARY,
-       .device_configure       = nv_swncq_device_configure,
+       .sdev_configure         = nv_swncq_sdev_configure,
        .sdev_groups            = ata_ncq_sdev_groups,
        .change_queue_depth     = ata_scsi_change_queue_depth,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,
 +      .tag_alloc_policy_rr    = true,
  };
  
  /*
index b0e22ab76f0ead56db6864839f3064efb201925a,3e0be03996191dc3392b7a43bc694af7d8324b6b..87f4cde6a686e309d9ba550ebfacf85e7f8799c8
@@@ -378,9 -378,10 +378,9 @@@ static const struct scsi_host_template 
        .can_queue              = SIL24_MAX_CMDS,
        .sg_tablesize           = SIL24_MAX_SGE,
        .dma_boundary           = ATA_DMA_BOUNDARY,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_FIFO,
        .sdev_groups            = ata_ncq_sdev_groups,
        .change_queue_depth     = ata_scsi_change_queue_depth,
-       .device_configure       = ata_scsi_device_configure
+       .sdev_configure         = ata_scsi_sdev_configure
  };
  
  static struct ata_port_operations sil24_ops = {
Simple merge
Simple merge
Simple merge
Simple merge
index 35501d0aa65559bae9aedd7c04590085bdc2212a,6766995e227bab00923384c01f3c71ba8ca16d18..48b95d9a792753bdfdb5a2619d21627b7fc01a81
@@@ -3342,10 -3342,10 +3342,10 @@@ static const struct scsi_host_template 
        .map_queues             = hisi_sas_map_queues,
        .sg_tablesize           = HISI_SAS_SGE_PAGE_CNT,
        .sg_prot_tablesize      = HISI_SAS_SGE_PAGE_CNT,
-       .slave_alloc            = hisi_sas_slave_alloc,
+       .sdev_init              = hisi_sas_sdev_init,
        .shost_groups           = host_v3_hw_groups,
        .sdev_groups            = sdev_groups_v3_hw,
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,
 +      .tag_alloc_policy_rr    = true,
        .host_reset             = hisi_sas_host_reset,
        .host_tagset            = 1,
        .mq_poll                = queue_complete_v3_hw,
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index be5183d75736dc974ada18691e0b73b0c2407063,7717f06a548d2345f4914bd261686b3857169721..c1c57f814b98dc6fe534badb60a1c827c180ae7a
@@@ -1467,14 -1466,14 +1466,14 @@@ extern const struct attribute_group *at
  #define ATA_SUBBASE_SHT(drv_name)                             \
        __ATA_BASE_SHT(drv_name),                               \
        .can_queue              = ATA_DEF_QUEUE,                \
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,             \
 +      .tag_alloc_policy_rr    = true,                         \
-       .device_configure       = ata_scsi_device_configure
+       .sdev_configure         = ata_scsi_sdev_configure
  
  #define ATA_SUBBASE_SHT_QD(drv_name, drv_qd)                  \
        __ATA_BASE_SHT(drv_name),                               \
        .can_queue              = drv_qd,                       \
 -      .tag_alloc_policy       = BLK_TAG_ALLOC_RR,             \
 +      .tag_alloc_policy_rr    = true,                         \
-       .device_configure       = ata_scsi_device_configure
+       .sdev_configure         = ata_scsi_sdev_configure
  
  #define ATA_BASE_SHT(drv_name)                                        \
        ATA_SUBBASE_SHT(drv_name),                              \
Simple merge