Files
linux-stable-mirror/drivers/acpi
Armin Wolf 84a8b8f53b ACPI: fan: Workaround for 64-bit firmware bug
[ Upstream commit 2e00f7a4bb ]

Some firmware implementations use the "Ones" ASL opcode to produce
an integer with all bits set in order to indicate missing speed or
power readings. This however only works when using 32-bit integers,
as the ACPI spec requires a 32-bit integer (0xFFFFFFFF) to be
returned for missing speed/power readings. With 64-bit integers the
"Ones" opcode produces a 64-bit integer with all bits set, violating
the ACPI spec regarding the placeholder value for missing readings.

Work around such buggy firmware implementation by also checking for
64-bit integers with all bits set when reading _FST.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
[ rjw: Typo fix in the changelog ]
Link: https://patch.msgid.link/20251007234149.2769-3-W_Armin@gmx.de
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-08 10:13:56 +01:00
..
2024-04-08 16:10:27 +02:00
2024-05-28 11:53:35 +02:00
2024-03-27 16:36:45 +01:00
2024-07-19 10:10:33 -05:00
2025-05-22 14:29:46 +02:00
2024-07-04 14:36:03 +01:00