summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator_test.rs
diff options
context:
space:
mode:
authorWei-Lin Chang <r09922117@csie.ntu.edu.tw>2025-09-08 14:48:06 +0800
committerOliver Upton <oliver.upton@linux.dev>2025-09-10 02:56:20 -0700
commit51d165e92a701012a11e726217a5c51e367563e4 (patch)
tree26f9305c491698ff7e96ab50df861279d3e57136 /rust/kernel/alloc/allocator_test.rs
parent2dc720e606319eae6990c31b7cc8fd188f442ce4 (diff)
KVM: arm64: Remove stage 2 read fault check
In the non-NV case, read permission is always granted when mapping stage-2, so checking for it doesn't bring much. On the other hand, shadow stage-2 for NV guests could potentially have non-readable mappings when we align the permissions with those that L1 set for L2, we shouldn't be checking for read faults in this case either. So just remove this check. Suggested-by: Oliver Upton <oliver.upton@linux.dev> Suggested-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Wei-Lin Chang <r09922117@csie.ntu.edu.tw> Link: https://lore.kernel.org/r/20250908064806.4093081-1-r09922117@csie.ntu.edu.tw Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions