** 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/20250424043232.1848107-1-supe...@kernel.org/ + 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 + 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.
** Tags added: jira-wtn-245 oem-priority wtn -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2110090 Title: System will restart while resuming with SATA HDD or nvme installed with password set Status in HWE Next: New Status in linux package in Ubuntu: New Status in linux-oem-6.11 package in Ubuntu: New Status in linux source package in Noble: In Progress Status in linux-oem-6.11 source package in Noble: In Progress Status in linux source package in Plucky: In Progress Status in linux-oem-6.11 source package in Plucky: Invalid Bug description: [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/20250424043232.1848107-1-supe...@kernel.org/ 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/2110090/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp