Add support for 2G hugepages.
In theory, since kernel 7.0, userspace could already use 2G hugepages
to back guest memory, but KVM would use 4k or 1M pages in gmap to
actually map the guest.
This series allows KVM on s390 to actually use 2G hugepages in gmap to
map guest memory that is backed by 2G hugepages in userspace.
Nested guests remain possible.
Claudio Imbrenda (3):
KVM: s390: Add module parameter to fence 2G hugepages
KVM: s390: Add capability to support 2G hugepages
KVM: s390: Allow for 2G hugepages
arch/s390/kvm/gmap.c | 24 +++++++++++++++++++++++-
arch/s390/kvm/kvm-s390.c | 38 +++++++++++++++++++++++++++++++++++++-
arch/s390/kvm/pv.c | 1 +
include/uapi/linux/kvm.h | 1 +
4 files changed, 62 insertions(+), 2 deletions(-)
--
2.54.0