linux-mips
[Top] [All Lists]

[PATCH v4 0/10] Alchemy updates.

To: linux-mips@linux-mips.org
Subject: [PATCH v4 0/10] Alchemy updates.
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Tue, 29 Jul 2008 18:58:53 +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 again a new set of patches to modernize Alchemy setup and PM code.
All patches have been compile-tested with db1100 and db1200 defconfigs,
and have been runnning on a few custom Au1250 boards for now more than
5 weeks.  I've suspended and resumed a few hundred times while stressing
the system (continuous SD + CF reads while playing some wave files and
compiling sources).

#1 removes unused 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.
#9 adds DBDMA suspend/resume support.
#10 replaces sysctl suspend interface with something better (IMO).

All patches depend on each other, have been run-tested on a custom AU1200
system and compile-tested with a minimal config on db1100 and db1200.

Changes V3->V4:
- rediffed against 2.6.27-rc1
- add patch #10.

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)


 arch/mips/Kconfig                     |    8 
 arch/mips/au1000/Kconfig              |    4 
 arch/mips/au1000/common/Makefile      |    4 
 arch/mips/au1000/common/clocks.c      |   65 +++--
 arch/mips/au1000/common/cputable.c    |   52 ----
 arch/mips/au1000/common/dbdma.c       |   65 +++++
 arch/mips/au1000/common/dbg_io.c      |    4 
 arch/mips/au1000/common/irq.c         |   57 ----
 arch/mips/au1000/common/platform.c    |  257 ++++++++++++++++++++
 arch/mips/au1000/common/power.c       |  421 ++++++----------------------------
 arch/mips/au1000/common/setup.c       |   39 ---
 arch/mips/au1000/common/sleeper.S     |  121 +++++----
 arch/mips/au1000/common/time.c        |  305 ++++++++----------------
 arch/mips/au1000/db1x00/Makefile      |    1 
 arch/mips/au1000/mtx-1/Makefile       |    2 
 arch/mips/au1000/pb1000/Makefile      |    1 
 arch/mips/au1000/pb1100/Makefile      |    1 
 arch/mips/au1000/pb1200/Makefile      |    2 
 arch/mips/au1000/pb1500/Makefile      |    1 
 arch/mips/au1000/pb1550/Makefile      |    1 
 arch/mips/au1000/xxs1500/Makefile     |    1 
 arch/mips/kernel/Makefile             |    4 
 arch/mips/kernel/cevt-r4k.c           |    2 
 arch/mips/kernel/csrc-r4k.c           |    2 
 include/asm-mips/mach-au1x00/au1000.h |   64 +++--
 include/asm-mips/time.h               |   24 +
 26 files changed, 719 insertions(+), 789 deletions(-)

Thanks,
        Manuel Lauss

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