This is the next piece of CPUID work, and associated cleanup for the existing
logic.

Andrew Cooper (4):
  libx86: Introduce x86_cpuid_lookup_vendor()
  x86/cpuid: Drop get_cpu_vendor() completely
  tools/libxc: Use x86_cpuid_lookup_vendor() rather than opencoding the logic
  libx86: Recalculate synthesised cpuid_policy fields when appropriate

 tools/libxc/xc_cpuid_x86.c               | 28 ++++++--------------
 tools/tests/cpu-policy/test-cpu-policy.c | 37 ++++++++++++++++++++++++++
 xen/arch/x86/cpu/amd.c                   |  1 -
 xen/arch/x86/cpu/centaur.c               |  1 -
 xen/arch/x86/cpu/common.c                | 45 +++++++++-----------------------
 xen/arch/x86/cpu/cpu.h                   |  1 -
 xen/arch/x86/cpu/intel.c                 |  1 -
 xen/arch/x86/cpu/shanghai.c              |  1 -
 xen/arch/x86/cpuid.c                     |  7 ++---
 xen/include/asm-x86/processor.h          |  7 -----
 xen/include/asm-x86/x86-vendors.h        | 21 +++++++++++++++
 xen/include/xen/lib/x86/cpuid.h          | 14 +++++++---
 xen/lib/x86/cpuid.c                      | 43 ++++++++++++++++++++++++++++++
 xen/lib/x86/private.h                    |  1 +
 14 files changed, 138 insertions(+), 70 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to