[Patch v2 0/2] Add support for _TFP and change throttle pctg

Sumit Gupta
2023-09-13T16:48:24Z

This patch set adds support for two features to get a finer control
over the impact of Thermal Throttling on performance.

1) Patch 1: Adds support to read Thermal fast Sampling Period (_TFP)
ACPI object and use it over "Thermal Sampling Period (_TSP)" for
Passive cooling if both are present.

2) Patch 2: Adds support to reduce the CPUFREQ reduction percentage
and not always cause throttling in steps of "20%".

Both patches can be applied independently.

---
v1[1] -> v2:
- Patch 1: add ACPI spec section info in commit description and rebased.
- Patch 2: add info about hardware in the commit description.
- Patch 2: switched CPUFREQ THERMAL tuning macros to static variables.
- Patch 2: update the tunings for Tegra241 SoC only using soc_id check.

Jeff Brasen (1):
ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support

Srikar Srimath Tirumala (1):
ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241

drivers/acpi/processor_thermal.c | 41 +++++++++++++++++++++++++++++---
drivers/acpi/thermal.c | 25 ++++++++++---------
2 files changed, 52 insertions(+), 14 deletions(-)

[1] https://lore.kernel.org/lkml/20230817093011.1378-1-sumitg@nvidia.com/

--
2.17.1