Skip to content

x86/amd: LFENCE always serializing CPUID bit

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/amd: split LFENCE dispatch serializing setup logic into helperxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/cpu.h xen/arch/x86/cpu/hygon.c+36 -540 replies
2/2x86/cpuid: support LFENCE always serializing CPUID bittools/libs/light/libxl_cpuid.c tools/misc/xen-cpuid.c xen/arch/x86/cpu/amd.c +4 more+58 -24 replies

Reviews trailers per patch

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

PatchAndrew CooperJan Beulich
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] x86/amd: LFENCE always serializing CPUID bit

Hello,

The following patches aim to add support for the LFENCE always serializing CPUID bit found in leaf 80000021.eax. In order to do that the featureset needs to be expanded to support leaf 80000021.eax.

Thanks, Roger.

Roger Pau Monne (2):
x86/amd: split LFENCE dispatch serializing setup logic into helper x86/cpuid: support LFENCE always serializing CPUID bit

 tools/libs/light/libxl_cpuid.c              |  2 +
 tools/misc/xen-cpuid.c                      |  6 ++
 xen/arch/x86/cpu/amd.c                      | 69 ++++++++++++---------
 xen/arch/x86/cpu/common.c                   |  3 +
 xen/arch/x86/cpu/cpu.h                      |  1 +
 xen/arch/x86/cpu/hygon.c                    | 27 +-------
 xen/include/asm-x86/cpufeatures.h           |  2 +-
 xen/include/public/arch-x86/cpufeatureset.h |  3 +
 xen/include/xen/lib/x86/cpuid.h             | 37 ++++++++++-
 9 files changed, 94 insertions(+), 56 deletions(-)
Signature · 1 line
2.30.1