diff options
author | Thomas Huth | 2019-05-23 18:43:05 +0200 |
---|---|---|
committer | Christian Borntraeger | 2019-06-04 14:05:38 +0200 |
commit | da2a2d601c2d95bedf23b896bd409d53c92c04ad (patch) | |
tree | a77c8680885dc86d1a11cac3e8d5deb1f64019bd /arch/arm/include | |
parent | KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits (diff) | |
download | kernel-qcow2-linux-da2a2d601c2d95bedf23b896bd409d53c92c04ad.tar.gz kernel-qcow2-linux-da2a2d601c2d95bedf23b896bd409d53c92c04ad.tar.xz kernel-qcow2-linux-da2a2d601c2d95bedf23b896bd409d53c92c04ad.zip |
KVM: selftests: Align memory region addresses to 1M on s390x
On s390x, there is a constraint that memory regions have to be aligned
to 1M (or running the VM will fail). Introduce a new "alignment" variable
in the vm_userspace_mem_region_add() function which now can be used for
both, huge page and s390x alignment requirements.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190523164309.13345-6-thuth@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[prepare for THP as outlined by Andrew Jones]
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions