Re: [PATCH v2] scsi: Remember if a device is an ATA device

Martin K. Petersen
2025-06-20T03:19:12Z

On Wed, 11 Jun 2025 18:34:21 +0900, Damien Le Moal wrote:

> scsi_add_lun() tests the device vendor string of SCSI devices to detect
> if a SCSI device is in fact an ATA device, in order to correctly handle
> SATL power management. The function scsi_cdl_enable() also requires
> knowing if a SCSI device is an ATA device to control the state of the
> device CDL feature but this function does that by testing for the
> presence of the VPD page 89h (ATA INFORMATION page).
> sd_read_write_same() also has a similar test.
>
> [...]

Applied to 6.17/scsi-queue, thanks!

[1/1] scsi: Remember if a device is an ATA device
https://git.kernel.org/mkp/scsi/c/b1ba03c49a71

--
Martin K. Petersen Oracle Linux Engineering