diff options
author | Marc Zyngier <[email protected]> | 2024-06-14 15:45:48 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-06-19 08:14:38 +0000 |
commit | b1a3a94812b95fb8ae410d1ca04a4cc3d61a7503 (patch) | |
tree | 9bedae46bda5479ef316df4531db3b0f2f955dcb /arch/arm64/kvm/nested.c | |
parent | d1de1576dc2178efcc5536edb0ea2b1cf022bd3e (diff) |
KVM: arm64: nv: Tag shadow S2 entries with guest's leaf S2 level
Populate bits [56:55] of the leaf entry with the level provided
by the guest's S2 translation. This will allow us to better scope
the invalidation by remembering the mapping size.
Of course, this assume that the guest will issue an invalidation
with an address that falls into the same leaf. If the guest doesn't,
we'll over-invalidate.
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'arch/arm64/kvm/nested.c')
0 files changed, 0 insertions, 0 deletions