]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Copy down exception vectors after feature fixups
authorAnton Blanchard <anton@samba.org>
Mon, 14 Nov 2011 12:54:47 +0000 (12:54 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Nov 2011 22:35:28 +0000 (14:35 -0800)
commit3549966c02c99f02ac0dd74364a4e795296d6d7e
treea4d92e325698ae24fcaf3cea9e21173c85e1f06f
parentfed595473900bb9cdaf88cb56eb01b07f771f14f
powerpc: Copy down exception vectors after feature fixups

commit d715e433b7ad19c02fc4becf0d5e9a59f97925de upstream.

kdump fails because we try to execute an HV only instruction. Feature
fixups are being applied after we copy the exception vectors down to 0
so they miss out on any updates.

We have always had this issue but it only became critical in v3.0
when we added CFAR support (breaks POWER5) and v3.1 when we added
POWERNV (breaks everyone).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/sections.h
arch/powerpc/include/asm/synch.h
arch/powerpc/kernel/kvm.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/lib/feature-fixups.c