mbox series

[0/5] x86/cpu: Rework of X86_VENDOR_* constants

Message ID 1554409592-28572-1-git-send-email-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/cpu: Rework of X86_VENDOR_* constants | expand

Message

Andrew Cooper April 4, 2019, 8:26 p.m. UTC
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