[PATCH/RFC] Change the program check exception from EXC_XFER_STD to EXC_XFER_EE.

Paul Mackerras paulus at samba.org
Thu Dec 7 09:09:38 EST 2006


Scott Wood writes:

> Is there any reason why ProgramCheck needs to be EXC_XFER_STD?

Yes.  It used to be EXC_XFER_EE, but I changed it to EXC_XFER_STD
because I didn't want the possibility of preemption on the way from a
kernel breakpoint into a kernel debugger (xmon/kgdb/etc.).

I think the solution to your problem is to rearrange
program_check_exception a little, to make sure we do the
local_irq_enable before calling do_mathemu (but still after the
debugger_bpt call).

Paul.



More information about the Linuxppc-dev mailing list