powerpc: Add support for context switching the TAR register
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 7 Feb 2013 15:46:58 +0000 (15:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 8 Feb 2013 03:05:50 +0000 (14:05 +1100)
commit2468dcf641e4f3e1b0153e3e11ca20740b2f4ce8
tree02a1ca877b20fd0975befc2554957ee4b535a6a0
parent14b6f00f8a4fdec5ccd45a0710284de301a61628
powerpc: Add support for context switching the TAR register

This patch adds support for enabling and context switching the Target
Address Register in Power8. The TAR is a new special purpose register
that can be used for computed branches with the bctar[l] (branch
conditional to TAR) instruction in the same manner as the count and link
registers.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/processor.h
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/cpu_setup_power.S
arch/powerpc/kernel/entry_64.S