ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable
PATCH 1/1 ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable
Picasso was the first APU that introduced s2idle support from AMD, and it was predating before vendors started to use StorageD3Enable in their firmware.
Windows doesn't have problems with this hardware and NVME so it was likely on the list of hardcoded CPUs to use this behavior in Windows.
Add it to the list for Linux to avoid NVME resume issues.
--- drivers/acpi/x86/utils.c | 1 + 1 file changed, 1 insertion(+)
drivers/acpi/x86/utils.c +1 -0
@@ -213,6 +213,7 @@ bool acpi_device_override_status(struct acpi_device *adev, unsigned long long *sdisk in the system. */ static const struct x86_cpu_id storage_d3_cpu_ids[] = { +X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,24 ,NULL ),/* Picasso */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,96 ,NULL ),/* Renoir */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,104 ,NULL ),/* Lucienne */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,25 ,80 ,NULL ),/* Cezanne */
Signature · 1 line
2.34.1
Quoted 22 lines · Mario Limonciello
Picasso was the first APU that introduced s2idle support from AMD, and it was predating before vendors started to use
StorageD3Enablein their firmware.Windows doesn't have problems with this hardware and NVME so it was likely on the list of hardcoded CPUs to use this behavior in Windows.
Add it to the list for Linux to avoid NVME resume issues.
Reported-by Stuart Axon <[email protected]>Signed-off-by Mario Limonciello <[email protected]>--- drivers/acpi/x86/utils.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/x86/utils.c +0
-0
drivers/acpi/x86/utils.c bool acpi_device_override_status(struct acpi_device *adev, unsigned long long *s
Quoted 8 lines
drivers/acpi/x86/utils.c +1
-1@@ -213,6 +213,7 @@ bool acpi_device_override_status(struct acpi_device *adev, unsigned long long *sdisk in the system. */ static const struct x86_cpu_id storage_d3_cpu_ids[] = { +X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,24 ,NULL ),/* Picasso */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,96 ,NULL ),/* Renoir */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,23 ,104 ,NULL ),/* Lucienne */ X86_MATCH_VENDOR_FAM_MODEL (AMD ,25 ,80 ,NULL ),/* Cezanne */ --
Applied as 6.4 material, thanks!