Skip to content

Commit 56fec00

Browse files
jwrdegoederafaeljw
authored andcommitted
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. Fixes: a9c4a91 ("ACPI: resource: Remove "Zen" specific match and quirks") Link: https://bugzilla.kernel.org/show_bug.cgi?id=217394#c18 Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent c6a1fd9 commit 56fec00

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/acpi/resource.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,17 @@ static const struct dmi_system_id maingear_laptop[] = {
498498
{ }
499499
};
500500

501+
static const struct dmi_system_id pcspecialist_laptop[] = {
502+
{
503+
.ident = "PCSpecialist Elimina Pro 16 M",
504+
.matches = {
505+
DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
506+
DMI_MATCH(DMI_PRODUCT_NAME, "Elimina Pro 16 M"),
507+
},
508+
},
509+
{ }
510+
};
511+
501512
static const struct dmi_system_id lg_laptop[] = {
502513
{
503514
.ident = "LG Electronics 17U70P",
@@ -523,6 +534,7 @@ static const struct irq_override_cmp override_table[] = {
523534
{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
524535
{ tongfang_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
525536
{ maingear_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
537+
{ pcspecialist_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
526538
{ lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
527539
};
528540

0 commit comments

Comments
 (0)