** Description changed:

  [Impact]
  The BIOS PCI device configuration and restoration during modern standby 
resume will check the ACPI function _REG value, expecting it to be 
0x2(PCI_Config), and it returned by the operating system.
  
  The Windows will return 0x2 (PCI_Config) and than PCI device
  configuration and restoration function will completely, But the Ubuntu
  return 0x3 (EmbeddedControl) which cause SATA HDD password unlock
  function to not work during Modern Standby resume.
  
  [Fix]
  The commit which will be included in v6.16 explicitly set all devices into D0 
during initialization, so that _REG method works as expected.
  https://lore.kernel.org/all/[email protected]/
  4d4c10f763d78 PCI: Explicitly put devices into D0 when initializing
  
  [Test]
- 1. Install ubuntu 2404 on any machine, and enabled SATA HDD password.  
-    1.1 connect SATA HDD on system
-    1.2 press F2 enter BIOS menu
-    1.3 choose the menu “Passwords“ in the left side
-    1.4 setup passowrd in “Internal HDD Passward“
-    1.5 save setting and boot into OS
+ 1. Install ubuntu 2404 on any machine(the issue has been found on Dell Pro 
Micro Mini PC with AMD Ryzen Processors), and enabled SATA HDD password.
+    1.1 connect SATA HDD on system
+    1.2 press F2 enter BIOS menu
+    1.3 choose the menu “Passwords“ in the left side
+    1.4 setup passowrd in “Internal HDD Passward“
+    1.5 save setting and boot into OS
  2. After resume from suspend with w/ SATA HDD installed and hdd password set.
  3. The machine should keep working and the SATA HDD could be accessed
  
  [Where problems could occur]
  It's trivial to set the device to D0 state while iniailizing, I don't see it 
could lead to any regression.

** Changed in: linux (Ubuntu)
       Status: New => Invalid

** Changed in: linux-oem-6.11 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110090

Title:
  System will restart while resuming with SATA HDD or nvme installed
  with password set

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2110090/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to