kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] kvm/arm64: Try stage2 block mapping for host device MMIO
@ 2021-05-07 11:03 Keqian Zhu
  2021-05-07 11:03 ` [PATCH v5 1/2] kvm/arm64: Remove the creation time's mapping of MMIO regions Keqian Zhu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Keqian Zhu @ 2021-05-07 11:03 UTC (permalink / raw)
  To: linux-arm-kernel, kvm, kvmarm, Marc Zyngier; +Cc: wanghaibin.wang

Hi Marc,

This rebases to newest mainline kernel.

Thanks,
Keqian


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:

v5:
 - Rebase to newest mainline.

v4:
 - use get_vma_page_shift() handle all cases. (Marc)
 - get rid of force_pte for device mapping. (Marc)

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


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 | 99 ++++++++++++++++++++++++--------------------
 1 file changed, 54 insertions(+), 45 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-01 11:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 11:03 [PATCH v5 0/2] kvm/arm64: Try stage2 block mapping for host device MMIO Keqian Zhu
2021-05-07 11:03 ` [PATCH v5 1/2] kvm/arm64: Remove the creation time's mapping of MMIO regions Keqian Zhu
2021-05-07 11:03 ` [PATCH v5 2/2] kvm/arm64: Try stage2 block mapping for host device MMIO Keqian Zhu
2021-06-01  1:16 ` [PATCH v5 0/2] " Keqian Zhu
2021-06-01 11:07 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).