Re: [RFC PATCH 0/4] Support for passing runtime state idle time to TF-A

From: Rafael J. Wysocki
Date: Fri Apr 23 2021 - 08:27:25 EST


On Thu, Apr 22, 2021 at 10:31 PM Sowjanya Komatineni
<skomatineni@xxxxxxxxxx> wrote:
>
> Tegra194 and Tegra186 platforms use separate MCE firmware for CPUs which is
> in charge of deciding on state transition based on target state, state idle
> time, and some other Tegra CPU core cluster states information.
>
> Current PSCI specification don't have function defined for passing runtime
> state idle time predicted by governor (based on next events and state target
> residency) to ARM trusted firmware.

Presumably that's because this is not a good idea.

A basic design principle of cpuidle is that it should be possible to
use every governor with every driver and the changes in this series
make the platforms in question only work with menu AFAICS.