]> 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:52 +0000 (02:00 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Jan 2018 04:43:44 +0000 (15:43 +1100)
commit09c5985f6afb537ff8c0d482192210fe59b46a27
tree7b2bb0b8785e064f346dd786d9d36933984ccef5
parentf06dc8e154ff94d734b08efcff219f41ed21e128
cpuidle/powernv: avoid double irq enable coming out of idle

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

Update the cpuidle-powernv snooze and cede loops 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-pseries.c