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: <CAJZ5v0hXbLaw7vqLGxjpnAgen4r1sz6neKWk2gEzi97DX95cBg@mail.gmail.com>
Date: Wed, 13 Nov 2024 13:03:55 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Jonathan Denose <jdenose@...gle.com>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-acpi@...r.kernel.org, 
	Len Brown <lenb@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH] ACPI: video: force native for Apple MacbookPro11,2 and Air7,2

On Tue, Nov 12, 2024 at 11:25 PM Jonathan Denose <jdenose@...gle.com> wrote:
>
> There is a bug in the Macbook Pro 11,2 and Air 7,2 firmware similar to
> what is described in:
>
> commit 7dc918daaf29 ("ACPI: video: force native for Apple
> MacbookPro9,2")
>
> This bug causes their backlights not to come back after resume.
>
> This commit adds DMI quirks to select the working native intel firmware
> interface such that the backlght comes back on after resume.
>
> Signed-off-by: Jonathan Denose <jdenose@...gle.com>
> ---
>
>  drivers/acpi/video_detect.c | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index 015bd8e66c1cf..d507d5e084354 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -549,6 +549,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
>                 DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,2"),
>                 },
>         },
> +       {
> +        .callback = video_detect_force_native,
> +        /* Apple MacBook Air 7,2 */
> +        .matches = {
> +               DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
> +               DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir7,2"),
> +               },
> +       },
>         {
>          .callback = video_detect_force_native,
>          /* Apple MacBook Air 9,1 */
> @@ -565,6 +573,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
>                 DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro9,2"),
>                 },
>         },
> +       {
> +        .callback = video_detect_force_native,
> +        /* Apple MacBook Pro 11,2 */
> +        .matches = {
> +               DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
> +               DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro11,2"),
> +               },
> +       },
>         {
>          /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
>          .callback = video_detect_force_native,
> --

Applied as 6.13 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ