[RFC] [PATCH] powerpc: Add MSR_DE to MSR_KERNEL
scottwood at freescale.com
Sat Jun 2 08:42:51 EST 2012
On 06/01/2012 05:30 PM, Benjamin Herrenschmidt wrote:
> BTW. My point of view is that this whole business about MSR:DE is a HW
> design bug. There should be -no- (absolutely 0) interaction between the
> SW state and the HW debugger for normal operations unless the user of
> the debugger explicitly wants to change some state.
I agree entirely, and e500mc at least has less of this than e500v2 (not
sure if it still needs MSR[DE], but supposedly it doesn't have the
requirement for there to be a valid instruction at the debug vector,
which is lots of fun when booting). But this isn't exactly something
Freescale is going to replace existing chips over.
Getting all the way to zero interaction would require a completely
separate debug facility so software can debug at the same time. I'd be
all for that (and let's throw in a third, for the hypervisor), but I'm
not the one that needs to be convinced.
More information about the Linuxppc-dev