[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230717161246.1761777-1-cristian.marussi@arm.com>
Date: Mon, 17 Jul 2023 17:12:44 +0100
From: Cristian Marussi <cristian.marussi@....com>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: sudeep.holla@....com, james.quinlan@...adcom.com,
f.fainelli@...il.com, vincent.guittot@...aro.org,
aidapala@....qualcomm.com, souvik.chakravarty@....com,
satyakim@....qualcomm.com, atouzni@....qualcomm.com,
Cristian Marussi <cristian.marussi@....com>
Subject: [PATCH 0/2] Introduce SCMI v3.2 PERF Indexing support
Hi all,
this small series adds support for the upcoming optional support for
Performance domains Level Indexing mode.
PERF Protocol Level Indexing mode was introduced in SCMI V3.2 [1] as an
optional way to describe Performance levels using a non-linear scale.
SCMI platform can now optionally declare a Performance domain as
supporting Level Indexing and report when queried a level-index and an
indicative frequency that do not need to fit into a linear-scale.
Platform will then expect such level-indexed domain to be accessed
strictly via such indexes.
The core SCMI PERF protocol has been modified to support such indexing
transparently so that the SCMI driver using the protocol (like cpufreq)
do not need to be changed, nor are aware of such mode.
Based on v6.5-rc2.
Any feedback, welcome.
Thanks,
Cristian
[1]: https://developer.arm.com/documentation/den0056/latest/
---
Cristian Marussi (2):
firmware: arm_scmi: Harden PERF domain info access
firmware: arm_scmi: Add v3.2 PERF Level Indexing mode support
drivers/firmware/arm_scmi/perf.c | 430 +++++++++++++++++++++++++------
1 file changed, 348 insertions(+), 82 deletions(-)
--
2.41.0
Powered by blists - more mailing lists