linux-mips
[Top] [All Lists]

[PATCH v3 0/8] Alchemy updates

To: linux-mips@linux-mips.org
Subject: [PATCH v3 0/8] Alchemy updates
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Wed, 23 Jul 2008 19:45:57 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-09)
Hello,

Here's a new set of patches to modernize Alchemy setup and PM code.
All patches have been compile-tested with db100 and db1200 defconfigs,
and have been runnning on a few custom Au1250 boards for now more than
4 weeks.  I've suspended and resumed a few hundred times while stressing
the system (continuously reading from SD cards and playing audio and
compiling GCC) without any problems.

#1 removes unussed functions
#2 removes the cpu_table and replaces it with simpler code (IMHO of course)
#3 enables use of cp0 counter as a fallback,
#4 clockevent/clocksource support using one of the 2 counters of the Au1xxx
   this also enables the use of the 'wait' instruction; depends on #3
#5 cleanup made possible with #4 
#7 and #8 fix suspend/resume.

I didn't touch the current Alchemy sysctl PM implementation to not change
existing behavior except when necessary (e.g. in #4), although I'm
itching to remove it completely and replace it with something better
suited (and -looking) for 2.6.  It is broken for newer Alchemy SoCs anyway.


Changes V2->V3:
- swap patches 1 and 2 
- minor refinements, no function changes.

Changes V1->V2:
- address Sergei's comments wrt. config[OD] handling
- change TOY clocksource to RTC clocksource
- add another patch (#5)


Thanks,
        Manuel Lauss

<Prev in Thread] Current Thread [Next in Thread>