aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJonathan Austin <[email protected]>2013-09-26 16:49:27 +0100
committerChristoffer Dall <[email protected]>2013-10-12 17:44:39 -0700
commit1158fca401e09665c440a9fe4fd4f131ee85c13b (patch)
tree85f1e2c1147fde717ddae7823174dfa92ce9baae /tools/perf/util/trace-event-scripting.c
parent740edfc0a35dd688c97ae8907c4377df49219bf3 (diff)
KVM: ARM: Fix calculation of virtual CPU ID
KVM does not have a notion of multiple clusters for CPUs, just a linear array of CPUs. When using a system with cores in more than one cluster, the current method for calculating the virtual MPIDR will leak the (physical) cluster information into the virtual MPIDR. One effect of this is that Linux under KVM fails to boot multiple CPUs that aren't in the 0th cluster. This patch does away with exposing the real MPIDR fields in favour of simply using the virtual CPU number (but preserving the U bit, as before). Signed-off-by: Jonathan Austin <[email protected]> Acked-by: Marc Zyngier <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions