[1/2] ACPI: x86: Add more systems to quirk list for forcing StorageD3Enable

Message ID 20230213213537.6121-1-mario.limonciello@amd.com
State New
Headers
Series [1/2] ACPI: x86: Add more systems to quirk list for forcing StorageD3Enable |

Commit Message

Mario Limonciello Feb. 13, 2023, 9:35 p.m. UTC
  commit 018d6711c26e4 ("ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1
for StorageD3Enable") introduced a quirk to allow a system with ambiguous
use of _ADR 0 to force StorageD3Enable.

David Alvarez Lombardi reports that Inspiron 14 5425 suffers that same
symptoms. Add this other system to the list as well.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216773
Reported-by: David Alvarez Lombardi <dqalombardi@proton.me>
Tested-by: victor.bonnelle@proton.me
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/acpi/x86/utils.c | 7 +++++++
 1 file changed, 7 insertions(+)
  

Patch

diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c
index d7d3f1669d4c0..3409ce6513afa 100644
--- a/drivers/acpi/x86/utils.c
+++ b/drivers/acpi/x86/utils.c
@@ -213,12 +213,19 @@  static const struct dmi_system_id force_storage_d3_dmi[] = {
 		 * _ADR is ambiguous between GPP1.DEV0 and GPP1.NVME
 		 * but .NVME is needed to get StorageD3Enable node
 		 * https://bugzilla.kernel.org/show_bug.cgi?id=216440
+		 * https://bugzilla.kernel.org/show_bug.cgi?id=216773
 		 */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
 			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 14 7425 2-in-1"),
 		}
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 14 5425"),
+		}
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),