Commit 533c5994 authored by David Brazdil's avatar David Brazdil
Browse files

ANDROID: KVM: arm64: Unmap S2MPU MMIO regions in MPT



Host stage-2 is used for bookkeeping of ownership of physical pages, but
only for memory and not MMIO. Page tables covering device memory are
created on demand. That is in contrast to the S2MPU MPTs, which are
never discarded and cover the entire physical address space.

The S2MPU MPT should therefore unmap MMIO regions which the host should
not have access to. Currently those are only the S2MPU MMIO registers
themselves.

Test: builds, boots
Bug: 190463801
Signed-off-by: default avatarDavid Brazdil <dbrazdil@google.com>
Change-Id: I85af31d5337459c4877eb90b1c5a2d94f94ab890
parent 6b75c0e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment