Skip to content

x86/spec-ctrl: AMD DIV fix, and VERW prerequisite bugfixes

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/spec-ctrl: Fix confusion between SPEC_CTRL_EXIT_TO_XEN{,_IST}xen/arch/x86/include/asm/spec_ctrl_asm.h xen/arch/x86/x86_64/entry.S+2 -82 replies
2/8x86/spec-ctrl: Fold DO_SPEC_CTRL_EXIT_TO_XEN into it's single userxen/arch/x86/include/asm/spec_ctrl_asm.h+16 -241 reply
3/8x86/spec-ctrl: Turn the remaining SPEC_CTRL_{ENTRY,EXIT}_* into asm macrosxen/arch/x86/include/asm/spec_ctrl_asm.h+28 -91 reply
4/8x86/spec-ctrl: Extend all SPEC_CTRL_{ENTER,EXIT}_* commentsxen/arch/x86/include/asm/spec_ctrl_asm.h+30 -54 replies
5/8x86/entry: Adjust restore_all_xen to hold stack_end in %r14xen/arch/x86/include/asm/spec_ctrl_asm.h xen/arch/x86/x86_64/entry.S+8 -82 replies
6/8x86/entry: Track the IST-ness of an entry for the exit pathsxen/arch/x86/traps.c xen/arch/x86/x86_64/compat/entry.S xen/arch/x86/x86_64/entry.S+41 -44 replies
7/8x86/spec-ctrl: Issue VERW during IST exit to Xenxen/arch/x86/include/asm/spec_ctrl_asm.h xen/arch/x86/x86_64/entry.S+16 -63 replies
8/8x86/spec-ctrl: Mitigate the Zen1 DIV leakgedocs/misc/xen-command-line.pandoc xen/arch/x86/hvm/svm/entry.S xen/arch/x86/include/asm/cpufeatures.h +2 more+66 -46 replies

Reviews trailers per patch

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

PatchJan Beulich
1/8R-b
2/8R-b
3/8R-b
4/8
5/8R-b
6/8
7/8R-b
8/8

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/8] x86/spec-ctrl: AMD DIV fix, and VERW prerequisite bugfixes

Patch 8 is the XSA-439 fix for the AMD DIV issue, disclosed insufficiently ahead of August 8th for us to prepare a fix for the embargo.

Patches 1 thru 7 are prerequisites, identified while trying to write patch 8.

All 8 patches are for all security trees.

Andrew Cooper (8):
x86/spec-ctrl: Fix confusion between SPEC_CTRL_EXIT_TO_XEN{,_IST} x86/spec-ctrl: Fold DO_SPEC_CTRL_EXIT_TO_XEN into it's single user x86/spec-ctrl: Turn the remaining SPEC_CTRL_{ENTRY,EXIT}_* into asm macros x86/spec-ctrl: Extend all SPEC_CTRL_{ENTER,EXIT}_* comments x86/entry: Adjust restore_all_xen to hold stack_end in %r14 x86/entry: Track the IST-ness of an entry for the exit paths x86/spec-ctrl: Issue VERW during IST exit to Xen x86/spec-ctrl: Mitigate the Zen1 DIV leakge

 docs/misc/xen-command-line.pandoc        |   6 +-
 xen/arch/x86/hvm/svm/entry.S             |   1 +
 xen/arch/x86/include/asm/cpufeatures.h   |   2 +-
 xen/arch/x86/include/asm/spec_ctrl_asm.h | 150 ++++++++++++++++-------
 xen/arch/x86/spec_ctrl.c                 |  45 ++++++-
 xen/arch/x86/traps.c                     |  13 ++
 xen/arch/x86/x86_64/compat/entry.S       |   9 +-
 xen/arch/x86/x86_64/entry.S              |  31 +++--
 8 files changed, 198 insertions(+), 59 deletions(-)

base-commit: 6aa25c32180ab59081c73bae4c568367d9133a1f

Signature · 1 line
2.30.2