Subject: [RFC PATCH v5 4/4] arm: fix a migrating irq bug when hotplug cpu

From: [email-masked] (Marc Zyngier)
Date: Tue, 22 Sep 2015 19:50:37 +0100

On Sat, 19 Sep 2015 11:05:59 +0800
Yang Yingliang <[email-masked]> wrote:

> When cpu is disabled, all irqs will be migratged to another cpu.
> In some cases, a new affinity is different, it needed to be coppied
> to irq's affinity. But if the type of irq is LPI, it's affinity will
> not be coppied because of irq_set_affinity's return value. Fix it by
> using irq_do_set_affinity.
> 
> And migrating interrupts is a core code matter, so use the generic
> function irq_migrate_all_off_this_cpu() to migrate interrupts in
> kernel/irq/migration.c.
> 
> Cc: Jiang Liu <[email-masked]>
> Cc: Thomas Gleixner <[email-masked]>
> Cc: Marc Zyngier <[email-masked]>
> Cc: Mark Rutland <[email-masked]>
> Cc: Will Deacon <[email-masked]>
> Cc: Russell King - ARM Linux <[email-masked]>
> Cc: Hanjun Guo <[email-masked]>
> Signed-off-by: Yang Yingliang <[email-masked]>

Acked-by: Marc Zyngier <[email-masked]>

	M.
-- 
Jazz is not dead. It just smells funny.