Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@kernel.org>
To: <stable@vger.kernel.org>
Subject: [PATCH 0/5] TSA 5.10 backport
Date: Tue, 15 Jul 2025 14:37:44 +0200	[thread overview]
Message-ID: <20250715123749.4610-1-bp@kernel.org> (raw)

From: "Borislav Petkov (AMD)" <bp@alien8.de>

Hi,

this is a 5.10 backport of the AMD TSA mitigation.

It has been tested with the corresponding *upstream* qemu patches here:

https://lore.kernel.org/r/12881b2c03fa351316057ddc5f39c011074b4549.1752176771.git.babu.moger@amd.com

Thx.

Borislav Petkov (AMD) (4):
  x86/bugs: Rename MDS machinery to something more generic
  x86/bugs: Add a Transient Scheduler Attacks mitigation
  KVM: SVM: Advertise TSA CPUID bits to guests
  x86/process: Move the buffer clearing before MONITOR

Paolo Bonzini (1):
  KVM: x86: add support for CPUID leaf 0x80000021

 .../ABI/testing/sysfs-devices-system-cpu      |   1 +
 .../hw-vuln/processor_mmio_stale_data.rst     |   4 +-
 .../admin-guide/kernel-parameters.txt         |  13 ++
 arch/x86/Kconfig                              |   9 ++
 arch/x86/entry/entry.S                        |   8 +-
 arch/x86/include/asm/cpu.h                    |  13 ++
 arch/x86/include/asm/cpufeature.h             |   5 +-
 arch/x86/include/asm/cpufeatures.h            |   8 +-
 arch/x86/include/asm/disabled-features.h      |   2 +-
 arch/x86/include/asm/irqflags.h               |   4 +-
 arch/x86/include/asm/mwait.h                  |  19 ++-
 arch/x86/include/asm/nospec-branch.h          |  39 ++---
 arch/x86/include/asm/required-features.h      |   2 +-
 arch/x86/kernel/cpu/amd.c                     |  58 ++++++++
 arch/x86/kernel/cpu/bugs.c                    | 133 +++++++++++++++++-
 arch/x86/kernel/cpu/common.c                  |  14 +-
 arch/x86/kernel/process.c                     |  15 +-
 arch/x86/kvm/cpuid.c                          |  31 +++-
 arch/x86/kvm/cpuid.h                          |   1 +
 arch/x86/kvm/svm/vmenter.S                    |   3 +
 arch/x86/kvm/vmx/vmx.c                        |   2 +-
 drivers/base/cpu.c                            |   2 +
 include/linux/cpu.h                           |   1 +
 23 files changed, 339 insertions(+), 48 deletions(-)

-- 
2.43.0


             reply	other threads:[~2025-07-15 12:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 12:37 Borislav Petkov [this message]
2025-07-15 12:37 ` [PATCH 1/5] x86/bugs: Rename MDS machinery to something more generic Borislav Petkov
2025-07-15 12:37 ` [PATCH 2/5] x86/bugs: Add a Transient Scheduler Attacks mitigation Borislav Petkov
2025-07-27 13:58   ` Ben Hutchings
2025-07-27 15:03     ` Borislav Petkov
2025-07-27 15:43       ` Ben Hutchings
2025-07-27 18:07         ` Borislav Petkov
2025-07-15 12:37 ` [PATCH 3/5] KVM: x86: add support for CPUID leaf 0x80000021 Borislav Petkov
2025-07-15 12:37 ` [PATCH 4/5] KVM: SVM: Advertise TSA CPUID bits to guests Borislav Petkov
2025-07-15 12:37 ` [PATCH 5/5] x86/process: Move the buffer clearing before MONITOR Borislav Petkov
2025-07-15 13:06 ` [PATCH 0/5] TSA 5.10 backport Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250715123749.4610-1-bp@kernel.org \
    --to=bp@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox