]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Check for _both_ XTILE data and cfg in AMX test
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:35 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:12 +0000 (18:14 -0700)
commit56e00d8166184bfc508c699d795077548baeb6d1
treea3f28f1d29b2ace02de893fca7ee7c1ecf9e7afb
parent7dfdae01696739b203e012da84c03097a50f68b5
KVM: selftests: Check for _both_ XTILE data and cfg in AMX test

Check for _both_ XTILE data and cfg support in the AMX test instead of
checking for _either_ feature.  Practically speaking, no sane CPU or vCPU
will support one but not the other, but the effective "or" behavior is
subtle and technically incorrect.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-11-seanjc@google.com
tools/testing/selftests/kvm/x86_64/amx_test.c