Re: [PATCH] scsi: sd: Fix TCG OPAL unlock on system resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, 19 Mar 2024 16:12:09 +0900, Damien Le Moal wrote:

> Commit 3cc2ffe5c16d introduced the manage_system_start_stop scsi device
> flag to allow libata to indicate to the scsi disk driver that nothing
> should be done when resuming a disk on system resume. This change turned
> the execution of sd_resume() into a no-op for ATA devices on system
> resume. While this solved deadlock issues during device resume, this
> change also wrongly removed the execution of opal_unlock_from_suspend().
> As a result, devices with TCG OPAL locking enabled remain locked and
> inaccessible after a system resume from sleep.
> [...]

Applied to 6.9/scsi-fixes, thanks!

[1/1] scsi: sd: Fix TCG OPAL unlock on system resume

Martin K. Petersen	Oracle Linux Engineering

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux