Commit 459097f3 authored by Keir Fraser's avatar Keir Fraser
Browse files

ANDROID: KVM: arm64: Disallow kvm_pgtable_stage2_unmap on host S2



The TLBI logic is unsafe for the host stage-2 table because not all
valid ptes are reference counted. Hence we could discard a child table
with only a __kvm_tlb_flush_vmid_ipa which is insufficient to
invalidate all mappings still reachable from the child table.

Bug: 278749606
Bug: 360102354
Change-Id: I0080b357743b335a4915327456f7ffc1dc2b7069
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
parent 34fc61f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment