Skip to content

KVM: s390: Add huge page VSIE support

Janosch Frank kvm linux-s390 oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14s390/mm: Code cleanupsarch/s390/mm/gmap.c arch/s390/mm/pgtable.c+5 -50 replies
2/14s390/mm: Improve locking for huge page backingsarch/s390/include/asm/pgtable.h arch/s390/mm/gmap.c arch/s390/mm/pgtable.c+45 -280 replies
3/14s390/mm: Take locking out of gmap_protect_ptearch/s390/mm/gmap.c+14 -160 replies
4/14s390/mm: split huge pages in GMAP when protectingarch/s390/include/asm/gmap.h arch/s390/include/asm/pgtable.h arch/s390/mm/gmap.c +1 more+251 -500 replies
5/14s390/mm: Split huge pages when migratingarch/s390/mm/gmap.c+28 -60 replies
6/14s390/mm: Provide vmaddr to pmd notificationarch/s390/mm/gmap.c+27 -250 replies
7/14s390/mm: factor out idte global flush into gmap_idte_globalarch/s390/mm/gmap.c+14 -140 replies
8/14s390/mm: Make gmap_read_table EDAT1 compatiblearch/s390/mm/gmap.c+26 -170 replies
9/14s390/mm: Make gmap_protect_rmap EDAT1 compatiblearch/s390/mm/gmap.c+73 -200 replies
10/14s390/mm: Add simple ptep shadow functionarch/s390/include/asm/pgtable.h arch/s390/mm/pgtable.c+17 -80 replies
11/14s390/mm: Add gmap shadowing for large pmdsarch/s390/include/asm/gmap.h arch/s390/kvm/gaccess.c arch/s390/mm/gmap.c+317 -720 replies
12/14s390/mm: Add gmap lock classesarch/s390/include/asm/gmap.h arch/s390/mm/gmap.c+27 -190 replies
13/14s390/mm: Pull pmd invalid check in gmap_pmd_op_walkarch/s390/mm/gmap.c+7 -100 replies
14/14KVM: s390: Allow the VSIE to be used with huge pagesDocumentation/virt/kvm/api.rst arch/s390/kvm/kvm-s390.c arch/s390/mm/gmap.c+6 -180 replies

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by.

PatchDavid HildenbrandChristian Borntraeger
1/14R-b A-b
2/14
3/14
4/14
5/14
6/14
7/14R-b
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] KVM: s390: Add huge page VSIE support

As we finally want to get rid of the nested and hpage s390 KVM module parameters let's try again to integrate huge page VSIE support.

The following patches have been rebased on 5.11-rc3 and enable us to start huge page and normal page VSIE guest 3s in a huge page guest 2.

Branch:
https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git/log/?h=hlp_vsie

Problems that need to be solved:
* The VSIE guests crash on migration...
* I have lost most of my knowledge about this topic and I'm currently paging back in
* Lots of testing

Janosch Frank (14):
s390/mm: Code cleanups
s390/mm: Improve locking for huge page backings s390/mm: Take locking out of gmap_protect_pte s390/mm: split huge pages in GMAP when protecting s390/mm: Split huge pages when migrating
s390/mm: Provide vmaddr to pmd notification s390/mm: factor out idte global flush into gmap_idte_global s390/mm: Make gmap_read_table EDAT1 compatible s390/mm: Make gmap_protect_rmap EDAT1 compatible s390/mm: Add simple ptep shadow function
s390/mm: Add gmap shadowing for large pmds s390/mm: Add gmap lock classes
s390/mm: Pull pmd invalid check in gmap_pmd_op_walk
KVM: s390: Allow the VSIE to be used with huge pages

 Documentation/virt/kvm/api.rst  |   9 +-
 arch/s390/include/asm/gmap.h    |  31 +-
 arch/s390/include/asm/pgtable.h |   5 +
 arch/s390/kvm/gaccess.c         |  52 +-
 arch/s390/kvm/kvm-s390.c        |  14 +-
 arch/s390/mm/gmap.c             | 917 ++++++++++++++++++++++++--------
 arch/s390/mm/pgtable.c          |  61 ++-
 7 files changed, 819 insertions(+), 270 deletions(-)
Signature · 1 line
2.27.0