All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
@ 2024-04-10 14:10 Mario Limonciello
  2024-04-10 16:34 ` Mario Limonciello
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mario Limonciello @ 2024-04-10 14:10 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: open list:X86 PLATFORM DRIVERS, Shyam Sundar S K,
	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.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
index b456370166b6..b4f49720c87f 100644
--- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
+++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
@@ -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"),
+		}
+	},
 	{}
 };
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-10 14:10 [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes Mario Limonciello
@ 2024-04-10 16:34 ` Mario Limonciello
  2024-04-15 13:54 ` Hans de Goede
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Mario Limonciello @ 2024-04-10 16:34 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: open list:X86 PLATFORM DRIVERS, Shyam Sundar S K

On 4/10/2024 09:10, Mario Limonciello wrote:
> 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".

> apply to future BIOS releases.
> 
> Add a quirk for BIOS 03.05 as well.
> 

Here is a link to the BIOS:

Link: 
https://community.frame.work/t/framework-laptop-13-ryzen-7040-bios-3-05-release-and-driver-bundle-beta/48276

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.


> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
> ---
>   drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> index b456370166b6..b4f49720c87f 100644
> --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
> +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> @@ -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"),
> +		}
> +	},
>   	{}
>   };
>   


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-10 14:10 [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes Mario Limonciello
  2024-04-10 16:34 ` Mario Limonciello
@ 2024-04-15 13:54 ` Hans de Goede
  2024-04-16 12:24 ` Ilpo Järvinen
  2024-04-16 12:44 ` Ilpo Järvinen
  3 siblings, 0 replies; 7+ messages in thread
From: Hans de Goede @ 2024-04-15 13:54 UTC (permalink / raw)
  To: Mario Limonciello, Ilpo Järvinen
  Cc: open list:X86 PLATFORM DRIVERS, Shyam Sundar S K

Hi Mario, Ilpo,

On 4/10/24 4:10 PM, Mario Limonciello wrote:
> 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.
> 
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

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



> ---
>  drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> index b456370166b6..b4f49720c87f 100644
> --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
> +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> @@ -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"),
> +		}
> +	},
>  	{}
>  };
>  


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-10 14:10 [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes Mario Limonciello
  2024-04-10 16:34 ` Mario Limonciello
  2024-04-15 13:54 ` Hans de Goede
@ 2024-04-16 12:24 ` Ilpo Järvinen
  2024-04-16 12:37   ` Mario Limonciello
  2024-04-16 12:44 ` Ilpo Järvinen
  3 siblings, 1 reply; 7+ messages in thread
From: Ilpo Järvinen @ 2024-04-16 12:24 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Hans de Goede, open list:X86 PLATFORM DRIVERS, Shyam Sundar S K

On Wed, 10 Apr 2024, Mario Limonciello wrote:

> 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.

-- 
 i.


> Add a quirk for BIOS 03.05 as well.
> 
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
> ---
>  drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> index b456370166b6..b4f49720c87f 100644
> --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
> +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> @@ -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"),
> +		}
> +	},
>  	{}
>  };
>  
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-16 12:24 ` Ilpo Järvinen
@ 2024-04-16 12:37   ` Mario Limonciello
  2024-04-16 12:42     ` Ilpo Järvinen
  0 siblings, 1 reply; 7+ messages in thread
From: Mario Limonciello @ 2024-04-16 12:37 UTC (permalink / raw)
  To: Ilpo Järvinen, Mario Limonciello
  Cc: Hans de Goede, open list:X86 PLATFORM DRIVERS, Shyam Sundar S K



On 4/16/24 07:24, Ilpo Järvinen wrote:
> On Wed, 10 Apr 2024, Mario Limonciello wrote:
> 
>> 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.
> 

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/ace9e5fe-0565-b24d-5394-ba4bd9f4305c@linux.intel.com/T/#mcf25cbfbd9dc5f4aace5b58c56a7f91671b2f0cc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-16 12:37   ` Mario Limonciello
@ 2024-04-16 12:42     ` Ilpo Järvinen
  0 siblings, 0 replies; 7+ messages in thread
From: Ilpo Järvinen @ 2024-04-16 12:42 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Mario Limonciello, Hans de Goede, open list:X86 PLATFORM DRIVERS,
	Shyam Sundar S K

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

On Tue, 16 Apr 2024, Mario Limonciello wrote:
> On 4/16/24 07:24, Ilpo Järvinen wrote:
> > On Wed, 10 Apr 2024, Mario Limonciello wrote:
> > 
> > > 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.
> > 
> 
> 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/ace9e5fe-0565-b24d-5394-ba4bd9f4305c@linux.intel.com/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.

-- 
 i.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes
  2024-04-10 14:10 [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes Mario Limonciello
                   ` (2 preceding siblings ...)
  2024-04-16 12:24 ` Ilpo Järvinen
@ 2024-04-16 12:44 ` Ilpo Järvinen
  3 siblings, 0 replies; 7+ messages in thread
From: Ilpo Järvinen @ 2024-04-16 12:44 UTC (permalink / raw)
  To: Hans de Goede, Mario Limonciello
  Cc: open list:X86 PLATFORM DRIVERS, Shyam Sundar S K

On Wed, 10 Apr 2024 09:10:46 -0500, Mario Limonciello wrote:

> 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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-16 12:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 14:10 [PATCH] platform/x86/amd: Extend Framework 13 quirk to more BIOSes Mario Limonciello
2024-04-10 16:34 ` Mario Limonciello
2024-04-15 13:54 ` Hans de Goede
2024-04-16 12:24 ` Ilpo Järvinen
2024-04-16 12:37   ` Mario Limonciello
2024-04-16 12:42     ` Ilpo Järvinen
2024-04-16 12:44 ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.