[PATCH 0/2] x86/bugs: Updates to SSBD support on AMD

From: Tom Lendacky
Date: Mon Jul 02 2018 - 17:36:31 EST


These patches update the SSBD support on AMD processors.

The following patches are included in this series:
- In addition to checking the family, the check for the LS_CFG_SSBD
feature only needs to done if both the AMD_SSBD and VIRT_SSBD features
are not present.
- Since AMD can support more than one SSBD mitigation method, the check
for when to use the SPEC_CTRL MSR for SSBD support needs to be more
specific. Explicitly check for the features that use the SPEC_CTRL MSR.

This patch series is based on tip:master.

---

Tom Lendacky (2):
x86/bugs: Update when to check for the LS_CFG SSBD mitigation
x86/bugs: Fix the AMD SSBD usage of the SPEC_CTRL MSR


arch/x86/kernel/cpu/amd.c | 4 +++-
arch/x86/kernel/cpu/bugs.c | 8 +++++---
2 files changed, 8 insertions(+), 4 deletions(-)

--
Tom Lendacky