lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <MN0PR12MB610129485F9ACA8DF1321B26E21AA@MN0PR12MB6101.namprd12.prod.outlook.com>
Date:   Thu, 17 Aug 2023 16:25:10 +0000
From:   "Limonciello, Mario" <Mario.Limonciello@....com>
To:     "Rafael J. Wysocki" <rafael@...nel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
        "regressions@...ts.linux.dev" <regressions@...ts.linux.dev>,
        August Wikerfors <git@...ustwikerfors.se>,
        Hans de Goede <hdegoede@...hat.com>
Subject: RE: [PATCH] ACPI: resource: Add a quirk for Lenovo Yoga 7 14ARB7

[AMD Official Use Only - General]

> -----Original Message-----
> From: Rafael J. Wysocki <rafael@...nel.org>
> Sent: Thursday, August 17, 2023 11:24 AM
> To: Limonciello, Mario <Mario.Limonciello@....com>
> Cc: rafael@...nel.org; linux-kernel@...r.kernel.org; linux-
> acpi@...r.kernel.org; regressions@...ts.linux.dev; August Wikerfors
> <git@...ustwikerfors.se>; Hans de Goede <hdegoede@...hat.com>
> Subject: Re: [PATCH] ACPI: resource: Add a quirk for Lenovo Yoga 7 14ARB7
>
> On Fri, Jul 28, 2023 at 8:58 PM Mario Limonciello
> <mario.limonciello@....com> wrote:
> >
> > Lenovo Yoga 7 needs to have keyboard interrupt signaling polarity
> > is incorrect in the MADT and the value from the DSDT should be used.
> >
> > Reported-by: August Wikerfors <git@...ustwikerfors.se>
> > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217718
> > Fixes: a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and
> quirks")
> > Signed-off-by: Mario Limonciello <mario.limonciello@....com>
>
> Is this still needed after the recent changes from Hans?

No, it's not thanks for checking.

>
> > ---
> >  drivers/acpi/resource.c | 12 ++++++++++++
> >  1 file changed, 12 insertions(+)
> >
> > diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> > index 1dd8d5aebf678..1a826419d5837 100644
> > --- a/drivers/acpi/resource.c
> > +++ b/drivers/acpi/resource.c
> > @@ -481,6 +481,17 @@ static const struct dmi_system_id lg_laptop[] = {
> >         { }
> >  };
> >
> > +static const struct dmi_system_id lenovo_laptop[] = {
> > +       {
> > +               .ident = "Lenovo Yoga 7 14ARB7",
> > +               .matches = {
> > +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> > +                       DMI_MATCH(DMI_PRODUCT_NAME, "82QF"),
> > +               },
> > +       },
> > +       { }
> > +};
> > +
> >  struct irq_override_cmp {
> >         const struct dmi_system_id *system;
> >         unsigned char irq;
> > @@ -494,6 +505,7 @@ static const struct irq_override_cmp
> override_table[] = {
> >         { medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false
> },
> >         { asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
> >         { lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
> > +       { lenovo_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 1,
> false}
> >  };
> >
> >  static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity,
> > --
> > 2.34.1
> >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ