ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
Subsystems (3)
PATCH 1/1 ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
The PCSpecialist Elimina Pro 16 M laptop model is a Zen laptop which needs to use the MADT IRQ settings override and which does not have an INT_SRC_OVR entry for IRQ 1 in its MADT.
So this model needs a DMI quirk to enable the MADT IRQ settings override to fix its keyboard not working.
--- drivers/acpi/resource.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
drivers/acpi/resource.c +12 -0
@@ -498,6 +498,17 @@ static const struct dmi_system_id maingear_laptop[] = { { } }; +static const struct dmi_system_id pcspecialist_laptop[] = { + { + .ident ="PCSpecialist Elimina Pro 16 M" , + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"PCSpecialist" ), +DMI_MATCH (DMI_PRODUCT_NAME ,"Elimina Pro 16 M" ), + }, + }, + { } +}; +static const struct dmi_system_id lg_laptop[] = { { .ident ="LG Electronics 17U70P" ,
@@ -523,6 +534,7 @@ static const struct irq_override_cmp override_table[] = { { asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, { tongfang_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { maingear_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, + { pcspecialist_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, };
Signature · 1 line
2.41.0
Rafael J. Wysocki
maintainerQuoted 41 lines · Hans de Goede
The PCSpecialist Elimina Pro 16 M laptop model is a Zen laptop which needs to use the MADT IRQ settings override and which does not have an
INT_SRC_OVRentry for IRQ 1 in its MADT.So this model needs a DMI quirk to enable the MADT IRQ settings override to fix its keyboard not working.
Fixes a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks")Cc Mario Limonciello <[email protected]>Cc Linux regressions mailing list <[email protected]>Cc All applicable <[email protected]>Signed-off-by Hans de Goede <[email protected]>--- drivers/acpi/resource.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)drivers/acpi/resource.c +11
-0@@ -498,6 +498,17 @@ static const struct dmi_system_id maingear_laptop[] = { { } }; +static const struct dmi_system_id pcspecialist_laptop[] = { + { + .ident ="PCSpecialist Elimina Pro 16 M" , + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"PCSpecialist" ), +DMI_MATCH (DMI_PRODUCT_NAME ,"Elimina Pro 16 M" ), + }, + }, + { } +}; +static const struct dmi_system_id lg_laptop[] = { { .ident ="LG Electronics 17U70P" ,
drivers/acpi/resource.c static const struct irq_override_cmp override_table[] = {
Quoted 8 lines
drivers/acpi/resource.c +1
-1@@ -523,6 +534,7 @@ static const struct irq_override_cmp override_table[] = { { asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, { tongfang_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { maingear_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, + { pcspecialist_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, }; --
Applied and added to the linux-next branch in linux-pm.git, thanks!
Hi,
Quoted 7 lines · Hans de Goede
The PCSpecialist Elimina Pro 16 M laptop model is a Zen laptop which needs to use the MADT IRQ settings override and which does not have an
INT_SRC_OVRentry for IRQ 1 in its MADT.So this model needs a DMI quirk to enable the MADT IRQ settings override to fix its keyboard not working.
Quoted 6 lines
Fixes a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks")Cc Mario Limonciello <[email protected]>Cc Linux regressions mailing list <[email protected]>Cc All applicable <[email protected]>Signed-off-by Hans de Goede <[email protected]>
I have received confirmation from the reporter that this bug *avoids* things regressing on the PCSpecialist Elimina Pro 16 M after reverting a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks").
Regards,
Hans
Quoted 34 lines
--- drivers/acpi/resource.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)drivers/acpi/resource.c +12
-0@@ -498,6 +498,17 @@ static const struct dmi_system_id maingear_laptop[] = { { } }; +static const struct dmi_system_id pcspecialist_laptop[] = { + { + .ident ="PCSpecialist Elimina Pro 16 M" , + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"PCSpecialist" ), +DMI_MATCH (DMI_PRODUCT_NAME ,"Elimina Pro 16 M" ), + }, + }, + { } +}; +static const struct dmi_system_id lg_laptop[] = { { .ident ="LG Electronics 17U70P" ,@@ -523,6 +534,7 @@ static const struct irq_override_cmp override_table[] = { { asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, { tongfang_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { maingear_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, + { pcspecialist_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true }, { lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false }, };