Skip to content

TSA 5.10 backport

Borislav Petkov stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/bugs: Rename MDS machinery to something more genericDocumentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst arch/x86/entry/entry.S arch/x86/include/asm/irqflags.h +4 more+32 -320 replies
2/5x86/bugs: Add a Transient Scheduler Attacks mitigationDocumentation/ABI/testing/sysfs-devices-system-cpu Documentation/admin-guide/kernel-parameters.txt arch/x86/Kconfig +11 more+252 -54 replies
3/5KVM: x86: add support for CPUID leaf 0x80000021arch/x86/kvm/cpuid.c+18 -10 replies
4/5KVM: SVM: Advertise TSA CPUID bits to guestsarch/x86/include/asm/cpufeature.h arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/disabled-features.h +4 more+24 -120 replies
5/5x86/process: Move the buffer clearing before MONITORarch/x86/include/asm/mwait.h arch/x86/kernel/process.c+23 -80 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchPawan Gupta
1/5R-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] TSA 5.10 backport

From: "Borislav Petkov (AMD)" <[email protected]>

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(-)
Signature · 1 line
2.43.0