Re[2]: HTC Magician (PXA272) resume problems

From: Paul Sokolovsky <pmiscml_at_gmail.com>
Date: Sat, 24 Jun 2006 15:06:26 +0300

Hello pHilipp,

Wednesday, June 21, 2006, 8:23:43 PM, you wrote:

> On 6/21/06, Matt Reimer <mattjreimer_at_gmail.com> wrote:
>> > Resuming now works, but I have this ugly patch in sleep.S:

[]

>> > Any idea what I can do about this?
>> > Save CCCR on the stack after the CP registers?
>>
>> Yes, saving and restoring CCCR sounds like the cleanest way to handle
>> it, and that shouldn't affect other platforms, whose bootloaders must
>> be handling this differently.

> Here is a patch that does this.

  A thought how this can be made suitable for pushing upstream:
introduce new config var like CONFIG_PXA_SUSPEND_SAVE_EXTRA_REGS which
would add #ifdefs for more regs (I had issues with MSCx for example),
so there will be possibility to select old behavior (who knows what
requirements devel boards might have), as well as support several
devices with new.

> regards
> Philipp

-- 
Best regards,
 Paul                            mailto:pmiscml_at_gmail.com
Received on Sat Jun 24 2006 - 08:06:27 EDT

This archive was generated by hypermail 2.2.0 : Sat Jun 24 2006 - 09:10:11 EDT