]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Implement get_S2prot_indirect
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Oct 2025 21:55:09 +0000 (14:55 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Oct 2025 09:42:12 +0000 (10:42 +0100)
commita811c5dafb728087fa6f222ad1322ec26d080fdd
tree7ac57a086049fdd9e02cebd09219f0b028f010a5
parent1cbaf63a109db8529589b0660df06ea69fd07b05
target/arm: Implement get_S2prot_indirect

Move the stage2 permissions for normal accesses to
GetPhysAddrResult.s2prot.  Put the stage2 permissions
for page table walking in CPUTLBEntryFull.prot.
This allows the permission checks in S1_ptw_translate
and arm_casq_ptw to see the right permission.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/internals.h
target/arm/ptw.c