[PATCH 0/2] Introduce SCMI v3.2 PERF Indexing support
Cristian Marussi
cristian.marussi at arm.com
Mon Jul 17 09:12:44 PDT 2023
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
More information about the linux-arm-kernel
mailing list