Skip to content

x86/msr: Add tests for command MSRs

Sean Christopherson kvm 1 version Applied

Status from this message: Applied to kvm-x86 next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86: Add define for MSR_IA32_PRED_CMD's PRED_CMD_IBPB (bit 0)lib/x86/msr.h x86/vmexit.c+2 -16 replies
2/3x86/msr: Add testcases for MSR_IA32_PRED_CMD and its IBPB commandx86/msr.c+27 -01 reply
3/3x86/msr: Add testcases for MSR_IA32_FLUSH_CMD and its L1D_FLUSH commandlib/x86/msr.h lib/x86/processor.h x86/msr.c+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [kvm-unit-tests PATCH 0/3] x86/msr: Add tests for command MSRs

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

Signature · 1 line
2.40.0.348.gf938b09366-goog