]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/64s: Fix PACA_IRQ_HARD_DIS accounting in idle_power4()
authorNicholas Piggin <npiggin@gmail.com>
Tue, 7 Aug 2018 13:21:56 +0000 (23:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 Aug 2018 05:36:02 +0000 (15:36 +1000)
commit993ff6d9df74305bc7b5bbc7a0810cf599b6394c
treeddf7b49a13a73306d354ebe9eb587bac250d07f0
parenta2dc009afa9ae8b92305be7728676562a104cb40
powerpc/64s: Fix PACA_IRQ_HARD_DIS accounting in idle_power4()

When idle_power4() hard disables interrupts then finds a soft pending
interrupt, it returns with interrupts hard disabled but without
PACA_IRQ_HARD_DIS set. Commit 9b81c0211c ("powerpc/64s: make
PACA_IRQ_HARD_DIS track MSR[EE] closely") added a warning for that
condition (since disabled).

Fix this by adding the PACA_IRQ_HARD_DIS for that case.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/idle_power4.S