Skip to content

Commit 5da1846

Browse files
antheasgregkh
authored andcommitted
platform/x86/amd: pmc: Add Lenovo Legion Go 2 to pmc quirk list
[ Upstream commit f945afe ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b5a1d03 commit 5da1846

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
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
204204
DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
205205
}
206206
},
207+
/* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
208+
{
209+
.ident = "Lenovo Legion Go 2",
210+
.driver_data = &quirk_s2idle_bug,
211+
.matches = {
212+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
213+
DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
214+
}
215+
},
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, "83N1"),
222+
}
223+
},
207224
/* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
208225
{
209226
.ident = "HP Laptop 15s-eq2xxx",

0 commit comments

Comments
 (0)