public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M
@ 2024-08-03  8:13 Li Chen
  2024-08-26 16:55 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Li Chen @ 2024-08-03  8:13 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel


Listed device need the override for the keyboard to work.

Cc: stable@vger.kernel.org
Fixes: 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms")
Signed-off-by: Li Chen <me@linux.beauty>
---
Changes since V1: 
[1] https://lore.kernel.org/lkml/MN0PR12MB610178FBE11426B042C61A24E22AA@MN0PR12MB6101.namprd12.prod.outlook.com/T/

- replace DMI_SYS_VENDOR + DMI_PRODUCT_NAME with DMI_BOARD_NAME
- rebase on top of next-20240802

 drivers/acpi/resource.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index df5d5a554b388..aa9990507f34c 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -554,6 +554,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
  * to have a working keyboard.
  */
 static const struct dmi_system_id irq1_edge_low_force_override[] = {
+	{
+		/* MECHREV Jiaolong17KS Series GM7XG0M */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GM7XG0M"),
+		},
+	},
 	{
 		/* XMG APEX 17 (M23) */
 		.matches = {
-- 
2.46.0


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

* Re: [PATCH V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M
  2024-08-03  8:13 [PATCH V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M Li Chen
@ 2024-08-26 16:55 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2024-08-26 16:55 UTC (permalink / raw)
  To: Li Chen; +Cc: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel

On Sat, Aug 3, 2024 at 10:13 AM Li Chen <me@linux.beauty> wrote:
>
>
> Listed device need the override for the keyboard to work.
>
> Cc: stable@vger.kernel.org
> Fixes: 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms")
> Signed-off-by: Li Chen <me@linux.beauty>
> ---
> Changes since V1:
> [1] https://lore.kernel.org/lkml/MN0PR12MB610178FBE11426B042C61A24E22AA@MN0PR12MB6101.namprd12.prod.outlook.com/T/
>
> - replace DMI_SYS_VENDOR + DMI_PRODUCT_NAME with DMI_BOARD_NAME
> - rebase on top of next-20240802
>
>  drivers/acpi/resource.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index df5d5a554b388..aa9990507f34c 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -554,6 +554,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
>   * to have a working keyboard.
>   */
>  static const struct dmi_system_id irq1_edge_low_force_override[] = {
> +       {
> +               /* MECHREV Jiaolong17KS Series GM7XG0M */
> +               .matches = {
> +                       DMI_MATCH(DMI_BOARD_NAME, "GM7XG0M"),
> +               },
> +       },
>         {
>                 /* XMG APEX 17 (M23) */
>                 .matches = {
> --

Applied as 6.12 material, thanks!

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

end of thread, other threads:[~2024-08-26 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03  8:13 [PATCH V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M Li Chen
2024-08-26 16:55 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox