]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 16 Nov 2011 03:47:54 +0000 (14:47 +1100)
commitd715e433b7ad19c02fc4becf0d5e9a59f97925de
tree6c5ba4c3b21c4070b82a184f5eca26c9e6c8edf1
parent6d1e2c6c1a0b800473db4df8595c95745be548ea
powerpc: Copy down exception vectors after feature fixups

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>
Cc: <stable@kernel.org> [v3.0+]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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