Message ID | 20211223145322.2914028-1-yang.zhong@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | AMX KVM selftest | expand |
On 12/23/21 15:53, Yang Zhong wrote: > Hi Paolo, > > Please help review this patchset, which is rebased on Jing's AMX v3. > https://lore.kernel.org/all/20211222124052.644626-1-jing2.liu@intel.com/ > > 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 some Chang's older test code: > https://lore.kernel.org/lkml/20210221185637.19281-21-chang.seok.bae@intel.com/ Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Paolo > > Thanks! > > Yang > > > Change history > ============== > v2-->v3: > - Removed the skip "regs->rip += 3", enable amx in #NM handler(Paolo). > > v1-->v2 > - Added more GUEST_SYNC() from guest code(Paolo). > - Added back save/restore code after GUEST_SYNC() > handles in the main()(Paolo). > > > Paolo Bonzini (1): > selftest: kvm: Reorder vcpu_load_state steps for AMX > > Yang Zhong (2): > selftest: kvm: Move struct kvm_x86_state to header > selftest: kvm: Support amx selftest > > tools/testing/selftests/kvm/Makefile | 1 + > .../selftests/kvm/include/x86_64/processor.h | 16 +- > .../selftests/kvm/lib/x86_64/processor.c | 32 +- > tools/testing/selftests/kvm/x86_64/amx_test.c | 448 ++++++++++++++++++ > 4 files changed, 473 insertions(+), 24 deletions(-) > create mode 100644 tools/testing/selftests/kvm/x86_64/amx_test.c >