]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: introduce P44V64 for z196 and EC12
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 8 Jun 2021 12:39:54 +0000 (14:39 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 6 Jul 2021 08:05:16 +0000 (10:05 +0200)
commit90765432168d0acc83acb131abd246aea6abbaea
treec7185b6530034fe8d475e1e91fdcaada3a83edb9
parente42efe4f4ca5c9b62c4a115da5348922cc43ca4e
KVM: selftests: introduce P44V64 for z196 and EC12

Older machines like z196 and zEC12 do only support 44 bits of physical
addresses. Make this the default and check via IBC if we are on a later
machine. We then add P47V64 as an additional model.

Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Link: https://lore.kernel.org/kvm/20210701153853.33063-1-borntraeger@de.ibm.com/
Fixes: a962a1190783 ("KVM: selftests: introduce P47V64 for s390x")
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/guest_modes.c
tools/testing/selftests/kvm/lib/kvm_util.c