public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm selftest 'msr' fails on some skylake cpus
@ 2024-06-14  3:09 Maxim Levitsky
  2024-06-14 14:26 ` Sean Christopherson
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Levitsky @ 2024-06-14  3:09 UTC (permalink / raw)
  To: Sean Christopherson; +Cc: kvm

Hi!

This kvm unit test tests that all reserved bits of the MSR_IA32_FLUSH_CMD #GP, but apparently
on some systems this test fails.

For example I reproduced this on:

model name	: Intel(R) Xeon(R) CPU E3-1260L v5 @ 2.90GHz
stepping	: 3
microcode	: 0xf0


As I see in the 'vmx_vcpu_after_set_cpuid', we passthough this msr to the guest AS IS,
thus the unit test tests the microcode.

So I suspect that the test actually caught a harmless microcode bug.

What do you think we should do to workaround this? Maybe disable this check on
affected cpus or turn it into a warning because MSR_IA32_FLUSH_CMD reserved bits
test doesn't test KVM?

Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-26  2:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14  3:09 kvm selftest 'msr' fails on some skylake cpus Maxim Levitsky
2024-06-14 14:26 ` Sean Christopherson
2024-06-17 18:05   ` Maxim Levitsky
2024-06-25 23:26     ` Jim Mattson
2024-06-26  2:05       ` Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox