]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/powernv: Simplify lazy IRQ handling in CPU offline
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Jun 2017 13:05:46 +0000 (23:05 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Jun 2017 09:46:26 +0000 (19:46 +1000)
commit2525db04d1cc53e1951143d1829aa75a78cc7f76
tree8819d4117525b024be704ddc34ee0b5a560a4aff
parent2201f994a5742c03e660623c385fd6897dd1fa2f
powerpc/powernv: Simplify lazy IRQ handling in CPU offline

Rather than concern ourselves with any soft-mask logic in the CPU
hotplug handler, just hard disable interrupts. This ensures there
are no lazy-irqs pending, which means we can call directly to idle
instruction in order to sleep.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/idle.c
arch/powerpc/platforms/powernv/smp.c