lkml.org 
[lkml]   [2021]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2] kvm/arm64: Try stage2 block mapping for host device MMIO
Date
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:

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)

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

--
2.19.1

\
 
 \ /
  Last update: 2021-04-15 16:05    [W:0.108 / U:2.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site