diff options
author | Shameer Kolothum <[email protected]> | 2024-10-22 08:39:43 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-11-11 18:33:09 +0000 |
commit | e9b57d7f9740deb31acb02a00bdf6653e60c7e61 (patch) | |
tree | 1585c3817184797c26d50e5782b3ab98e9e381a9 /scripts/gdb/linux/stackdepot.py | |
parent | 75cd027cbcb161e277209e20df14f0818c62d9e7 (diff) |
KVM: arm64: Make L1Ip feature in CTR_EL0 writable from userspace
Only allow userspace to set VIPT(0b10) or PIPT(0b11) for L1Ip based on
what hardware reports as both AIVIVT (0b01) and VPIPT (0b00) are
documented as reserved.
Using a VIPT for Guest where hardware reports PIPT may lead to over
invalidation, but is still correct. Hence, we can allow downgrading
PIPT to VIPT, but not the other way around.
Reviewed-by: Sebastian Ott <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Signed-off-by: Shameer Kolothum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions