From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 11 Feb 2010 14:55:16 +1100 From: David Gibson To: Dave Kleikamp Subject: Re: [PATCH 01/04] powerpc/booke: Introduce new CONFIG options for advanced debug registers Message-ID: <20100211035516.GO13335@yookeroo> References: <20100208215049.17930.8586.sendpatchset@norville.austin.ibm.com> <20100208215057.17930.30833.sendpatchset@norville.austin.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20100208215057.17930.30833.sendpatchset@norville.austin.ibm.com> Cc: linuxppc-dev list , Sergio Durigan Junior , Torez Smith , Thiago Jung Bauermann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 08, 2010 at 02:50:57PM -0700, Dave Kleikamp wrote: > powerpc/booke: Introduce new CONFIG options for advanced debug registers > > From: Dave Kleikamp > > Introduce new config options to simplify the ifdefs pertaining to the > advanced debug registers for booke and 40x processors: > > CONFIG_PPC_ADV_DEBUG_REGS - boolean: true for dac-based processors > CONFIG_PPC_ADV_DEBUG_IACS - number of IAC registers > CONFIG_PPC_ADV_DEBUG_DACS - number of DAC registers > CONFIG_PPC_ADV_DEBUG_DVCS - number of DVC registers > CONFIG_PPC_ADV_DEBUG_DAC_RANGE - DAC ranges supported > > Beginning conservatively, since I only have the facilities to test 440 > hardware. I believe all 40x and booke platforms support at least 2 IAC > and 2 DAC registers. For 440, 4 IAC and 2 DVC registers are enabled, as > well as the DAC ranges. Hrm. I'm not entirely convinced there aren't or won't be 44x chips with a different number of regs. Still we fix it up to do runtime checking later. > Signed-off-by: Dave Kleikamp Acked-by: David Gibson -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson