]> err.no Git - linux-2.6/commit
[ARM] 4987/1: S3C24XX: Ensure watchdog reset initiated from cached code.
authorBen Dooks <ben-linux@fluff.org>
Tue, 15 Apr 2008 23:15:20 +0000 (00:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Apr 2008 16:04:41 +0000 (17:04 +0100)
commit3c7d9c81e1302c244180e62999a08ca95b175cf5
treea67961f6c0435e0a1965df9770433c73cdfe1664
parentd96a980441a70168a8ead0a0f23c4c63725da5fa
[ARM] 4987/1: S3C24XX: Ensure watchdog reset initiated from cached code.

There seems to be some problem with at-least the S3C2440 and
bus traffic during an reset. It is unlikely, but still possible
that the system will hang in such a way that the watchdog cannot
get the system out of the state it is in.

Change to making the code that calls the watchdog reset run from
cached memory so that instruction fetches have quiesced before the
watchdog fires.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c24xx/cpu.c
include/asm-arm/arch-s3c2410/system-reset.h [new file with mode: 0644]
include/asm-arm/arch-s3c2410/system.h