ANDROID: KVM: arm64: pviommu: Add map/unmap() HVC ops
Add map_pages HVC ops which calls the IOMMU map function, but before that:
- Get the physical address from the IPA and fault to map it if needed.
- If no memory in the vcpu memcache, return false and repeat the HVC,
this will be handled in EL1 to fill the memcache.
unmap is more straight forward.
Bug: 357781595
Bug: 348382247
Bug: 236685427
Change-Id: Ibfd00e741d077ff2d8520f4a3f215d027ee6c2ba
Signed-off-by:
Mostafa Saleh <smostafa@google.com>
Loading
Please sign in to comment