]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Ignore CPUID.0DH.1H in get_cpuid_test
authorDavid Matlack <dmatlack@google.com>
Wed, 19 May 2021 21:13:45 +0000 (21:13 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 May 2021 11:45:54 +0000 (07:45 -0400)
commitfb1cd0f7d9a09a2da727c150aa71b32ee91d34c5
tree11fdbcc7590c55e7018bed7fb075d3f071650c42
parent3d9c6ee8bdb05dcf424731c6fd31e6b94bc353db
KVM: selftests: Ignore CPUID.0DH.1H in get_cpuid_test

Similar to CPUID.0DH.0H this entry depends on the vCPU's XCR0 register
and IA32_XSS MSR. Since this test does not control for either before
assigning the vCPU's CPUID, these entries will not necessarily match
the supported CPUID exposed by KVM.

This fixes get_cpuid_test on Cascade Lake CPUs.

Suggested-by: Jim Mattson <jmattson@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210519211345.3944063-1-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/get_cpuid_test.c