Add testcases for the write-only MSRs IA32_PRED_CMD and IA32_FLUSH_CMD. Note, this depends on the x2APIC MSR series[*]. Unless someone yells, I'll include both in a pull request later this week. [*] https://lkml.kernel.org/r/20230107011737.577244-1-seanjc%40google.com Sean Christopherson (3): x86: Add define for MSR_IA32_PRED_CMD's PRED_CMD_IBPB (bit 0) x86/msr: Add testcases for MSR_IA32_PRED_CMD and its IBPB command x86/msr: Add testcases for MSR_IA32_FLUSH_CMD and its L1D_FLUSH command lib/x86/msr.h | 4 ++++ lib/x86/processor.h | 1 + x86/msr.c | 38 ++++++++++++++++++++++++++++++++++++++ x86/vmexit.c | 2 +- 4 files changed, 44 insertions(+), 1 deletion(-) base-commit: fa1bddcf1565fc90b98f760358ff74d741fd9a2f -- 2.40.0.348.gf938b09366-goog