Skip to content

x86/cpu: Rework of X86_VENDOR_* constants

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/cpu: Drop cpu_devs[] and $VENDOR_init_cpu() hooksxen/arch/x86/cpu/amd.c xen/arch/x86/cpu/centaur.c xen/arch/x86/cpu/common.c +3 more+13 -462 replies
2/5x86/cpu: Introduce x86_cpuid_vendor_to_str() and drop cpu_dev.c_vendor[]xen/arch/x86/cpu/amd.c xen/arch/x86/cpu/centaur.c xen/arch/x86/cpu/common.c +6 more+21 -161 reply
3/5x86/cpu: Renumber X86_VENDOR_* to form a bitmapxen/arch/x86/acpi/cpufreq/cpufreq.c xen/arch/x86/acpi/suspend.c xen/arch/x86/pv/emul-priv-op.c +2 more+12 -162 replies
4/5x86/cpu: Create Hygon Dhyana architecture support filetools/tests/cpu-policy/test-cpu-policy.c xen/arch/x86/cpu/Makefile xen/arch/x86/cpu/amd.c +5 more+126 -23 replies
5/5x86/msr: Fix handling of MSR_AMD_PATCHLEVEL/MSR_IA32_UCODE_REVxen/arch/x86/msr.c xen/arch/x86/pv/emul-priv-op.c+34 -221 reply

Reviews trailers per patch

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

PatchJan Beulich
1/5R-b
2/5R-b
3/5R-b
4/5
5/5R-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/5] x86/cpu: Rework of X86_VENDOR_* constants

Pu: I'm sorry to keep on breaking the code you're working, but I think the changes here will simplify your Hygon series somewhat. See patch 3 for the best example.

To apologise, I've also rebased your v5 Patch 1 over the changes here (patch 4 in this series), to save you the work. I'll also fix up any patches in your v5 series on commit, if there are no further review comments, to save you sending out a v6.

Andrew Cooper (4):
x86/cpu: Drop cpu_devs[] and $VENDOR_init_cpu() hooks x86/cpu: Introduce x86_cpuid_vendor_to_str() and drop cpu_dev.c_vendor[] x86/cpu: Renumber X86_VENDOR_* to form a bitmap
x86/msr: Fix handling of MSR_AMD_PATCHLEVEL/MSR_IA32_UCODE_REV

Pu Wen (1):
x86/cpu: Create Hygon Dhyana architecture support file

 tools/tests/cpu-policy/test-cpu-policy.c |   1 +
 xen/arch/x86/acpi/cpufreq/cpufreq.c      |   3 +-
 xen/arch/x86/acpi/suspend.c              |   6 +-
 xen/arch/x86/cpu/Makefile                |   1 +
 xen/arch/x86/cpu/amd.c                   |  11 +---
 xen/arch/x86/cpu/centaur.c               |   9 +--
 xen/arch/x86/cpu/common.c                |  28 ++++----
 xen/arch/x86/cpu/cpu.h                   |  10 +--
 xen/arch/x86/cpu/hygon.c                 | 107 +++++++++++++++++++++++++++++++
 xen/arch/x86/cpu/intel.c                 |  12 +---
 xen/arch/x86/cpu/shanghai.c              |   9 +--
 xen/arch/x86/msr.c                       |  34 ++++++++++
 xen/arch/x86/pv/emul-priv-op.c           |  25 +-------
 xen/arch/x86/x86_64/traps.c              |   3 +-
 xen/include/asm-x86/x86-vendors.h        |  18 ++++--
 xen/include/xen/lib/x86/cpuid.h          |   6 ++
 xen/lib/x86/cpuid.c                      |  19 ++++++
 17 files changed, 203 insertions(+), 99 deletions(-)
 create mode 100644 xen/arch/x86/cpu/hygon.c
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel