[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPC: shoud fatal exception issue a panic?



Hi,

during testing of the qemuppc BSP I hit some fata exceptions. Since the
standard exception handler in
c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors_init.c
performs printk("...Press Reset button..."), many systems may hang in
case of a unexpected, non-recoverable exception.

Wouldn't it make more sense to issue a BSP_panic in these cases? The BSP
should have a better idea what to do in thse cases, e.g. wait for a
pushbutton reset, force an automatic reset, force a system shutdown or
whatever is appropriate.

Any ideas? any opinions?

wkr,
Thomas.

-- 

--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler        Obere Lagerstrasse 30
D-82178 Puchheim       Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9