]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Enable the Watchdog vector for 405
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Fri, 5 Oct 2012 08:07:15 +0000 (08:07 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 03:43:46 +0000 (14:43 +1100)
commit241b4fadb45a6b881c490b38da9bcceef0af271d
treeceee7b61403c3e074ba08ad6c82a385062430e71
parenta45a58e3910712b6e984c23412b287bb67f55fcb
powerpc: Enable the Watchdog vector for 405

The watchdog and FIT code has been #if 0'd for ever, if the CPU takes
an exception to either of those vectors it will jump into the middle
of the PIT or Data TLB code and surely crash.

At least some (all?) 405 cores have both the WDT and FIT
vectors defined, so lets have proper entry points for them.

Tested that the WDT vector works on a 405F6 core.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_40x.S
arch/powerpc/kernel/traps.c