diff options
| author | Eduard Christian Dumitrescu <[email protected]> | 2025-03-24 15:24:42 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-04-01 11:20:34 +0000 |
| commit | 2b9f84e7dc863afd63357b867cea246aeedda036 (patch) | |
| tree | f4e262ae5c7a07827a0aa50c9985be1b6d7dde75 /net/core/lock_debug.c | |
| parent | platform/x86: thinkpad_acpi: Fix NULL pointer dereferences while probing (diff) | |
| download | kernel-2b9f84e7dc863afd63357b867cea246aeedda036.tar.gz kernel-2b9f84e7dc863afd63357b867cea246aeedda036.zip | |
platform/x86: thinkpad_acpi: disable ACPI fan access for T495* and E560
T495, T495s, and E560 laptops have the FANG+FANW ACPI methods
(therefore fang_handle and fanw_handle are not NULL) but they do not
actually work, which results in a "No such device or address" error.
The DSDT table code for the FANG+FANW methods doesn't seem to do
anything special regarding the fan being secondary. The bug was
introduced in commit 57d0557dfa49 ("platform/x86: thinkpad_acpi: Add
Thinkpad Edge E531 fan support"), which added a new fan control method
via the FANG+FANW ACPI methods.
Add a quirk for T495, T495s, and E560 to avoid the FANG+FANW methods.
Fan access and control is restored after forcing the legacy non-ACPI
fan control method by setting both fang_handle and fanw_handle to NULL.
Reported-by: Vlastimil Holer <[email protected]>
Fixes: 57d0557dfa49 ("platform/x86: thinkpad_acpi: Add Thinkpad Edge E531 fan support")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219643
Cc: [email protected]
Tested-by: Alireza Elikahi <[email protected]>
Reviewed-by: Kurt Borja <[email protected]>
Signed-off-by: Eduard Christian Dumitrescu <[email protected]>
Co-developed-by: Seyediman Seyedarab <[email protected]>
Signed-off-by: Seyediman Seyedarab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions
