]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Skip ICR.BUSY test in xapic_state_test if x2APIC is enabled
authorSean Christopherson <seanjc@google.com>
Fri, 19 Jul 2024 23:51:04 +0000 (16:51 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 29 Aug 2024 23:25:06 +0000 (16:25 -0700)
commitfaf06a238254cec0c8c9bc0876caede63fcfeb24
treebaf36f55426b5fc724217a46d4113a188c7dd84a
parentf2e91e874179a27d4c29b3f31706b37e1e6bcf54
KVM: selftests: Skip ICR.BUSY test in xapic_state_test if x2APIC is enabled

Don't test the ICR BUSY bit when x2APIC is enabled as AMD and Intel have
different behavior (AMD #GPs, Intel ignores), and the fact that the CPU
performs the reserved bit checks when IPI virtualization is enabled makes
it impossible for KVM to precisely emulate one or the other.

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