Skip to content
Commit 96171cfa authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Check for PTE validity when checking for executable/cacheable



Don't just assume that the PTE is valid when checking whether it
describes an executable or cacheable mapping.

This makes sure that we don't issue CMOs for invalid mappings.

Suggested-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Acked-by: default avatarOliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240423150538.2103045-8-tabba@google.com


Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 02949f36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment