linux/arch/powerpc
Benjamin Herrenschmidt 990118c84b powerpc: Fix register clobbering when accumulating stolen time
When running under a hypervisor that supports stolen time accounting,
we may call C code from the macro EXCEPTION_PROLOG_COMMON in the
exception entry path, which clobbers CR0.

However, the FPU and vector traps rely on CR0 indicating whether we
are coming from userspace or kernel to decide what to do.

So we need to restore that value after the C call

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-03-09 10:55:16 +11:00
..
boot powerpc/mpic: Add "last-interrupt-source" property to override hardware 2012-02-23 10:50:00 +11:00
configs powerpc: remove CONFIG_PPC_ISERIES from the architecture Kconfig files 2012-02-27 11:33:58 +11:00
include/asm powerpc: Fix register clobbering when accumulating stolen time 2012-03-09 10:55:16 +11:00
kernel powerpc: Disable interrupts in 64-bit kernel FP and vector faults 2012-03-09 10:55:10 +11:00
kvm arch/powerpc/kvm/book3s_hv.c: included linux/sched.h twice 2012-02-27 11:33:58 +11:00
lib powerpc: POWER7 optimised copy_to_user/copy_from_user using VMX 2011-12-19 14:40:40 +11:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc: Add support for page fault retry and fatal signals 2012-03-09 10:55:12 +11:00
net net: filter: BPF 'JIT' compiler for PPC64 2011-07-21 12:38:32 -07:00
oprofile powerpc/oprofile: Handle events that raise an exception without overflowing 2011-05-26 13:38:57 +10:00
perf powerpc/perf: Move perf core & PMU code into a subdirectory 2012-02-23 10:50:04 +11:00
platforms powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00
sysdev powerpc/mpic: Fix allocation of reverse-map for multi-ISU mpics 2012-02-27 11:33:58 +11:00
xmon powerpc/xmon: Add display of soft & hard irq states 2012-03-09 10:55:14 +11:00
Kconfig powerpc: Make SPARSE_IRQ required 2012-03-07 17:09:04 +11:00
Kconfig.debug powerpc: remove CONFIG_PPC_ISERIES from the architecture Kconfig files 2012-02-27 11:33:58 +11:00
Makefile powerpc/perf: Move perf core & PMU code into a subdirectory 2012-02-23 10:50:04 +11:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00