On 03/30/2015 11:51 AM, Aaro Koskinen wrote:
[...]
Thanks for doing this, I had been meaning to make the conversion myself.
One further improvement idea would be to get the register dump logged
also with printk() or panic() so that it could be captured with netconsole
or mtdoops (at least in some cases). Not sure what it would require.
Calling printk() or panic() from the NMI handler didn't quite produce
an expected result...
In the handler we are running with a private stack, and at
CP0_Status[ERL]. The result is that no access to the current task
structure is possible, and interrupts are disabled. So there is very
little you can do.
Polling characters out of the UART works fine though.
A.