]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle/powernv: avoid double irq enable coming out of idle
authorNicholas Piggin <npiggin@gmail.com>
Thu, 16 Nov 2017 16:00:51 +0000 (02:00 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Jan 2018 04:43:43 +0000 (15:43 +1100)
commit9551005562e091ab943810ea1360e54d8aec8eb1
treef0f5a7988f76febc47dd9c026db3c99275cf1ab7
parent5c73176c0e67c704ee9b3b869d280a9cb90d889c
cpuidle/powernv: avoid double irq enable coming out of idle

Since 6c8cdad42d ("cpuidle: Add common time keeping and irq enabling"),
cpuidle drivers are expected to return from ->enter with irqs disabled.

Update the cpuidle-powernv snooze loop to disable irqs before returning.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/cpuidle/cpuidle-powernv.c