[PATCH] Fix to update the OP panel on enterting/exiting kdb.

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Apr 24 11:26:19 EST 2004


On Sat, 2004-04-24 at 01:32, Olof Johansson wrote:
> Nitin Vashisth wrote:
> > Hello,
> >
> > This patch will update the OP panel with the KDB message every time kdb
> > is entered and will put back the Linux kernel version string back on the
> > panel while exiting KDB.
>
> I'm not so certain that I like this. Sure, it's great to be able to spot
> from just glancing at an HMC that a system has entered KDB, but every
> time you add more activity to KDB, the greater the risk is that it'll
> get stuck itself. For example, the code below will use the RTAS calls to
> update the information on the LED display.

Agreed. For example, we just have had a hard time tracking some issues
caused by RTAS, since the debugger would lockup on RTAS spinlock trying
to disable surveillance. I'll fix that by providing a lock-free RTAS
entry for the debugger, but this is to be used with great care and I
think we should minimize such thing as much as possible.

Ben.


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list