]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: s390: Allow 4k granularity for memslots
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Thu, 2 Apr 2026 15:01:32 +0000 (17:01 +0200)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Tue, 7 Apr 2026 15:07:22 +0000 (17:07 +0200)
commit06a20c3ab6042ea7f9927fbeb50aa4e79894c136
tree301cca8942291e3c970d106211387cdf5688cb9b
parent4204067f99820eda590ab99ae068463b4f930a33
KVM: s390: Allow 4k granularity for memslots

Until now memslots on s390 needed to have 1M granularity and be 1M
aligned. Since the new gmap code can handle memslots with 4k
granularity and alignment, remove the restrictions.

Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
arch/s390/kvm/kvm-s390.c