KVM: selftests: Test x2APIC ICR reserved bits
authorSean Christopherson <seanjc@google.com>
Fri, 19 Jul 2024 23:51:05 +0000 (16:51 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 29 Aug 2024 23:25:06 +0000 (16:25 -0700)
commit3426cb48adb4dc00b75e89c95d257d699f4d75ce
treee7f9168cfc9263d1273b167435d613434829864a
parentfaf06a238254cec0c8c9bc0876caede63fcfeb24
KVM: selftests: Test x2APIC ICR reserved bits

Actually test x2APIC ICR reserved bits instead of deliberately skipping
them.  The behavior that is observed when IPI virtualization is enabled is
the architecturally correct behavior, KVM is the one who was wrong, i.e.
KVM was missing reserved bit checks.

Fixes: 4b88b1a518b3 ("KVM: selftests: Enhance handling WRMSR ICR register in x2APIC mode")
Link: https://lore.kernel.org/r/20240719235107.3023592-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/xapic_state_test.c