I've done some analysis on how SCMI works, and it's not really using PVTM, nor does it…
- User
I've done some analysis on how SCMI works, and it's not really using PVTM, nor does it explicitly "modify" anything. What it actually uses is PVTPLL, which is basically a ring oscillator built out of the same silicon components that comprise the CPU cores themselves. By the physics of ring oscillators, with a constrant ring length, PVTPLL will generate a clock frequency that varies depending on silicon quality and voltage. The idea then is that there exists some ideal ring length, above which no matter how the input voltage varies, the generated clock will be just barely slow enough for the core not to experience overclock instability.
SCMI configures the ring length for each PVTPLL oscillator, using a translation table from the clock frequency constants submitted by cpufreq - however, what actually determines the clock that will be set is the voltage provided to the core (higher voltages cause the PVTPLL ring to oscillate faster).
It's possible to modify the device tree to feed CRU clocks to the cores, instead of the PVTPLL ones, which enables direct control over the cores - unfortunately, this results in instability even at frequencies below what PVTPLL sets (at least on the Rock 5B), probably because voltage sag under load no longer causes the clock frequency to also sag in sync, resulting in undervolt/overclock conditions in the cores when loaded.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.