* [PATCH] docs: driver-api/thermal/intel_dptf: Add new workload type hint
@ 2025-11-18 22:36 Srinivas Pandruvada
2025-11-19 0:44 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Srinivas Pandruvada @ 2025-11-18 22:36 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: corbet, linux-pm, linux-doc, linux-kernel, rdunlap, Srinivas Pandruvada
Add documentation for longer term classification of workload type for
power or performance.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
.../driver-api/thermal/intel_dptf.rst | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/Documentation/driver-api/thermal/intel_dptf.rst b/Documentation/driver-api/thermal/intel_dptf.rst
index c51ac793dc06..916bf0f36a03 100644
--- a/Documentation/driver-api/thermal/intel_dptf.rst
+++ b/Documentation/driver-api/thermal/intel_dptf.rst
@@ -409,3 +409,26 @@ based on the processor generation.
Limit 1 from being exhausted.
4 – Unknown: Can't classify.
+
+ On processors starting from Panther Lake additional hints are provided.
+ The hardware analyzes workload residencies over an extended period to
+ determine whether the workload classification tends toward idle/battery
+ life states or sustained/performance states. Based on this long-term
+ analysis, it classifies:
+
+ Power Classification: If the workload exhibits more idle or battery life
+ residencies, it is classified as "power".
+
+ Performance Classification: If the workload exhibits more sustained or
+ performance residencies, it is classified as "performance".
+
+ This approach enables applications to ignore short-term workload
+ fluctuations and instead respond to longer-term power vs. performance
+ trends.
+
+ Residency thresholds for this classification are CPU generation-specific.
+ Classification is reported via bit 4 of the workload_type_index:
+
+ Bit 4 = 1: Power classification
+
+ Bit 4 = 0: Performance classification
--
2.51.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: driver-api/thermal/intel_dptf: Add new workload type hint
2025-11-18 22:36 [PATCH] docs: driver-api/thermal/intel_dptf: Add new workload type hint Srinivas Pandruvada
@ 2025-11-19 0:44 ` Randy Dunlap
2025-11-20 20:34 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2025-11-19 0:44 UTC (permalink / raw)
To: Srinivas Pandruvada, rafael, daniel.lezcano
Cc: corbet, linux-pm, linux-doc, linux-kernel
On 11/18/25 2:36 PM, Srinivas Pandruvada wrote:
> Add documentation for longer term classification of workload type for
> power or performance.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> .../driver-api/thermal/intel_dptf.rst | 23 +++++++++++++++++++
> 1 file changed, 23 insertions(+)
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: driver-api/thermal/intel_dptf: Add new workload type hint
2025-11-19 0:44 ` Randy Dunlap
@ 2025-11-20 20:34 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2025-11-20 20:34 UTC (permalink / raw)
To: Randy Dunlap, Srinivas Pandruvada
Cc: daniel.lezcano, corbet, linux-pm, linux-doc, linux-kernel
On Wed, Nov 19, 2025 at 1:44 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
>
>
> On 11/18/25 2:36 PM, Srinivas Pandruvada wrote:
> > Add documentation for longer term classification of workload type for
> > power or performance.
> >
> > Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
>
>
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org>
Applied as 6.19 material, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-20 20:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18 22:36 [PATCH] docs: driver-api/thermal/intel_dptf: Add new workload type hint Srinivas Pandruvada
2025-11-19 0:44 ` Randy Dunlap
2025-11-20 20:34 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®