Re: [PATCH] powerpc/irq: Improve/fix migrate_irqs()

2017-02-08 Thread Benjamin Herrenschmidt
On Wed, 2017-02-08 at 21:02 +1100, Michael Ellerman wrote: > Benjamin Herrenschmidt 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 l

Re: [PATCH] powerpc/irq: Improve/fix migrate_irqs()

2017-02-08 Thread Michael Ellerman
Benjamin Herrenschmidt 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 pre