[PATCH] powerpc/irq: Improve/fix migrate_irqs()
mpe at ellerman.id.au
Wed Feb 8 21:02:55 AEDT 2017
Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> migrate_irqs() is used by some platforms to migrate interrupts
> away from a CPU about to be offlined.
> The current implementation had various issues such as not taking
> the descriptor lock before manipulating it.
... and not checking for a NULL chip (but presumably that's never
happened), and always calling irq_set_affinity() even for IRQs not on
But, any reason we can't use irq_migrate_all_off_this_cpu() ?
Which is in generic code.
More information about the Linuxppc-dev