aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2014-02-25 22:05:35 +0000
committerJames Hogan <[email protected]>2014-02-25 22:35:06 +0000
commitf229006ec6beabf7b844653d92fa61f025fe3dcf (patch)
tree2c255147f33bdde95fe16d56ccda2343446d6883 /tools/perf/scripts
parente6cfc0295c7d51b008999a8b13a44fb43f8685ea (diff)
irq-metag*: stop set_affinity vectoring to offline cpus
Fix irq_set_affinity callbacks in the Meta IRQ chip drivers to AND cpu_online_mask into the cpumask when picking a CPU to vector the interrupt to. As Thomas pointed out, the /proc/irq/$N/smp_affinity interface doesn't filter out offline CPUs, so without this patch if you offline CPU0 and set an IRQ affinity to 0x3 it vectors the interrupt onto CPU0 even though it is offline. Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: James Hogan <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions