From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
Mario Limonciello <mario.limonciello@amd.com>,
August Wikerfors <git@augustwikerfors.se>,
Linux regressions mailing list <regressions@lists.linux.dev>,
stable@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
Date: Thu, 10 Aug 2023 16:49:32 +0200 [thread overview]
Message-ID: <CAJZ5v0h=gPsKVHJYN0PjVgqNp4BWND8Psi1y-cu3R-WYrK=45g@mail.gmail.com> (raw)
In-Reply-To: <20230810090011.104770-1-hdegoede@redhat.com>
On Thu, Aug 10, 2023 at 11:00 AM Hans de Goede <hdegoede@redhat.com> wrote:
>
> 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: a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks")
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=217394#c18
> Cc: Mario Limonciello <mario.limonciello@amd.com>
> Cc: Linux regressions mailing list <regressions@lists.linux.dev>
> Cc: All applicable <stable@vger.kernel.org>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> drivers/acpi/resource.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 8e32dd5776f5..a4d9f149b48d 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -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 },
> };
>
> --
Applied and added to the linux-next branch in linux-pm.git, thanks!
next prev parent reply other threads:[~2023-08-10 14:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 9:00 [PATCH] ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M Hans de Goede
2023-08-10 14:49 ` Rafael J. Wysocki [this message]
2023-08-11 14:11 ` Hans de Goede
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='CAJZ5v0h=gPsKVHJYN0PjVgqNp4BWND8Psi1y-cu3R-WYrK=45g@mail.gmail.com' \
--to=rafael@kernel.org \
--cc=git@augustwikerfors.se \
--cc=hdegoede@redhat.com \
--cc=linux-acpi@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=regressions@lists.linux.dev \
--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;
as well as URLs for NNTP newsgroup(s).