Skip to contentSkip to conversation

platform/x86/amd: pmc: Add Lenovo Legion Go 2 to pmc quirk list

PATCH In review Antheas Kapenekakis 3 participants 6 messages Oct 8, 2025 – Nov 5, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +17 -0
index d63aaad7ef59..0fadcf5f288a 100644
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
 		}
 	},
+	/* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
+	{
+		.ident = "Lenovo Legion Go 2",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
+		}
+	},
+	{
+		.ident = "Lenovo Legion Go 2",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
+		}
+	},
 	/* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
 	{
 		.ident = "HP Laptop 15s-eq2xxx",

base-commit: a8cdf51cda30f7461a98af821e8a28c5cb5f8878

Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Antheas Kapenekakis

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.

This makes sense for BIOS in the field.
If this is fixed in the BIOS later I'd like to narrow the quirk at a later time.

Quoted 34 lines
---
  drivers/platform/x86/amd/pmc/pmc-quirks.c | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +17 -0
index d63aaad7ef59..0fadcf5f288a 100644
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
  			DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
  		}
  	},
+	/* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
+	{
+		.ident = "Lenovo Legion Go 2",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
+		}
+	},
+	{
+		.ident = "Lenovo Legion Go 2",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
+		}
+	},
  	/* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
  	{
  		.ident = "HP Laptop 15s-eq2xxx",

base-commit: a8cdf51cda30f7461a98af821e8a28c5cb5f8878

#2 lore raw
Quoted 7 lines · Mario Limonciello
Quoted 5 lines · Antheas Kapenekakis

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.

Quoted 7 lines
Quoted 3 lines

This makes sense for BIOS in the field.
If this is fixed in the BIOS later I'd like to narrow the quirk at a later time.

That would be ideal. Especially since the issue is known and fixed in Lenovo laptops from the last three years so it should be easy to fix. Currently, there are two BIOS versions that would need quirking, RRCN11WW, RRCN10WW.

What are the side effects from blocking the Nvme handler? Other than OPAL support handled by the built in BIOS, which is a semi-antifeature for a device like this.

I should note that there are other pressing issues with the device. Users report HDR brightness is not at correct levels compared to Windows and the brightness slider sometimes breaks after sleep.

HDR brightness might be a bug in Bazzite specifically, due to a blanket quirk we apply to disable the PQ curve on internal displays (essentially the panel that had the brightness bug on e.g. Zotac Zone also reports supporting PQ but it does not). I disabled it for the Go 2 but have not double checked it is disabled due to not having a device. Users said there was an improvement after disabling it though.

Antheas

Quoted 38 lines
Quoted 34 lines
---
  drivers/platform/x86/amd/pmc/pmc-quirks.c | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +17 -0
index d63aaad7ef59..0fadcf5f288a 100644
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
                      DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
              }
      },
+     /* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
+             }
+     },
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
+             }
+     },
      /* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
      {
              .ident = "HP Laptop 15s-eq2xxx",

base-commit: a8cdf51cda30f7461a98af821e8a28c5cb5f8878

#3 lore raw
Quoted 16 lines · Antheas Kapenekakis
Quoted 7 lines · Mario Limonciello
Quoted 5 lines · Antheas Kapenekakis

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.

Quoted 7 lines
Quoted 3 lines

This makes sense for BIOS in the field.
If this is fixed in the BIOS later I'd like to narrow the quirk at a later time.

Quoted 8 lines

That would be ideal. Especially since the issue is known and fixed in Lenovo laptops from the last three years so it should be easy to fix. Currently, there are two BIOS versions that would need quirking, RRCN11WW, RRCN10WW.

What are the side effects from blocking the Nvme handler? Other than OPAL support handled by the built in BIOS, which is a semi-antifeature for a device like this.

The inability to use a storage password is the only side effect I'm aware of. Given the form factor I tend to agree it's not "high priority" and thus this quirk makes sense.

Quoted 5 lines

I should note that there are other pressing issues with the device. Users report HDR brightness is not at correct levels compared to Windows and the brightness slider sometimes breaks after sleep.

Quoted 7 lines

HDR brightness might be a bug in Bazzite specifically, due to a blanket quirk we apply to disable the PQ curve on internal displays (essentially the panel that had the brightness bug on e.g. Zotac Zone also reports supporting PQ but it does not). I disabled it for the Go 2 but have not double checked it is disabled due to not having a device. Users said there was an improvement after disabling it though.

Wrong audience for this issue. I would raise this for discussion on dri-devel if it happens on a mainline kernel without extra distro specific quirks added.

Quoted 41 lines

Antheas

Quoted 38 lines
Quoted 34 lines
---
   drivers/platform/x86/amd/pmc/pmc-quirks.c | 17 +++++++++++++++++
   1 file changed, 17 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +17 -0
index d63aaad7ef59..0fadcf5f288a 100644
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
                       DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
               }
       },
+     /* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
+             }
+     },
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
+             }
+     },
       /* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
       {
               .ident = "HP Laptop 15s-eq2xxx",

base-commit: a8cdf51cda30f7461a98af821e8a28c5cb5f8878

#4 lore raw
Quoted 43 lines · Mario Limonciello
Quoted 16 lines · Antheas Kapenekakis
Quoted 7 lines · Mario Limonciello
Quoted 5 lines · Antheas Kapenekakis

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.

Quoted 7 lines
Quoted 3 lines

This makes sense for BIOS in the field.
If this is fixed in the BIOS later I'd like to narrow the quirk at a later time.

Quoted 8 lines

That would be ideal. Especially since the issue is known and fixed in Lenovo laptops from the last three years so it should be easy to fix. Currently, there are two BIOS versions that would need quirking, RRCN11WW, RRCN10WW.

What are the side effects from blocking the Nvme handler? Other than OPAL support handled by the built in BIOS, which is a semi-antifeature for a device like this.

The inability to use a storage password is the only side effect I'm aware of. Given the form factor I tend to agree it's not "high priority" and thus this quirk makes sense.

Quoted 5 lines

I should note that there are other pressing issues with the device. Users report HDR brightness is not at correct levels compared to Windows and the brightness slider sometimes breaks after sleep.

Quoted 7 lines

HDR brightness might be a bug in Bazzite specifically, due to a blanket quirk we apply to disable the PQ curve on internal displays (essentially the panel that had the brightness bug on e.g. Zotac Zone also reports supporting PQ but it does not). I disabled it for the Go 2 but have not double checked it is disabled due to not having a device. Users said there was an improvement after disabling it though.

Quoted 3 lines

Wrong audience for this issue. I would raise this for discussion on dri-devel if it happens on a mainline kernel without extra distro specific quirks added.

The reason I raise this here is to say since the device has more pressing issues currently, a BIOS fix for OPAL should be prioritized accordingly.

I do not have a dev unit so I cannot reproduce these two issues and user reporting is inconsistent so I will leave it there. The PQ quirk is in gamescope, where the issue might very well be.

Quoted 43 lines
Quoted 41 lines

Antheas

Quoted 38 lines
Quoted 34 lines
---
   drivers/platform/x86/amd/pmc/pmc-quirks.c | 17 +++++++++++++++++
   1 file changed, 17 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +17 -0
index d63aaad7ef59..0fadcf5f288a 100644
@@ -204,6 +204,23 @@ static const struct dmi_system_id fwbug_list[] = {
                       DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
               }
       },
+     /* https://gitlab.freedesktop.org/drm/amd/-/issues/4618 */
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N0"),
+             }
+     },
+     {
+             .ident = "Lenovo Legion Go 2",
+             .driver_data = &quirk_s2idle_bug,
+             .matches = {
+                     DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "83N1"),
+             }
+     },
       /* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
       {
               .ident = "HP Laptop 15s-eq2xxx",

base-commit: a8cdf51cda30f7461a98af821e8a28c5cb5f8878

maintainer
#5 lore raw
In reply to Antheas Kapenekakis
Quoted 6 lines · Antheas Kapenekakis

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.

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86/amd: pmc: Add Lenovo Legion Go 2 to pmc quirk list

      commit: ad537973e63dbd8fa1342489c818ab26cf447649

--
i.