Commit 19b510d5 authored by Marc Zyngier's avatar Marc Zyngier Committed by Will Deacon
Browse files

ANDROID: KVM: arm64: Check for PTE valitity when checking for executable/cacheable



Don't blindly 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 avatarMarc Zyngier <maz@kernel.org>
Bug: 209580772
Change-Id: I5b271c91aa6ceb23f7b1e6a571e30d080866d5c9
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
parent d7607401
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment