Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.6.y v1 0/6] SRSO handling for Zen5 CPUs
@ 2026-04-28 21:46 Daniil Tatianin
  2026-04-28 21:46 ` [PATCH 6.6.y v1 1/6] x86/bugs: Add SRSO_USER_KERNEL_NO support Daniil Tatianin
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Daniil Tatianin @ 2026-04-28 21:46 UTC (permalink / raw)
  To: stable
  Cc: Daniil Tatianin, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, H. Peter Anvin, Peter Zijlstra, Josh Poimboeuf,
	Pawan Gupta, Greg Kroah-Hartman, Tom Lendacky, Sasha Levin,
	Xin Li (Intel), Daniel Sneddon, Ahmed S. Darwish,
	Nikunj A Dadhania

This series backports a few SRSO handling features for Zen5 CPUs from the
mainline kernel. The only important ones are
"x86/bugs: KVM: Add support for SRSO_MSR_FIX" and
"x86/bugs: Add SRSO_USER_KERNEL_NO support". The rest are added to avoid
conflicts when applying the aforementioned patches.

Changes since v0:
- Add e3417ab75ab2 ("KVM: SVM: Set/clear SRSO's BP_SPEC_REDUCE on 0 <=> 1 VM count transitions")
  to fix a performance regression introduced by 8442df2b49ed ("x86/bugs: KVM: Add support for SRSO_MSR_FIX")
  (Suggested by Sean Christopherson)

Borislav Petkov (1):
  x86/bugs: KVM: Add support for SRSO_MSR_FIX

Borislav Petkov (AMD) (1):
  x86/bugs: Add SRSO_USER_KERNEL_NO support

David Kaplan (1):
  x86/bugs: Fix handling when SRSO mitigation is disabled

Josh Poimboeuf (2):
  x86/srso: Print actual mitigation if requested mitigation isn't
    possible
  x86/srso: Remove 'pred_cmd' label

Sean Christopherson (1):
  KVM: SVM: Set/clear SRSO's BP_SPEC_REDUCE on 0 <=> 1 VM count
    transitions

 Documentation/admin-guide/hw-vuln/srso.rst | 13 +++++
 arch/x86/include/asm/cpufeatures.h         |  5 ++
 arch/x86/include/asm/msr-index.h           |  1 +
 arch/x86/kernel/cpu/bugs.c                 | 46 ++++++++++-----
 arch/x86/kernel/cpu/common.c               |  1 +
 arch/x86/kvm/svm/svm.c                     | 65 ++++++++++++++++++++++
 arch/x86/kvm/svm/svm.h                     |  2 +
 arch/x86/lib/msr.c                         |  2 +
 8 files changed, 120 insertions(+), 15 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-30 17:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 21:46 [PATCH 6.6.y v1 0/6] SRSO handling for Zen5 CPUs Daniil Tatianin
2026-04-28 21:46 ` [PATCH 6.6.y v1 1/6] x86/bugs: Add SRSO_USER_KERNEL_NO support Daniil Tatianin
2026-04-28 21:46 ` [PATCH 6.6.y v1 2/6] x86/srso: Print actual mitigation if requested mitigation isn't possible Daniil Tatianin
2026-04-28 21:46 ` [PATCH 6.6.y v1 3/6] x86/srso: Remove 'pred_cmd' label Daniil Tatianin
2026-04-28 21:46 ` [PATCH 6.6.y v1 4/6] x86/bugs: Fix handling when SRSO mitigation is disabled Daniil Tatianin
2026-04-28 21:46 ` [PATCH 6.6.y v1 5/6] x86/bugs: KVM: Add support for SRSO_MSR_FIX Daniil Tatianin
2026-04-30 17:47   ` Sean Christopherson
2026-04-28 21:46 ` [PATCH 6.6.y v1 6/6] KVM: SVM: Set/clear SRSO's BP_SPEC_REDUCE on 0 <=> 1 VM count transitions Daniil Tatianin
2026-04-30 17:47   ` Sean Christopherson
2026-04-29 17:50 ` [PATCH 6.6.y v1 0/6] SRSO handling for Zen5 CPUs Sasha Levin
2026-04-30 17:49   ` Sean Christopherson

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