]> 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)
commit347e3191555c423649d7f8d7aedfc3fb57e046e5
treec7185b6530034fe8d475e1e91fdcaada3a83edb9
parentaf1269c1508d8ab46bbeebcd0fd551669f0a2a9c
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: 458ad8c8dd8e ("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