Thread (31 messages) flat view 31 messages, 7 authors, 2013-06-26

Re: [RFC] [PATCH] powerpc: Add MSR_DE to MSR_KERNEL

From: Bob Cochran <hidden>
Date: 2012-05-30 14:27:53

On 05/30/2012 03:43 AM, Joakim Tjernlund wrote:
Emulators such as BDI2000 and CodeWarrior needs to have MSR_DE set
in order to support break points.
This adds MSR_DE for kernel space only.
---

I have tested this briefly with BDI2000 on P2010(e500) and
it works for me. I don't know if there are any bad side effects, therfore
this RFC.

  arch/powerpc/include/asm/reg.h       |    2 +-
  arch/powerpc/include/asm/reg_booke.h |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
snip


I believe that additional patches are required for CodeWarrior to work 
properly (e.g., assembly start up).  I think the patches should come 
from Freescale.  For whatever reason, they include them in their SDK, 
but haven't submitted them for inclusion in the mainline.

As a developer on Freescale Power products, I would like to see 
Freescale offer up a CodeWarrior patch set, so I don't have to manage 
the patches myself when working outside the SDK (i.e., on a more recent 
kernel).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help