Skip to contentSkip to conversation

platform/x86: thinkpad_acpi: Add a few more models to s2idle quirk list

PATCH In review Mario Limonciello 2 participants 2 messages May 3, 2022 – May 6, 2022 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: thinkpad_acpi: Add a few more models to s2idle quirk list

Users have reported that there are a few other DMI strings that T14 can go by, and so these models should also pick up the quirk to avoid the s2idle firmware bug.

---
 drivers/platform/x86/thinkpad_acpi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
drivers/platform/x86/thinkpad_acpi.c +16 -0
index 2833609fade7..f3554068dd1e 100644
@@ -4463,6 +4463,22 @@ static const struct dmi_system_id fwbug_list[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "20UD"),
 		}
 	},
+	{
+		.ident = "T14 Gen1 AMD",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "20UE"),
+		}
+	},
+	{
+		.ident = "T14s Gen1 AMD",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "20UH"),
+		}
+	},
 	{
 		.ident = "P14s Gen1 AMD",
 		.driver_data = &quirk_s2idle_bug,
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 5 lines · Mario Limonciello

Users have reported that there are a few other DMI strings that T14 can go by, and so these models should also pick up the quirk to avoid the s2idle firmware bug.

Thanks, since the original patch was still in my review-hans branch (and not yet in for-next) I've squashed this fix into the original patch.

This squashing will hopefully make backporting these fixes easier.

Regards,

Hans

Quoted 31 lines
---
 drivers/platform/x86/thinkpad_acpi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
drivers/platform/x86/thinkpad_acpi.c +16 -0
index 2833609fade7..f3554068dd1e 100644
@@ -4463,6 +4463,22 @@ static const struct dmi_system_id fwbug_list[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "20UD"),
 		}
 	},
+	{
+		.ident = "T14 Gen1 AMD",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "20UE"),
+		}
+	},
+	{
+		.ident = "T14s Gen1 AMD",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "20UH"),
+		}
+	},
 	{
 		.ident = "P14s Gen1 AMD",
 		.driver_data = &quirk_s2idle_bug,