linux-sg2042/arch/powerpc
Mihai Caraman 79b5c8dbaa powerpc/booke64: Eemove mfspr srr1 duplicate in exception prolog
Refactor exception prolog to get rid of mfspr srr1 duplicate. This was
introduced by KVM integration, with DO_KVM macro logic expecting srr1 value
earlier in r11.
Reserve r11 to hold srr1's value also required at the end of the prolog and
free up r10 to serve as spare in addition macros.
For syscalls case this change does not add any performance penalty. For irq
soft-disabled case the change adds a store/load of conditional register value
to/from a paca slot. Paca slots fit in one 64-byte cache line so these
additional operations have little impact on performance.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-05 15:35:49 +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 GSRR registers in Guest Doorbell interrupts 2012-09-05 15:35:43 +10:00
kernel powerpc/booke64: Eemove mfspr srr1 duplicate in exception prolog 2012-09-05 15:35:49 +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: Add DO_KVM kernel hooks 2012-09-05 15:35:46 +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