On Thu, 05 Jun 2025 12:26:40 -0700, Sean Christopherson wrote: > Add test coverage for SPEC_CTRL, which detects the bug pointed by Chao[1] > when running on hosts with V_SPEC_CTRL. > > Note, this applies on top of the X86_FEATURE_XXX cleanup[2]. > > [1] https://lore.kernel.org/all/aEE4BEHAHdhNTGoG@xxxxxxxxx > [2] https://lore.kernel.org/all/20250529221929.3807680-1-seanjc@xxxxxxxxxx > > [...] Applied to kvm-x86 next, with X86_FEATURE_STIBP gating STIBP (thanks Chao!). [1/3] x86/msr: Treat PRED_CMD as support if CPU has SBPB https://github.com/kvm-x86/kvm-unit-tests/commit/5cd94b1b09aa [2/3] x86/msr: Add a testcase to verify SPEC_CTRL exists (or not) as expected https://github.com/kvm-x86/kvm-unit-tests/commit/70445405573d [3/3] x86/msr: Add an "msr64" test configuration to validate negative cases https://github.com/kvm-x86/kvm-unit-tests/commit/55c6fc875a60 -- https://github.com/kvm-x86/kvm-unit-tests/tree/next