Skip to contentSkip to conversation

ACPI: resource: Do IRQ override on MECHREV GM7XG0M

PATCH Applied Li Chen 2 participants 2 messages Aug 3, 2024 – Aug 26, 2024 ACPI

lore
Share & tools
lore

Li Chen

author
#0 lore raw

PATCH v2 1/1 ACPI: resource: Do IRQ override on MECHREV GM7XG0M

Listed device need the override for the keyboard to work.

Fixes 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms")

---
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(+)
drivers/acpi/resource.c +6 -0
index df5d5a554b388..aa9990507f34c 100644
@@ -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 = {
Signature · 1 line
2.46.0
maintainer Applied
#1 lore raw
Quoted 25 lines · Li Chen

Listed device need the override for the keyboard to work.

Fixes 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms")

---
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(+)
drivers/acpi/resource.c +0 -0
index df5d5a554b388..aa9990507f34c 100644
@@ -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[] = {

drivers/acpi/resource.c static const struct dmi_system_id irq1_level_low_skip_override[] = {

Quoted 10 lines
drivers/acpi/resource.c +6 -1
+       {
+               /* MECHREV Jiaolong17KS Series GM7XG0M */
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GM7XG0M"),
+               },
+       },
        {
                /* XMG APEX 17 (M23) */
                .matches = {
--

Applied as 6.12 material, thanks!