aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatt Redfearn <[email protected]>2016-09-20 09:47:26 +0100
committerRalf Baechle <[email protected]>2016-10-05 01:31:20 +0200
commit7688c5391038e60377275f078e6d7043dc115efc (patch)
tree002e34a6755e5200f01d432bf10ca35dfa8c6f45 /tools/perf/scripts/python/stackcollapse.py
parente710d6668309d227cc7a46e9c222d97d4a502b9e (diff)
MIPS: smp.c: Introduce mechanism for freeing and allocating IPIs
For the MIPS remote processor implementation, we need additional IPIs to talk to the remote processor. Since MIPS GIC reserves exactly the right number of IPI IRQs required by Linux for the number of VPs in the system, this is not possible without releasing some recources. This commit introduces mips_smp_ipi_allocate() which allocates IPIs to a given cpumask. It is called as normal with the cpu_possible_mask at bootup to initialise IPIs to all CPUs. mips_smp_ipi_free() may then be used to free IPIs to a subset of those CPUs so that their hardware resources can be reused. Signed-off-by: Matt Redfearn <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Lisa Parratt <[email protected]> Cc: James Hogan <[email protected]> Cc: Qais Yousef <[email protected]> Cc: Paul Burton <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/14285/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions