Re: [PATCH v2 1/2] powerpc: Add helpers for LPCR PECE1 operations

2015-01-22 Thread Michael Ellerman
On Fri, 2015-01-23 at 09:16 +0530, Shreyas B Prabhu wrote: > > On Friday 23 January 2015 08:36 AM, Michael Ellerman wrote: > > On Mon, 2015-01-19 at 13:35 +0530, Shreyas B. Prabhu wrote: > >> PECE1 bit in LPCR is used to control whether decrementer can cause exit > >> from powersaving states. PECE

Re: [PATCH v2 1/2] powerpc: Add helpers for LPCR PECE1 operations

2015-01-22 Thread Shreyas B Prabhu
On Friday 23 January 2015 08:36 AM, Michael Ellerman wrote: > On Mon, 2015-01-19 at 13:35 +0530, Shreyas B. Prabhu wrote: >> PECE1 bit in LPCR is used to control whether decrementer can cause exit >> from powersaving states. PECE1 bit is cleared before entering fastsleep >> or deeper powersaving

Re: [PATCH v2 1/2] powerpc: Add helpers for LPCR PECE1 operations

2015-01-22 Thread Michael Ellerman
On Mon, 2015-01-19 at 13:35 +0530, Shreyas B. Prabhu wrote: > PECE1 bit in LPCR is used to control whether decrementer can cause exit > from powersaving states. PECE1 bit is cleared before entering fastsleep > or deeper powersaving state and it is set on waking up. Since both > cpuidle and cpu offl

[PATCH v2 1/2] powerpc: Add helpers for LPCR PECE1 operations

2015-01-19 Thread Shreyas B. Prabhu
PECE1 bit in LPCR is used to control whether decrementer can cause exit from powersaving states. PECE1 bit is cleared before entering fastsleep or deeper powersaving state and it is set on waking up. Since both cpuidle and cpu offline operations use these powersaving states, add helper functions to