ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Aug 2023 08:55:24 +0000 (10:55 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Aug 2023 19:18:46 +0000 (21:18 +0200)
commit9728ac221160c5ea111879125a7694bb81364720
tree33b7d16b3b166bb4e4a995c7f777c73b6914d062
parent2d331a6ac4815e2e2fe5f2d80d908566e57797cc
ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs

All the cases, were the DSDT IRQ settings should be used instead of
the MADT override, are for IRQ 1 or 12, the PS/2 kbd resp. mouse IRQs.

Simplify things by always honering the override for other legacy IRQs
(for non DMI quirked cases).

This allows removing the DMI quirks to honor the override for
some non i8042 IRQs on some AMD ZEN based Lenovo models.

Fixes: a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks")
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>
drivers/acpi/resource.c