Skip to contentSkip to conversation

platform/x86/amd: Extend Framework 13 quirk to more BIOSes

PATCH In review Mario Limonciello 4 participants 7 messages Apr 10, 2024 – Apr 16, 2024

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

PATCH 1/1 platform/x86/amd: Extend Framework 13 quirk to more BIOSes

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Add a quirk for BIOS 03.05 as well.

---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
index b456370166b6..b4f49720c87f 100644
@@ -208,6 +208,15 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "03.03"),
 		}
 	},
+	{
+		.ident = "Framework Laptop 13 (Phoenix)",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop 13 (AMD Ryzen 7040Series)"),
+			DMI_MATCH(DMI_BIOS_VERSION, "03.05"),
+		}
+	},
 	{}
 };
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 2 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to

Sorry for the typo I meant "possibility".

Quoted 4 lines

apply to future BIOS releases.

Add a quirk for BIOS 03.05 as well.

Here is a link to the BIOS:

Also want to call out specifically "Known Issues" to show they are still working on a fix for it.

IRQ1 will always be triggered on resume from standby. This issue mostly impacts Linux users. We have a potential root cause that we hope to fix in our next release.

Quoted 25 lines
---
  drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
index b456370166b6..b4f49720c87f 100644
@@ -208,6 +208,15 @@ static const struct dmi_system_id fwbug_list[] = {
  			DMI_MATCH(DMI_BIOS_VERSION, "03.03"),
  		}
  	},
+	{
+		.ident = "Framework Laptop 13 (Phoenix)",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop 13 (AMD Ryzen 7040Series)"),
+			DMI_MATCH(DMI_BIOS_VERSION, "03.05"),
+		}
+	},
  	{}
  };
 
Reviewed-by on v1 1/1
#2 lore raw
In reply to Mario Limonciello

Hi Mario, Ilpo,

Quoted 7 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Add a quirk for BIOS 03.05 as well.

Thanks, patch looks good to me:

Ilpo, since this fixes a bug and does so based on a DMI match, so the chance for regressions is quite small, I believe it would be best to merge this through the pdx86/fixes branch, can you pick this patch up please ?

Regards,

Hans

Quoted 24 lines
---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
index b456370166b6..b4f49720c87f 100644
@@ -208,6 +208,15 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "03.03"),
 		}
 	},
+	{
+		.ident = "Framework Laptop 13 (Phoenix)",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop 13 (AMD Ryzen 7040Series)"),
+			DMI_MATCH(DMI_BIOS_VERSION, "03.05"),
+		}
+	},
 	{}
 };
 
maintainer
#3 lore raw
In reply to Mario Limonciello
Quoted 3 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Hi Mario,

Could you explain/confirm what the second sentence is supposed to mean? Mainly I mean "it won't need to apply to future", did you perhaps mean it might need to be applied still to some future versions too besides this one because the fix is still being worked on, or what?

There's also "possiblitiy" typo, in case you end up rewriting the message and send v2.

Signature · 1 line
 i.
Quoted 28 lines

Add a quirk for BIOS 03.05 as well.

---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
index b456370166b6..b4f49720c87f 100644
@@ -208,6 +208,15 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "03.03"),
 		}
 	},
+	{
+		.ident = "Framework Laptop 13 (Phoenix)",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop 13 (AMD Ryzen 7040Series)"),
+			DMI_MATCH(DMI_BIOS_VERSION, "03.05"),
+		}
+	},
 	{}
 };
 
#4 lore raw
Quoted 8 lines · Ilpo Järvinen
Quoted 3 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Hi Mario,

Quoted 8 lines

Could you explain/confirm what the second sentence is supposed to mean? Mainly I mean "it won't need to apply to future", did you perhaps mean it might need to be applied still to some future versions too besides this one because the fix is still being worked on, or what?

There's also "possiblitiy" typo, in case you end up rewriting the message and send v2.

You probably missed my follow up message in the thread, I tried to explain in more detail (and also caught the same typo; sorry!)

https://lore.kernel.org/platform-driver-x86/[email protected]/T/#mcf25cbfbd9dc5f4aace5b58c56a7f91671b2f0cc

maintainer
#5 lore raw
Quoted 14 lines · Mario Limonciello
Quoted 13 lines · Ilpo Järvinen
Quoted 3 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Hi Mario,

Could you explain/confirm what the second sentence is supposed to mean? Mainly I mean "it won't need to apply to future", did you perhaps mean it might need to be applied still to some future versions too besides this one because the fix is still being worked on, or what?

Quoted 8 lines
Quoted 3 lines

There's also "possiblitiy" typo, in case you end up rewriting the message and send v2.

You probably missed my follow up message in the thread, I tried to explain in more detail (and also caught the same typo; sorry!)

https://lore.kernel.org/platform-driver-x86/[email protected]/T/#mcf25cbfbd9dc5f4aace5b58c56a7f91671b2f0cc

Okay, I had indeed missed that (or probably seen it but didn't recall/make the connection now while I started to apply patches).

I'll fix the possibility typo while applying.

Signature · 1 line
 i.
maintainer
#6 lore raw
In reply to Mario Limonciello
Quoted 8 lines · Mario Limonciello

BIOS 03.05 still hasn't fixed the spurious IRQ1 issue. As it's still being worked on there is still a possiblitiy that it won't need to apply to future BIOS releases.

Add a quirk for BIOS 03.05 as well.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo 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: Extend Framework 13 quirk to more BIOSes

      commit: 978af6121b4b000befd9a45f5b65c00e39920273

--
i.