Hi Rafael, Hui and all others,
thank you very much for your time, thoughts and work, again!
The new [PATCH v2] works as well on here as the previous one.
Keep my "Tested-by" attribute.
@Rafael: Do you see risks with this patch or the need for further
improvements? If not, can you, please, push this patch towards
kernel inclusion?
@Hui: Are you going to publish the updated patch on bugzilla or
should I upload it? -- Many thanks for your recent quick actions!
Best regards,
Manuel
On 14/09/2021 15:34, Hui Wang wrote:
After the commit 0ec4e55e9f57 ("ACPI: resources: Add checks for ACPI
IRQ override") is reverted, the keyboard of those Medion laptops can't
work again.
To fix the keyboard issue, here adding an override check by DMI info,
this will not affect other machines and this design refers to
the prt_quirks[] in the drivers/acpi/pci_irq.c.
If we meet similar issues on other platforms, we could expand the
table of skip_override_table[] or medion_laptop[].
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213031
BugLink: http://bugs.launchpad.net/bugs/1909814
Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Reported-by: Manuel Krause <manuelkrause@xxxxxxxxxxxx>
Tested-by: Manuel Krause <manuelkrause@xxxxxxxxxxxx>
Signed-off-by: Hui Wang <hui.wang@xxxxxxxxxxxxx>
---
drivers/acpi/resource.c | 51 +++++++++++++++++++++++++++++++++++++++--
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index ee78a210c606..676254ccac4d 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
[...]