diff options
| author | James Hogan <[email protected]> | 2016-07-13 14:12:52 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-07-29 10:19:29 +0200 |
| commit | 640511ae92466800c75da77a3c7f72b8488c93a1 (patch) | |
| tree | 53af8725ed47b4861942dffdb412d604fa67d311 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6d758bfc7b05b11a4a853c3052cb815f40b82afe (diff) | |
MIPS: c-r4k: Exclude sibling CPUs in SMP calls
When performing SMP calls to foreign cores, exclude sibling CPUs from
the provided map, as we already handle the local core on the current
CPU. This prevents an SMP call from for example core 0, VPE 1 to VPE 0
on the same core.
In the process the cpu_foreign_map cpumask is turned into an array of
cpumasks, so that each CPU has its own version of it which excludes
sibling CPUs. r4k_op_needs_ipi() is also updated to reflect that cache
management SMP calls are not needed when all CPUs are siblings (i.e.
there are no foreign CPUs according to the new cpu_foreign_map[]
semantics which exclude siblings).
Signed-off-by: James Hogan <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Leonid Yegoshin <[email protected]>
Cc: Felix Fietkau <[email protected]>
Cc: Jayachandran C. <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13801/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions