]> git.baikalelectronics.ru Git - 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)
commit5d9160782bee9bc2cbc86151317cd0db389c8b74
tree8819d4117525b024be704ddc34ee0b5a560a4aff
parent219e88a32eccdb201640c18912efec1c16e781bc
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