ACPI: bus: Indicate support for _TFP thru _OSC
authorArmin Wolf <W_Armin@gmx.de>
Sat, 9 Mar 2024 20:13:06 +0000 (21:13 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Mar 2024 15:39:35 +0000 (16:39 +0100)
commit95d43290f1e476b3be782dd17642e452d0436266
tree046a146b678f6b346b7495827b40114e9024a0fe
parent4cece764965020c22cff7665b18a012006359095
ACPI: bus: Indicate support for _TFP thru _OSC

The ACPI thermal driver already uses the _TPF ACPI method to retrieve
precise sampling time values, but this is not reported thru _OSC.

Fix this by setting bit 9 ("Fast Thermal Sampling support") when
evaluating _OSC.

Fixes: a2ee7581afd5 ("ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
include/linux/acpi.h