forked from luck/tmp_suning_uos_patched
f229006ec6
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 <tglx@linutronix.de> Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-metag@vger.kernel.org Cc: stable@vger.kernel.org |
||
---|---|---|
.. | ||
exynos-combiner.c | ||
irq-armada-370-xp.c | ||
irq-bcm2835.c | ||
irq-dw-apb-ictl.c | ||
irq-gic.c | ||
irq-imgpdc.c | ||
irq-metag-ext.c | ||
irq-metag.c | ||
irq-mmp.c | ||
irq-moxart.c | ||
irq-mxs.c | ||
irq-nvic.c | ||
irq-orion.c | ||
irq-renesas-intc-irqpin.c | ||
irq-renesas-irqc.c | ||
irq-s3c24xx.c | ||
irq-sirfsoc.c | ||
irq-sun4i.c | ||
irq-tb10x.c | ||
irq-versatile-fpga.c | ||
irq-vic.c | ||
irq-vt8500.c | ||
irq-xtensa-mx.c | ||
irq-xtensa-pic.c | ||
irq-zevio.c | ||
irqchip.c | ||
irqchip.h | ||
Kconfig | ||
Makefile | ||
spear-shirq.c |