diff options
author | Daniel Boulby <daniel.boulby@arm.com> | 2021-05-25 18:09:34 +0100 |
---|---|---|
committer | Daniel Boulby <daniel.boulby@arm.com> | 2022-02-03 11:33:49 +0000 |
commit | 7d33ffe4c116506ed63e820d5b6edad81680cd11 (patch) | |
tree | 00470874a8f45516837e852d67663bfa368913e7 /services/spd | |
parent | 97215e0f25014864a4241bb3f992e5946b14dfd3 (diff) |
fix(el3-runtime): set unset pstate bits to default
During a transition to a higher EL some of the PSTATE bits are not set
by hardware, this means that their state may be leaked from lower ELs.
This patch sets those bits to a default value upon entry to EL3.
This patch was tested using a debugger to check the PSTATE values
are correctly set. As well as adding a test in the next patch to
ensure the PSTATE in lower ELs is still maintained after this change.
Change-Id: Ie546acbca7b9aa3c86bd68185edded91b2a64ae5
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Diffstat (limited to 'services/spd')
0 files changed, 0 insertions, 0 deletions