[PATCH 0/3] AMX KVM selftest

Yang Zhong
2021-12-21T14:20:11Z

Hi Paolo,

Please help review this patchset, which is based on Jing's AMX v2.
https://lore.kernel.org/all/20211217153003.1719189-1-jing2.liu@intel.com/

Hope this patchset will be merged into Jing's v3 for further review.

About this selftest requirement, please check below link:
https://lore.kernel.org/all/85401305-2c71-e57f-a01e-4850060d300a@redhat.com/

By the way, this amx_test.c file referenced Chang's older test code:
https://lore.kernel.org/lkml/20210221185637.19281-21-chang.seok.bae@intel.com/

Thanks!

Yang

Paolo Bonzini (1):
selftest: kvm: Reorder vcpu_load_state steps for AMX

Yang Zhong (2):
selftest: Move struct kvm_x86_state to header
selftest: Support amx selftest

tools/testing/selftests/kvm/Makefile | 1 +
.../selftests/kvm/include/x86_64/processor.h | 16 +-
.../selftests/kvm/lib/x86_64/processor.c | 44 +--
tools/testing/selftests/kvm/x86_64/amx_test.c | 370 ++++++++++++++++++
4 files changed, 401 insertions(+), 30 deletions(-)
create mode 100644 tools/testing/selftests/kvm/x86_64/amx_test.c