KVM: selftests: Compile s390 tests with -march=z10
authorNina Schoetterl-Glausch <nsg@linux.ibm.com>
Fri, 27 Jan 2023 17:45:52 +0000 (18:45 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Tue, 7 Feb 2023 17:05:59 +0000 (18:05 +0100)
commitd7b9dc14031b7f8865aeedc90d8bc68a4bb16023
tree3f7bd93c6327bfa9e5f886514e60cd1762206531
parentf2d3155e2a6bac44d16f04415a321e8707d895c6
KVM: selftests: Compile s390 tests with -march=z10

The guest used in s390 kvm selftests is not be set up to handle all
instructions the compiler might emit, i.e. vector instructions, leading
to crashes.
Limit what the compiler emits to the oldest machine model currently
supported by Linux.

Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20230127174552.3370169-1-nsg@linux.ibm.com
Message-Id: <20230127174552.3370169-1-nsg@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
tools/testing/selftests/kvm/Makefile