Home
last modified time | relevance | path

Searched hist:e0ef05bb2c260e0441186dd8647dea531bb1daf3 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/arm/board/fvp/
H A Dfvp_pm.ce0ef05bb2c260e0441186dd8647dea531bb1daf3 Wed Jun 28 21:03:21 UTC 2023 Wing Li <wingers@google.com> fix(fvp): update system suspend in OS-initiated mode

This patch fixes system suspend in OS-initiated mode by setting the
value of `last_at_pwrlvl` in the `psci_power_state_t` object to
`PLAT_MAX_PWR_LVL`, which otherwise would result in undefined behavior.

This is conditionally compiled into the build depending on the value of
the `PSCI_OS_INIT_MODE` build option.

Change-Id: Ia0fb1e68af9320370325642b17c4569e9580aa3a
Signed-off-by: Wing Li <wingers@google.com>