Skip to contentSkip to conversation

ACPI: resource: Fix IRQ override quirk for PCSpecialist Elimina Pro 16 M

PATCH Applied Hans de Goede 2 participants 2 messages Aug 21, 2023

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

PATCH 1/1 ACPI: resource: Fix IRQ override quirk for PCSpecialist Elimina Pro 16 M

It turns out that some PCSpecialist Elimina Pro 16 M models have "GM6BGEQ" as DMI product-name instead of "Elimina Pro 16 M", causing the existing DMI quirk to not work on these models.

The DMI board-name is always "GM6BGEQ", so match on that instead.

Fixes 56fec0051a69 ("ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M")
Cc All applicable <[email protected]>
---
 drivers/acpi/resource.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/acpi/resource.c +5 -1
index a4d9f149b48d..32cfa3f4efd3 100644
@@ -501,9 +501,13 @@ static const struct dmi_system_id maingear_laptop[] = {
 static const struct dmi_system_id pcspecialist_laptop[] = {
 	{
 		.ident = "PCSpecialist Elimina Pro 16 M",
+		/*
+		 * Some models have product-name "Elimina Pro 16 M",
+		 * others "GM6BGEQ". Match on board-name to match both.
+		 */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Elimina Pro 16 M"),
+			DMI_MATCH(DMI_BOARD_NAME, "GM6BGEQ"),
 		},
 	},
 	{ }
Signature · 1 line
2.41.0
maintainer Applied
#1 lore raw
Quoted 25 lines · Hans de Goede

It turns out that some PCSpecialist Elimina Pro 16 M models have "GM6BGEQ" as DMI product-name instead of "Elimina Pro 16 M", causing the existing DMI quirk to not work on these models.

The DMI board-name is always "GM6BGEQ", so match on that instead.

Fixes 56fec0051a69 ("ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M")
Cc All applicable <[email protected]>
---
 drivers/acpi/resource.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/acpi/resource.c +2 -0
index a4d9f149b48d..32cfa3f4efd3 100644
@@ -501,9 +501,13 @@ static const struct dmi_system_id maingear_laptop[] = {
 static const struct dmi_system_id pcspecialist_laptop[] = {
        {
                .ident = "PCSpecialist Elimina Pro 16 M",
+               /*
+                * Some models have product-name "Elimina Pro 16 M",

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

Quoted 10 lines
drivers/acpi/resource.c +3 -2
+                * others "GM6BGEQ". Match on board-name to match both.
+                */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "Elimina Pro 16 M"),
+                       DMI_MATCH(DMI_BOARD_NAME, "GM6BGEQ"),
                },
        },
        { }
--

Applied as 6.5-rc material, thanks!