[GIT PULL] Final set of (mostly selftests) KVM patches for Linux 6.0

From: Paolo Bonzini
Date: Fri Sep 30 2022 - 15:08:42 EST


Linus,

The following changes since commit 69604fe76e58c9d195e48b41d019b07fc27ce9d7:

Merge tag 'kvm-s390-master-6.0-2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2022-09-23 10:06:08 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus-6.0

for you to fetch changes up to 07834cc4df06d48a354bb0b1eb1b07069584e581:

KVM: selftests: Compare insn opcodes directly in fix_hypercall_test (2022-09-29 12:54:02 -0400)

----------------------------------------------------------------
A small fix to the reported set of supported CPUID bits, and selftests fixes:

* Skip tests that require EPT when it is not available

* Do not hang when a test fails with an empty stack trace

* avoid spurious failure when running access_tracking_perf_test in a KVM guest

* work around GCC's tendency to optimize loops into mem*() functions, which
breaks because the guest code in selftests cannot call into PLTs

* fix -Warray-bounds error in fix_hypercall_test

----------------------------------------------------------------
David Matlack (2):
KVM: selftests: Skip tests that require EPT when it is not available
KVM: selftests: Gracefully handle empty stack traces

Emanuele Giuseppe Esposito (1):
KVM: selftests: replace assertion with warning in access_tracking_perf_test

Jim Mattson (1):
KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest

Sean Christopherson (2):
KVM: selftests: Implement memcmp(), memcpy(), and memset() for guest use
KVM: selftests: Compare insn opcodes directly in fix_hypercall_test

arch/x86/kvm/cpuid.c | 2 --
tools/testing/selftests/kvm/Makefile | 11 +++++-
.../selftests/kvm/access_tracking_perf_test.c | 25 +++++++++-----
tools/testing/selftests/kvm/include/x86_64/vmx.h | 1 +
tools/testing/selftests/kvm/lib/assert.c | 20 +++++++----
tools/testing/selftests/kvm/lib/string_override.c | 39 ++++++++++++++++++++++
tools/testing/selftests/kvm/lib/x86_64/vmx.c | 20 +++++++++++
.../selftests/kvm/x86_64/fix_hypercall_test.c | 34 +++++++++----------
8 files changed, 115 insertions(+), 37 deletions(-)
create mode 100644 tools/testing/selftests/kvm/lib/string_override.c