]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry
authorMichael Neuling <mikey@neuling.org>
Wed, 11 Jun 2014 05:59:27 +0000 (15:59 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:05:12 +0000 (17:05 +1000)
commit9b6a68d94333cf19d4ec0f2aaf9f9eb68866630e
tree59b7dc95763f5f070ca8a8f50582cb938aeebf5a
parent5c7a35e3e25232aef8d7aee484436f8cbe3b9b94
powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry

Currently when entering fastsleep we clear all LPCR PECE bits.

This patch changes it to only clear the decrementer bit (ie. PECE1), which is
the only bit we really need to clear here.  This is needed if we want to set
other wakeup causes like the PECEDH bit so we can use hypervisor doorbells on
powernv.  Also we no longer clear the MER bit as it should never be set in the
host anyway.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/cpuidle/cpuidle-powernv.c