Skip to content

x86/amd: Fix DE_CFG races and CPUID rescan issues

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/amd: Use setup_force_cpu_cap() for BTC_NOxen/arch/x86/cpu/amd.c+3 -25 replies
1/3x86/amd: Use setup_force_cpu_cap() for BTC_NOxen/arch/x86/cpu/amd.c+3 -21 reply
2/3x86/amd: Stop updating the Zenbleed mitigation dynamicallyxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/microcode/amd.c xen/arch/x86/include/asm/processor.h+1 -52 replies
3/3x86/amd: Fix race editing DE_CFGxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/cpu.h xen/arch/x86/cpu/hygon.c+118 -1185 replies
3/3x86/amd: Fix race editing DE_CFGxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/cpu.h xen/arch/x86/cpu/hygon.c+114 -1181 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/3A-b
1/3A-b
2/3A-b
3/3R-b
3/3R-b

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/3] x86/amd: Fix DE_CFG races and CPUID rescan issues

This is sufficient to fix the CPUID recan issues found by XenServer's testing, and a DE_CFG bug I found along the way.

There are other CPUID rescan issues which will take further work to fix.

Andrew Cooper (3):
x86/amd: Use setup_force_cpu_cap() for BTC_NO x86/amd: Stop updating the Zenbleed mitigation dynamically x86/amd: Fix race editing DE_CFG

 xen/arch/x86/cpu/amd.c               | 232 +++++++++++++--------------
 xen/arch/x86/cpu/cpu.h               |   3 +-
 xen/arch/x86/cpu/hygon.c             |   6 +-
 xen/arch/x86/cpu/microcode/amd.c     |   2 -
 xen/arch/x86/include/asm/processor.h |   2 -
 5 files changed, 121 insertions(+), 124 deletions(-)

base-commit: 08c787f66cced18f0d0afafd86a040341adbd031

Signature · 1 line
2.39.5