Skip to content

Commit f945afe

Browse files
antheasij-intel
authored andcommitted
platform/x86/amd: pmc: Add Lenovo Legion Go 2 to pmc quirk list
The Lenovo Legion Go 2 takes a long time to resume from suspend. This is due to it having an nvme resume handler that interferes with IOMMU mappings. It is a common issue with older Lenovo laptops. Adding it to that quirk list fixes this issue. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4618 Suggested-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20251008135057.731928-1-lkml@antheas.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent c0ddc54 commit f945afe

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

drivers/platform/x86/amd/pmc/pmc-quirks.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,23 @@ static const struct dmi_system_id fwbug_list[] = {
212212
DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
213213
}
214214
},
215+
/* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
216+
{
217+
.ident = "Lenovo Legion Go 2",
218+
.driver_data = &quirk_s2idle_bug,
219+
.matches = {
220+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
221+
DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
222+
}
223+
},
224+
{
225+
.ident = "Lenovo Legion Go 2",
226+
.driver_data = &quirk_s2idle_bug,
227+
.matches = {
228+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
229+
DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
230+
}
231+
},
215232
/* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
216233
{
217234
.ident = "HP Laptop 15s-eq2xxx",

0 commit comments

Comments
 (0)