Skip to content

RFC Support for hwloc

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools/libxc: Improved xc_{topology, numa}info functions.tools/libxc/xc_misc.c tools/libxc/xenctrl.h+134 -04 replies
2/2SYSCTL subop to execute cpuid on a specified pcputools/libxc/xc_misc.c tools/libxc/xenctrl.h xen/arch/x86/sysctl.c +1 more+71 -00 replies
2/2xen/x86: Introduce XEN_SYSCTL_cpuid hypercalltools/libxc/xc_misc.c tools/libxc/xenctrl.h xen/arch/x86/sysctl.c +1 more+71 -05 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/2
2/2A-b
2/2A-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 RFC 0/2] Support for hwloc

These two patches have been developed in combination with a Xen pluging for hwloc, to allow a toolstack domain to gather the system topology rather than the virtual topology.

An experimental hwloc branch can be found here:

git://xenbits.xen.org/people/andrewcoop/hwloc.git hwloc-xen-topology-v5
http://xenbits.xen.org/gitweb/?p=people/andrewcoop/hwloc.git;a=shortlog;h=refs/heads/hwloc-xen-topology-v5

and depends on these two patches to function.

Patch 1 is extending xc_{topology,numa}info() functions to include a version which performs correct hypercall bounce buffering.

Patch 2 introduced SYSCTL_xen_cpuid which allows a toolstack to perform arbitrary cpuid instructions on specific physical cpus. hwloc uses this to enumerate the cpuid cache leaves without resorting to tactics of pinning vcpus to specific pcpus and running native cpuid.

Comments welcome,

~Andrew