[RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2010-01-18 Thread Dave Kleikamp
powerpc: Add definitions for Debug Registers on BookE Platforms From: Torez Smith lnxto...@linux.vnet.ibm.com This patch adds additional definitions for BookE Debug Registers to the reg_booke.h header file. Signed-off-by: Torez Smith lnxto...@linux.vnet.ibm.com Signed-off-by: Dave Kleikamp

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2010-01-18 Thread Dave Kleikamp
On Fri, 2009-12-11 at 11:53 +1100, David Gibson wrote: On Thu, Dec 10, 2009 at 01:57:21PM -0200, Dave Kleikamp wrote: powerpc: Add definitions for Debug Registers on BookE Platforms From: Torez Smith lnxto...@linux.vnet.ibm.com This patch adds additional definitions for BookE Debug

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-13 Thread David Gibson
On Fri, Dec 11, 2009 at 08:35:35AM -0600, Kumar Gala wrote: On Dec 10, 2009, at 9:28 PM, David Gibson wrote: On Thu, Dec 10, 2009 at 08:41:53PM -0600, Kumar Gala wrote: [snip] +#define DBCR1_USER_DEBUG (DBCR1_IAC12M | DBCR1_IAC34M) +#define DBCR1_BASE_REG_VALUE (DBCR1_IAC1US |

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-11 Thread Kumar Gala
On Dec 10, 2009, at 9:28 PM, David Gibson wrote: On Thu, Dec 10, 2009 at 08:41:53PM -0600, Kumar Gala wrote: [snip] +#define DBCR1_USER_DEBUG (DBCR1_IAC12M | DBCR1_IAC34M) +#define DBCR1_BASE_REG_VALUE (DBCR1_IAC1US | DBCR1_IAC1ER_10 | \ +DBCR1_IAC2US |

[RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread Dave Kleikamp
powerpc: Add definitions for Debug Registers on BookE Platforms From: Torez Smith lnxto...@linux.vnet.ibm.com This patch adds additional definitions for BookE Debug Registers to the reg_booke.h header file. Signed-off-by: Torez Smith lnxto...@linux.vnet.ibm.com Signed-off-by: Dave Kleikamp

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread Josh Boyer
On Thu, Dec 10, 2009 at 01:57:21PM -0200, Dave Kleikamp wrote: diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 9eed29e..1393307 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -161,9 +161,35 @@ struct

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread David Gibson
On Thu, Dec 10, 2009 at 01:57:21PM -0200, Dave Kleikamp wrote: powerpc: Add definitions for Debug Registers on BookE Platforms From: Torez Smith lnxto...@linux.vnet.ibm.com This patch adds additional definitions for BookE Debug Registers to the reg_booke.h header file. Signed-off-by:

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread Dave Kleikamp
On Fri, 2009-12-11 at 11:53 +1100, David Gibson wrote: On Thu, Dec 10, 2009 at 01:57:21PM -0200, Dave Kleikamp wrote: powerpc: Add definitions for Debug Registers on BookE Platforms From: Torez Smith lnxto...@linux.vnet.ibm.com This patch adds additional definitions for BookE Debug

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread Kumar Gala
On Dec 10, 2009, at 9:57 AM, Dave Kleikamp wrote: +#define DBCR1_IAC1US 0xC000 /* Instr Addr Cmp 1 Sup/User */ +#define DBCR1_IAC1ER 0x3000 /* Instr Addr Cmp 1 Eff/Real */ +#define DBCR1_IAC1ER_01 0x1000 /* reserved */ +#define DBCR1_IAC1ER_10

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-10 Thread David Gibson
On Thu, Dec 10, 2009 at 08:41:53PM -0600, Kumar Gala wrote: [snip] +#define DBCR1_USER_DEBUG (DBCR1_IAC12M | DBCR1_IAC34M) +#define DBCR1_BASE_REG_VALUE (DBCR1_IAC1US | DBCR1_IAC1ER_10 | \ +DBCR1_IAC2US | DBCR1_IAC2ER_10 | \ +