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:
Keir Fraser <keirf@google.com>
Loading
Please sign in to comment