diff options
| author | Oliver Upton <oupton@kernel.org> | 2026-01-08 12:42:30 -0800 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-01-09 15:40:34 -0800 |
| commit | 9e27085c33cca7ad26bec0af2c17aab072dd802e (patch) | |
| tree | abdc0ae6f0459cb4f2fe0733d58cac1b740f118e /drivers/gpu/drm/amd/include/linux/git@git.tavy.me:linux.git | |
| parent | 9cb2c20f06c300f92a831e4c374e353b33c5582b (diff) | |
KVM: arm64: nv: Respect stage-2 write permssion when setting stage-1 AF
Naturally, updating the Access Flag in a stage-1 descriptor requires
write permission at stage-2, although this isn't actually enforced in
KVM's software PTW.
Generate a stage-2 permission fault if the stage-1 walk attempts to
update the descriptor and its corresponding stage-2 translation lacks
write permission.
Fixes: bff8aa213dee ("KVM: arm64: Implement HW access flag management in stage-1 SW PTW")
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20260108204230.677172-1-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/include/linux/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
