Re: [PATCH] platform/x86: asus-wmi: Fix racy registrations

From: Stefan Lippers-Hollmann
Date: Fri Aug 29 2025 - 21:38:39 EST


Hi

On 2025-08-27, Takashi Iwai wrote:
> asus_wmi_register_driver() may be called from multiple drivers
> concurrently, which can lead to the racy list operations, eventually
> corrupting the memory and hitting Oops on some ASUS machines.
> Also, the error handling is missing, and it forgot to unregister ACPI
> lps0 dev ops in the error case.
[...]

Thank you very much for this patch, it fixes the v6.16.x regression for
me (my own git bisecting failed more than four times, due to false
negatives) :)

Confirmed to work on:
- ASUS PRIME B760M-A WIFI D4, i7-13700
- ASUS TUF GAMING B760M-PLUS WIFI D4, i5-12400

Regards
Stefan Lippers-Hollmann