diff options
| author | Oliver Upton <oupton@kernel.org> | 2025-11-24 11:01:54 -0800 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2025-12-01 00:44:02 -0800 |
| commit | bff8aa213dee742b09151a34494418050afed948 (patch) | |
| tree | b2886a4aa128c23afff1e4a9cfeef2b07b588736 /tools/testing/selftests/kvm/include/kvm_util.h | |
| parent | 92c6443222ca4289191d797ac79176c560886998 (diff) | |
KVM: arm64: Implement HW access flag management in stage-1 SW PTW
Atomically update the Access flag at stage-1 when the guest has
configured the MMU to do so. Make the implementation choice (and liberal
interpretation of speculation) that any access type updates the Access
flag, including AT and CMO instructions.
Restart the entire walk by returning to the exception-generating
instruction in the case of a failed Access flag update.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20251124190158.177318-13-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/testing/selftests/kvm/include/kvm_util.h')
0 files changed, 0 insertions, 0 deletions
