kernel-fxtec-pro1x/arch/powerpc
Mihai Caraman 8b64a9dfb0 powerpc/booke64: Use SPRG0/3 scratch for bolted TLB miss & crit int
Embedded.Hypervisor category defines GSPRG0..3 physical registers for guests.
Avoid SPRG4-7 usage as scratch in host exception handlers, otherwise guest
SPRG4-7 registers will be clobbered.
For bolted TLB miss exception handlers, which is the version currently
supported by KVM, use SPRN_SPRG_GEN_SCRATCH aka SPRG0 instead of
SPRN_SPRG_TLB_SCRATCH aka SPRG6. Keep using TLB PACA slots to fit in one
64-byte cache line.
For critical exception handlers use SPRG3 instead of SPRG7. Provide a routine
to store and restore user-visible SPRGs. This will be subsequently used
to restore VDSO information in SPRG3. Add EX_R13 to paca slots to free up
SPRG3 and change the critical exception epilog to use it.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-05 15:35:52 +10:00
..
boot powerpc/85xx: P3041DS - change espi input-clock from 40MHz to 35MHz 2012-07-26 08:09:53 -05:00
configs memcg: rename config variables 2012-07-31 18:42:43 -07:00
include/asm powerpc/booke64: Use SPRG0/3 scratch for bolted TLB miss & crit int 2012-09-05 15:35:52 +10:00
kernel powerpc/booke64: Use SPRG0/3 scratch for bolted TLB miss & crit int 2012-09-05 15:35:52 +10:00
kvm powerpc/kvm/book3s_32: Fix MTMSR_EERI macro 2012-07-31 15:21:20 +10:00
lib powerpc: Put the gpr save/restore functions in their own section 2012-07-11 14:19:59 +10:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc/booke64: Use SPRG0/3 scratch for bolted TLB miss & crit int 2012-09-05 15:35:52 +10:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile powerpc: Rename 64-bit PVR constants to PVR_foo 2012-09-05 15:19:35 +10:00
perf powerpc: Rename 64-bit PVR constants to PVR_foo 2012-09-05 15:19:35 +10:00
platforms powerpc: Remove all includes of <asm/abs_addr.h> 2012-09-05 15:19:33 +10:00
sysdev powerpc/dart: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:44 +10:00
xmon powerpc/xmon: Use cpumask iterator to avoid warning 2012-07-02 14:30:11 +10:00
Kconfig powerpc: Uprobes port to powerpc 2012-09-05 15:35:19 +10:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile crypto: nx - move nx build to driver/crypto Makefile 2012-06-27 14:42:00 +08:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00