* [GIT PULL] ata fixes for 6.18-rc7
@ 2025-11-21 15:11 Niklas Cassel
2025-11-21 19:19 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Niklas Cassel @ 2025-11-21 15:11 UTC (permalink / raw)
To: Linus Torvalds, linux-ide; +Cc: Damien Le Moal, Niklas Cassel
Linus,
The following changes since commit 12d724f2852d094d68dccaf5101e0ef89a971cde:
ata: libata-core: relax checks in ata_read_log_directory() (2025-10-13 09:12:36 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux tags/ata-6.18-rc7
for you to fetch changes up to 91842ed844a068a41a38f97a1ac5535b909279cd:
ata: libata-core: Set capacity to zero for a security locked drive (2025-11-20 13:37:18 +0100)
----------------------------------------------------------------
ata fixes for 6.18-rc7
- Add a missing refcount decrement in ata_scsi_dev_rescan() when
the device or its queue is not running. In the case where the
device is running, the recount is already decremented properly
(Yihang Li)
- Generate the proper sense code for a Security locked device.
There was a regression caused by a recent change of how sense
data is generated for commands that did not provide any sense
data. This broke system suspend for Security locked devices.
Generate the sense data that the SCSI disk driver expects for
a Security locked device so that system supend works again
(me)
- Set capacity to zero for a Security locked device.
All I/O commands will be aborted by a Security locked device.
Thus, the block layer disk partition scanning will result in
a bunch of, for the user, confusing I/O errors in dmesg during
boot. Since a Security locked device is unusable anyway, set
the capacity to zero, to avoid the disk partition scanning
during boot. We still create the block device in /dev such
that the user may unlock the device using e.g. hdparm (me)
----------------------------------------------------------------
Niklas Cassel (2):
ata: libata-scsi: Fix system suspend for a security locked drive
ata: libata-core: Set capacity to zero for a security locked drive
Yihang Li (1):
ata: libata-scsi: Add missing scsi_device_put() in ata_scsi_dev_rescan()
drivers/ata/libata-core.c | 10 ++++++++++
drivers/ata/libata-scsi.c | 11 ++++++++++-
include/linux/ata.h | 1 +
3 files changed, 21 insertions(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] ata fixes for 6.18-rc7
2025-11-21 15:11 [GIT PULL] ata fixes for 6.18-rc7 Niklas Cassel
@ 2025-11-21 19:19 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-11-21 19:19 UTC (permalink / raw)
To: Niklas Cassel; +Cc: Linus Torvalds, linux-ide, Damien Le Moal, Niklas Cassel
The pull request you sent on Fri, 21 Nov 2025 16:11:04 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux tags/ata-6.18-rc7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/317c4d8a2a320a58997f30a5b2a8eca57e0990fc
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-21 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-21 15:11 [GIT PULL] ata fixes for 6.18-rc7 Niklas Cassel
2025-11-21 19:19 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox