Files
qemu/hw
Greg Kurz 12bf2d33fe spapr: disintricate core-id from DT semantics
The goal of this patch is to have a stable core-id which does not depend
on any DT related semantics, which involve non-obvious computations on
modern PowerPC server cpus.

With this patch, the DT core id is computed on-demand as:

       (core-id / smp_threads) * smt

where smt is the number of threads per core in the host.

This formula should be consolidated in a helper since it is needed in
several places.

Other uses for core-id includes: compute a stable cpu_index (which
allows random order hotplug/unplug without breaking migration) and
NUMA.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-07-25 15:43:41 +10:00
..
2016-07-21 20:44:20 +03:00
2016-07-19 20:18:02 +02:00
2016-07-21 20:44:20 +03:00
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-07-21 20:44:20 +03:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-07-20 19:30:26 +03:00
2016-07-25 10:19:30 +10:00
2016-01-29 15:07:25 +00:00
2016-06-24 05:13:57 +03:00
2016-07-21 20:44:20 +03:00
2015-12-22 18:39:19 +02:00