Linux 5.10.7 breaks s3 resume on opal encrypted ssd
https://bugzilla.kernel.org/show_bug.cgi?id=211227
Jens Axboe ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Block Layer |SCSI
Assignee|[email protected] |[email protected]Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211227
--- Comment #1 from Bart Van Assche ([email protected]) ---
Thank you for having reported this. Please apply the attached patch to kernel v5.11 and report which kernel warnings are reported when booting the resulting patched kernel. Please note that the attached patch is not a fix but rather an attempt to extract more information about how the SED OPAL code is incompatible with the Linux power management model.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211227
--- Comment #2 from Bart Van Assche ([email protected]) --- Created attachment 295369
--> https://bugzilla.kernel.org/attachment.cgi?id=295369&action=edit
Debug patch.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211227
--- Comment #3 from [email protected] ---
I patched kernel 5.10.17 and there was no debug messages from your patch in either the console, dmesg, or the journal. I booted with parameters no_console_suspend=1 and ignore_loglevel.
Your patch does however fix the issue.
If I boot without your patch, resume from S3 hangs and I need to reboot using alt-sysreq-b.
If I boot with your patch, resume from S3 is normal and the drive is obviously being unlocked. When power is cut from the drive during S3, it locks itself automatically and needs to be unlocked by the kernel on resume.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211227
--- Comment #4 from [email protected] ---
Forgot to mention that CONFIG_PM=y in the kernel configs that I use.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211227
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX--- Comment #5 from [email protected] ---
Fixed in 5.10.20 and 5.11.3.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.