Skip to content

Share CPUID stuff between hypervisor and toolstack

Wei Liu xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: move definition of struct cpuid_leaf to cpuid.htools/tests/x86_emulator/x86-emulate.h xen/arch/x86/x86_emulate/x86_emulate.h xen/include/asm-x86/cpuid.h+11 -56 replies
2/5x86: split out cpuid objects and helpersxen/include/asm-x86/arch-shared/cpuid.h xen/include/asm-x86/cpuid.h+215 -2085 replies
3/5tools: link arch-shared directory.gitignore tools/include/Makefile+5 -10 replies
4/5libxc: introduce xc_cpuid_x86.htools/libxc/xc_cpuid_x86.c tools/libxc/xc_cpuid_x86.h+17 -50 replies
5/5XXX DO NOT APPLY: compilation testtools/libxc/xc_cpuid_x86.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Share CPUID stuff between hypervisor and toolstack

The hypervisor has some nice objects and definitions that toolstack can use, too. Make that happen.

The anticipation is in the future MSR objects and definitions should be shared, too.

Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Andrew Cooper <[email protected]>

Wei Liu (5):
x86: move definition of struct cpuid_leaf to cpuid.h
x86: split out cpuid objects and helpers
tools: link arch-shared directory
libxc: introduce xc_cpuid_x86.h
XXX DO NOT APPLY: compilation test

 .gitignore                              |   1 +
 tools/include/Makefile                  |   5 +-
 tools/libxc/xc_cpuid_x86.c              |  23 +++-
 tools/libxc/xc_cpuid_x86.h              |  16 +++
 tools/tests/x86_emulator/x86-emulate.h  |   6 +
 xen/arch/x86/x86_emulate/x86_emulate.h  |   6 +-
 xen/include/asm-x86/arch-shared/cpuid.h | 213 ++++++++++++++++++++++++++++++++
 xen/include/asm-x86/cpuid.h             | 206 +-----------------------------
 8 files changed, 261 insertions(+), 215 deletions(-)
 create mode 100644 tools/libxc/xc_cpuid_x86.h
 create mode 100644 xen/include/asm-x86/arch-shared/cpuid.h
Signature · 7 lines
2.11.0


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