[PATCH 2/3] ARM: PXA27x: save/restore PWER on suspend/resume

Vasily Khoruzhick anarsoul at gmail.com
Sun Feb 26 09:55:09 EST 2012


2012/2/26 Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Sun, Feb 26, 2012 at 04:47:41PM +0300, Vasily Khoruzhick wrote:
>> Bootloader can clobber PWER value, so save it state on suspend.
>
> What boot loader is this, and why is it being so idiotic?  Why can't it
> be fixed?

I'm using u-boot on this machine...
Hmm, I've looked throuhg its sources and did not find where it can clobber it.
But PWER register value is not preserved across suspend for some reason
(at least bit 0). Maybe it's some conflict with gpiolib? But
gpio_set_wake() doesn't work
for me on PXA.

Regards
Vasily



More information about the linux-arm-kernel mailing list