diff mbox series

[V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M

Message ID 87y15e6n35.wl-me@linux.beauty (mailing list archive)
State Mainlined, archived
Headers show
Series [V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M | expand

Commit Message

Li Chen Aug. 3, 2024, 8:13 a.m. UTC
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(+)

Comments

Rafael J. Wysocki Aug. 26, 2024, 4:55 p.m. UTC | #1
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!
diff mbox series

Patch

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 = {