mbox series

[v3,0/2] kvm/arm64: Try stage2 block mapping for host device MMIO

Message ID 20210414065109.8616-1-zhukeqian1@huawei.com (mailing list archive)
Headers show
Series kvm/arm64: Try stage2 block mapping for host device MMIO | expand

Message

zhukeqian April 14, 2021, 6:51 a.m. UTC
Hi,

We have two pathes to build stage2 mapping for MMIO regions.

Create time's path and stage2 fault path.

Patch#1 removes the creation time's mapping of MMIO regions
Patch#2 tries stage2 block mapping for host device MMIO at fault path

Changelog:

v3:
 - Do not need to check memslot boundary in device_rough_page_shift(). (Marc)

Thanks,
Keqian

Keqian Zhu (2):
  kvm/arm64: Remove the creation time's mapping of MMIO regions
  kvm/arm64: Try stage2 block mapping for host device MMIO

 arch/arm64/kvm/mmu.c | 75 +++++++++++++++++++++-----------------------
 1 file changed, 36 insertions(+), 39 deletions(-)