-
- Downloads
powerpc/booke: Introduce new CONFIG options for advanced debug registers
powerpc/booke: Introduce new CONFIG options for advanced debug registers From: Dave Kleikamp <shaggy@linux.vnet.ibm.com> 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. Signed-off-by:Dave Kleikamp <shaggy@linux.vnet.ibm.com> Acked-by:
David Gibson <dwg@au1.ibm.com> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/Kconfig 27 additions, 0 deletionsarch/powerpc/Kconfig
- arch/powerpc/kernel/kgdb.c 1 addition, 1 deletionarch/powerpc/kernel/kgdb.c
- arch/powerpc/kernel/kprobes.c 2 additions, 2 deletionsarch/powerpc/kernel/kprobes.c
- arch/powerpc/kernel/process.c 5 additions, 5 deletionsarch/powerpc/kernel/process.c
- arch/powerpc/kernel/ptrace.c 7 additions, 11 deletionsarch/powerpc/kernel/ptrace.c
- arch/powerpc/kernel/signal.c 1 addition, 1 deletionarch/powerpc/kernel/signal.c
- arch/powerpc/kernel/signal_32.c 4 additions, 4 deletionsarch/powerpc/kernel/signal_32.c
- arch/powerpc/kernel/traps.c 3 additions, 3 deletionsarch/powerpc/kernel/traps.c
Loading
Please register or sign in to comment