powerpc: Restore VDSO information on critical exception om BookE
authorMihai Caraman <mihai.caraman@freescale.com>
Thu, 6 Sep 2012 02:49:44 +0000 (02:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 Sep 2012 23:48:49 +0000 (09:48 +1000)
commit0127262c01f0beb485f917c720d1d95d165dfdbf
tree8ea17c81f09dec7c6e8bfdc8f3288ec7cfa439c6
parent8b64a9dfb091f1eca8b7e58da82f1e7d1d5fe0ad
powerpc: Restore VDSO information on critical exception om BookE

Critical exception on 64-bit booke uses user-visible SPRG3 as scratch.
Restore VDSO information in SPRG3 on exception prolog.

Use a common sprg3 field in PACA for all powerpc64 architectures.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kvm_book3s_asm.h
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/kernel/vdso.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S