Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 5.15.y 0/2] Fix TSA CPUID management in KVM
@ 2025-08-27 18:15 Boris Ostrovsky
  2025-08-27 18:15 ` [PATCH 5.15.y 1/2] KVM: x86: Move open-coded CPUID leaf 0x80000021 EAX bit propagation code Boris Ostrovsky
  2025-08-27 18:15 ` [PATCH 5.15.y 2/2] KVM: SVM: Properly advertise TSA CPUID bits to guests Boris Ostrovsky
  0 siblings, 2 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2025-08-27 18:15 UTC (permalink / raw)
  To: stable; +Cc: gregkh, sashal, bp

Backport of AMD's TSA mitigation to 5.15 did not set CPUID bits that are
passed to a guest correctly (commit c334ae4a545a "KVM: SVM: Advertise
TSA CPUID bits to guests").

This series attempts to address this:
* The first patch from Kim allows us to properly use cpuid caps.
* The second patch is a combination of fixes to c334ae4a545a and f3f9deccfc68,
  which is stable-only patch to 6.12.y. (Not sure what to do with
  attribution)

Alternatively, we can opencode all of this (the way it's currently done in
__do_cpuid_func()'s 0x80000021 case) and do everything in a single patch.

Boris Ostrovsky (1):
  KVM: SVM:  Properly advertise TSA CPUID bits to guests

Kim Phillips (1):
  KVM: x86: Move open-coded CPUID leaf 0x80000021 EAX bit propagation
    code

 arch/x86/kvm/cpuid.c | 31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2025-09-04 11:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 18:15 [PATCH 5.15.y 0/2] Fix TSA CPUID management in KVM Boris Ostrovsky
2025-08-27 18:15 ` [PATCH 5.15.y 1/2] KVM: x86: Move open-coded CPUID leaf 0x80000021 EAX bit propagation code Boris Ostrovsky
2025-08-27 18:15 ` [PATCH 5.15.y 2/2] KVM: SVM: Properly advertise TSA CPUID bits to guests Boris Ostrovsky
2025-09-02 11:42   ` Greg KH
2025-09-03 16:44     ` Boris Ostrovsky
2025-09-04 11:59       ` Greg KH

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