]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Reworking machine check handling and Fix 440/440A
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Dec 2007 04:39:21 +0000 (15:39 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:11:59 +0000 (13:11 -0600)
commit47c0bd1ae24c34e851cf0f2b02ef2a6847d7ae15
tree86fab68618a4afa03660cc576c9e7da3e5a0b520
parentc2a7dcad9f0d92d7a96e735abb8bec7b9c621536
[POWERPC] Reworking machine check handling and Fix 440/440A

This adds a cputable function pointer for the CPU-side machine
check handling. The semantic is still the same as the old one,
the one in ppc_md. overrides the one in cputable, though
ultimately we'll want to change that so the CPU gets first.

This removes CONFIG_440A which was a problem for multiplatform
kernels and instead fixes up the IVOR at runtime from a setup_cpu
function. The "A" version of the machine check also tweaks the
regs->trap value to differenciate the 2 versions at the C level.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cpu_setup_44x.S
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/head_44x.S
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/traps.c
arch/powerpc/platforms/44x/Kconfig
arch/ppc/kernel/traps.c
include/asm-powerpc/cputable.h
include/asm-powerpc/ptrace.h
include/asm-powerpc/reg_booke.h
include/asm-ppc/reg_booke.h