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

Roger Pau Monne posted 2 patches 3 years ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20210415144731.3356-1-roger.pau@citrix.com
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(-)
[PATCH v2 0/2] x86/amd: LFENCE always serializing CPUID bit
Posted by Roger Pau Monne 3 years ago
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(-)

-- 
2.30.1