mirror-linux/drivers/scsi
Linus Torvalds 1eb09e624f ata fixes for 6.15-rc4
* Fix the incorrect return type of ata_mselect_control_ata_feature()
 
  * Several fixes for the control of the Command Duration Limits feature
    to avoid unnecessary enable and disable actions. Avoiding the
    unnecessary enable action also avoids unwanted resets of the CDL
    statistics log page as that is implied for any enable action.
 
  * Fix the translation for sensing the control mode page to correctly
    return the last enable or disable action performed, as defined in
    SAT-6. This correct mode sense information is used to fix the
    behavior of the scsi layer to avoid unnecessary mode select command
    issuing.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSRPv8tYSvhwAzJdzjdoc3SxdoYdgUCaAwSugAKCRDdoc3SxdoY
 dmh0AP9OcALkZHm6PdDQ4Y6VZAuJL3DEFmZbZG3//V9+CyO7UgEAm2QDHrgkirf3
 R3H5aYkP7bYql9pUNSThXMyDRnhJ2w8=
 =IEEg
 -----END PGP SIGNATURE-----

Merge tag 'ata-6.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux

Pull ata fixes from Damien Le Moal:

 - Fix the incorrect return type of ata_mselect_control_ata_feature()

 - Several fixes for the control of the Command Duration Limits feature
   to avoid unnecessary enable and disable actions. Avoiding the
   unnecessary enable action also avoids unwanted resets of the CDL
   statistics log page as that is implied for any enable action.

 - Fix the translation for sensing the control mode page to correctly
   return the last enable or disable action performed, as defined in
   SAT-6. This correct mode sense information is used to fix the
   behavior of the scsi layer to avoid unnecessary mode select command
   issuing.

* tag 'ata-6.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
  scsi: Improve CDL control
  ata: libata-scsi: Improve CDL control
  ata: libata-scsi: Fix ata_msense_control_ata_feature()
  ata: libata-scsi: Fix ata_mselect_control_ata_feature() return type
2025-04-25 16:31:10 -07:00
..
aacraid scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
aic7xxx treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
aic94xx treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
arcmsr treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
arm treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
be2iscsi treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
bfa treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
bnx2fc treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
bnx2i treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
csiostor treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
cxgbi treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
device_handler move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
elx treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
esas2r treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
fcoe treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
fnic treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hisi_sas Merge branch '6.15/scsi-queue' into 6.15/scsi-fixes 2025-04-08 22:04:31 -04:00
ibmvscsi treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ibmvscsi_tgt scsi: Switch to use hrtimer_setup() 2025-02-18 11:19:03 +01:00
isci treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
libfc treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
libsas treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
lpfc treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
megaraid Merge branch '6.15/scsi-queue' into 6.15/scsi-fixes 2025-04-08 22:04:31 -04:00
mpi3mr scsi: mpi3mr: Add level check to control event logging 2025-04-21 21:07:38 -04:00
mpt3sas SCSI misc on 20250326 2025-03-26 19:57:34 -07:00
mvsas treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
pcmcia scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
pm8001 scsi: pm80xx: Set phy_attached to zero when device is gone 2025-04-03 10:06:10 -04:00
qedf Merge patch series "scsi: Constify 'struct bin_attribute'" 2025-01-02 15:08:42 -05:00
qedi scsi: Constify struct pci_error_handlers 2025-02-03 17:35:58 -05:00
qla2xxx treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
qla4xxx treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
smartpqi Merge branch '6.15/scsi-queue' into 6.15/scsi-fixes 2025-04-08 22:04:31 -04:00
snic scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
sym53c8xx_2 treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
.gitignore
3w-9xxx.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
3w-9xxx.h
3w-sas.c Merge patch series "scsi: Constify 'struct bin_attribute'" 2025-01-02 15:08:42 -05:00
3w-sas.h
3w-xxxx.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
3w-xxxx.h
53c700.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
53c700.h
53c700.scr
53c700_d.h_shipped
BusLogic.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
BusLogic.h scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
FlashPoint.c scsi: FlashPoint: Remove redundant assignment to pointer currTar_Info 2024-04-08 22:01:19 -04:00
Kconfig scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
Makefile scsi: cxlflash: Remove driver 2025-02-03 18:04:55 -05:00
NCR5380.c scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
NCR5380.h scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
a100u2w.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
a100u2w.h
a2091.c scsi: a2091: Declare SCSI host template const 2023-03-24 19:19:20 -04:00
a2091.h
a3000.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
a3000.h
a4000t.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
advansys.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
aha152x.c scsi: aha152x: Switch to irq_get_nr_irqs() 2024-10-16 21:56:58 +02:00
aha152x.h
aha1542.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
aha1542.h
aha1740.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
aha1740.h
am53c974.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
atari_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
atp870u.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
atp870u.h
bvme6000_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
ch.c scsi: ch: Make ch_sysfs_class constant 2024-03-10 18:15:48 -04:00
constants.c
dc395x.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
dc395x.h
dmx3191d.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
esp_scsi.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
esp_scsi.h scsi: esp: Fix variable typo 2025-01-02 13:42:35 -05:00
fdomain.c scsi: fdomain: Declare SCSI host template const 2023-03-24 19:19:22 -04:00
fdomain.h
fdomain_isa.c
fdomain_pci.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
g_NCR5380.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
gvp11.c scsi: gvp11: Remove unused gvp11_setup() function 2023-08-21 16:37:11 -04:00
gvp11.h
hosts.c scsi: core: Simplify an alloc_workqueue() invocation 2024-08-22 21:28:57 -04:00
hpsa.c scsi: hpsa: Replace deprecated strncpy() with strscpy_pad() 2025-02-18 21:34:08 -05:00
hpsa.h
hpsa_cmd.h
hptiop.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
hptiop.h
imm.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
imm.h scsi: imm: Add a module parameter for the transfer mode 2023-09-13 21:11:55 -04:00
initio.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
initio.h
ipr.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ipr.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ips.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
ips.h scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
iscsi_tcp.h scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
jazz_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
lasi700.c
libiscsi.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
libiscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
mac53c94.c powerpc/macio: Make remove callback of macio driver void returned 2024-03-07 23:06:19 +11:00
mac53c94.h
mac_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mac_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
megaraid.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
megaraid.h
mesh.c powerpc updates for 6.9 2024-03-15 17:53:48 -07:00
mesh.h
mvme16x_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mvme147.c scsi: mvme147: Declare SCSI host template const 2023-03-24 19:19:57 -04:00
mvme147.h
mvumi.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
mvumi.h
myrb.c scsi: myrb: Remove dead code 2025-01-02 13:46:45 -05:00
myrb.h scsi: myrb: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
myrs.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
myrs.h scsi: myrs: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
ncr53c8xx.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
ncr53c8xx.h
nsp32.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
nsp32.h
nsp32_debug.c
nsp32_io.h
pmcraid.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
pmcraid.h
ppa.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
ppa.h scsi: ppa: Add a module parameter for the transfer mode 2023-08-21 16:32:40 -04:00
ps3rom.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
qla1280.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2024-11-20 21:32:48 -05:00
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
qlogicpti.h
raid_class.c scsi: core: raid_class: Remove raid_component_add() 2023-08-24 21:34:28 -04:00
script_asm.pl
scsi.c scsi: Improve CDL control 2025-04-22 16:06:08 +09:00
scsi_bsg.c scsi: replace the fmode_t argument to ->sg_io_fn with a simple bool 2023-06-12 08:04:04 -06:00
scsi_common.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_debug.c SCSI misc on 20250326 2025-03-26 19:57:34 -07:00
scsi_debugfs.c scsi: core: Improve the code for showing commands in debugfs 2024-04-08 22:12:33 -04:00
scsi_debugfs.h
scsi_devinfo.c scsi: core: Fix an incorrect comment 2024-06-13 15:21:24 -04:00
scsi_dh.c
scsi_error.c scsi: scsi_error: Add comments to scsi_check_sense() 2025-03-03 22:11:47 -05:00
scsi_ioctl.c scsi: scsi_ioctl: Add kernel-doc for exported functions 2025-01-10 15:15:07 -05:00
scsi_lib.c scsi: core: Clear flags for scsi_cmnd that did not complete 2025-04-21 20:45:04 -04:00
scsi_lib_dma.c
scsi_lib_test.c scsi: core: Add passthrough tests for success and no failure definitions 2025-01-21 12:16:17 -05:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h SCSI misc on 20240316 2024-03-16 16:31:12 -07:00
scsi_proc.c scsi: core: Fix legacy /proc parsing buffer overflow 2023-07-31 15:39:39 -04:00
scsi_proto_test.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_sas_internal.h
scsi_scan.c scsi: core: Fix missing lock protection 2025-03-02 21:06:02 -05:00
scsi_sysctl.c scsi: logging: Fix scsi_logging_level bounds 2025-03-03 22:11:48 -05:00
scsi_sysfs.c Merge patch series "scsi: Constify 'struct bin_attribute'" 2025-01-02 15:08:42 -05:00
scsi_trace.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Allow setting rport state to current state 2024-10-03 22:01:34 -04:00
scsi_transport_iscsi.c scsi: iscsi: Fix missing scsi_host_put() in error path 2025-04-03 09:46:03 -04:00
scsi_transport_sas.c scsi: transport: sas: spi: Fix kernel-doc for exported functions 2025-01-10 15:15:20 -05:00
scsi_transport_spi.c scsi: transport: sas: spi: Fix kernel-doc for exported functions 2025-01-10 15:15:20 -05:00
scsi_transport_srp.c scsi: scsi_transport_srp: Replace min/max nesting with clamp() 2025-04-03 10:54:31 -04:00
scsicam.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sd.c for-6.14/io_uring-20250119 2025-01-20 20:27:33 -08:00
sd.h scsi: sd: Atomic write support 2024-06-20 15:19:17 -06:00
sd_dif.c block: move integrity information into queue_limits 2024-06-14 10:20:07 -06:00
sd_trace.h
sd_zbc.c for-6.13/block-20241118 2024-11-18 16:50:08 -08:00
sense_codes.h
ses.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sg.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
sgiwd93.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sim710.c
sni_53c710.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sr.c block: add a queue_limits_commit_update_frozen helper 2025-01-10 07:29:23 -07:00
sr.h scsi: sr: Fix unintentional arithmetic wraparound 2024-05-15 10:05:24 -04:00
sr_ioctl.c minmax: scsi: fix mis-use of 'clamp()' in sr.c 2024-07-28 17:06:20 -07:00
sr_vendor.c
st.c scsi: st: Tighten the page format heuristics with MODE SELECT 2025-03-17 22:04:22 -04:00
st.h scsi: st: Modify st.c to use the new scsi_error counters 2025-02-03 17:43:31 -05:00
st_options.h
stex.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
storvsc_drv.c scsi: storvsc: Don't report the host packet status as the hv status 2025-03-10 21:18:56 -04:00
sun3_scsi.c scsi: sun3: Mark driver struct with __refdata to prevent section mismatch 2024-11-06 21:06:44 -05:00
sun3_scsi_vme.c
sun3x_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sun_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
virtio_scsi.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
vmw_pvscsi.c scsi: Expand all create*_workqueue() invocations 2024-08-22 21:28:55 -04:00
vmw_pvscsi.h
wd33c93.c scsi: wd33c93: Don't use stale scsi_pointer value 2024-10-03 21:48:08 -04:00
wd33c93.h
wd719x.c scsi: wd719x: Declare SCSI host template const 2023-03-24 19:19:59 -04:00
wd719x.h
xen-scsifront.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
zalon.c scsi: zalon: Remove trailing space after \n newline 2024-09-12 20:25:43 -04:00
zorro7xx.c
zorro_esp.c scsi: esp_scsi: Declare SCSI host template const 2023-03-24 19:19:22 -04:00