From: Andrei Galiant <zakat1984@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>,
stable@vger.kernel.org, linux-kernel@vger.kernel.org,
Andrei Galiant <zakat1984@gmail.com>
Subject: [PATCH] ACPI: resource: Do IRQ override on MECHREV GM7RG7M
Date: Sat, 31 Oct 2026 17:41:15 +0300 [thread overview]
Message-ID: <20261031144115.4189-1-zakat1984@gmail.com> (raw)
The MECHREV Jiaolong17 Series GM7RG7M (TongFang GM7RG7M, Ryzen 7
6800H) describes the PS/2 keyboard interrupt in its DSDT as
edge-triggered, active-low and shared:
IRQ (Edge, ActiveLow, Shared) {1}
The keyboard controller actually asserts IRQ 1 active-high. On AMD
Zen systems acpi_dev_irq_override() skips the ACPI IRQ override for
GSI 1, so the IO-APIC redirection entry is programmed with the DSDT's
active-low polarity and the interrupt is never delivered: the embedded
controller still scans the matrix and places scancodes in port 0x60,
but atkbd_receive_byte() is never called and the internal keyboard is
dead under Linux, while it works in the firmware setup, in GRUB and in
Windows.
Add the board to irq1_edge_low_force_override[] so that the standard
edge/high override is applied, matching the already-listed sibling
GM7XG0M (Jiaolong17KS).
Fixes: 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms")
Cc: stable@vger.kernel.org
Tested-by: Andrei Galiant <zakat1984@gmail.com>
Signed-off-by: Andrei Galiant <zakat1984@gmail.com>
---
drivers/acpi/resource.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 56df459..0a944ba 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -553,6 +553,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
DMI_MATCH(DMI_BOARD_NAME, "GM7XG0M"),
},
},
+ {
+ /* MECHREVO Jiaolong17 Series GM7RG7M */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GM7RG7M"),
+ },
+ },
{
/* XMG APEX 17 (M23) */
.matches = {
--
2.56.0
reply other threads:[~2026-10-31 14:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261031144115.4189-1-zakat1984@gmail.com \
--to=zakat1984@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®