commit | bcff3652b1719cbfe562349188b2a3c8c60f5d45 | [log] [tgz] |
---|---|---|
author | Wing Li <wingers@google.com> | Wed Jun 28 14:03:21 2023 -0700 |
committer | Wing Li <wingers@google.com> | Mon Jul 10 14:13:24 2023 -0700 |
tree | ee76fe06b5829e4fab71a849987a448b5d0d9c1e | |
parent | b433c87028bbac99e4d4572a0a1d9fd23a70d48f [diff] |
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>