[PATCH] PPC: Enable the Watchdog vector for 405
jgunthorpe at obsidianresearch.com
Tue Oct 2 03:48:40 EST 2012
On Mon, Oct 01, 2012 at 01:32:47PM -0400, Josh Boyer wrote:
> On Mon, Oct 1, 2012 at 12:25 PM, Jason Gunthorpe
> >> Please leave this wrapped in CONFIG_BOOKE_WDT. I don't agree with
> >> unconditionally enabling this for every 405 chip out there.
> > What are you concerned with? If some core varient does not put a
> > watchdog there, then you still get a panic from the default watchdog
> > exception handler..
> I'm concerned with the fact that you've moved PIT and now enabled
> something that's been enabled for years. There's no need to do it like
Well, just moving the ifdef still keeps the PIT change, and either the
vector is never called and it is harmless to add the new entry point,
or CPUs have been randomly calling into DTLBMiss for years, which
seems worth discovering.
FWIW, this patch has been carried in our tree since about 2.6.14,
mind you we only use two 405 varients.
> > Yes, I didn't want to use BOOKE_WDT because I have not tested that
> > driver, nor do I want that driver included in my kernel.. I think the
> > watchdog driver in use should be orthogonal to having the exception
> > wired in?
> And it certainly can be. Just make the driver a module and don't
> install it or load it. The #ifdef will still evaluate to true.
Well, we use non-modular kernels, but I can certainly patch the driver
If I resend using BOOKE_WDT will you take it?
More information about the Linuxppc-dev