]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: x86: Force StorageD3Enable on more products
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 9 May 2024 18:45:02 +0000 (13:45 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Jun 2024 18:24:07 +0000 (20:24 +0200)
commite79a10652bbd320649da705ca1ea0c04351af403
tree863de5c79c81ca48cb732bee4b7e37eb83378801
parent553352597d1c975ba7f734051f7946bffb3464c6
ACPI: x86: Force StorageD3Enable on more products

A Rembrandt-based HP thin client is reported to have problems where
the NVME disk isn't present after resume from s2idle.

This is because the NVME disk wasn't put into D3 at suspend, and
that happened because the StorageD3Enable _DSD was missing in the BIOS.

As AMD's architecture requires that the NVME is in D3 for s2idle, adjust
the criteria for force_storage_d3 to match *all* Zen SoCs when the FADT
advertises low power idle support.

This will ensure that any future products with this BIOS deficiency don't
need to be added to the allow list of overrides.

Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c