linux/arch/powerpc
Christophe Leroy fbbcc3bb13 powerpc/8xx: Remove SoftwareEmulation()
Since commit aa42c69c67 ("[POWERPC] Add support for FP emulation
for the e300c2 core"), program_check_exception() can be called for
math emulation. In that case, 'reason' is 0.

On the 8xx, there is a Software Emulation interrupt which is
called for all unimplemented and illegal instructions. This
interrupt calls SoftwareEmulation() which does almost the
same as program_check_exception() called with reason = 0.

The Software Emulation interrupt sets all reason bits to 0,
it is therefore possible to call program_check_exception()
directly from the interrupt handler.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-10 23:32:04 +10:00
..
boot powerpc/44x/fsp2: Enable eMMC arasan for fsp2 platform 2017-08-10 22:30:04 +10:00
configs powerpc/44x/fsp2: Enable eMMC arasan for fsp2 platform 2017-08-10 22:30:04 +10:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-05-02 15:53:46 -07:00
include powerpc/traps: Use SRR1 defines for program check reasons 2017-08-10 23:31:32 +10:00
kernel powerpc/8xx: Remove SoftwareEmulation() 2017-08-10 23:32:04 +10:00
kvm powerpc/mm: Update definitions of DSISR bits 2017-08-03 16:06:43 +10:00
lib powerpc/lib/sstep: Add isel instruction emulation 2017-08-10 22:30:29 +10:00
math-emu Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mm powerpc/mm: Properly invalidate when setting process table base 2017-08-10 22:30:03 +10:00
net bpf: Add jited_len to struct bpf_prog 2017-06-06 15:41:24 -04:00
oprofile ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
perf powerpc/perf: Cleanup of PM_BR_CMPL vs. PM_BRU_CMPL in Power9 event list 2017-08-10 22:30:06 +10:00
platforms powerpc/8xx: Move 8xx machine check handlers into platforms/8xx 2017-08-10 23:32:02 +10:00
purgatory powerpc: Fix invalid use of register expressions 2017-08-10 22:29:41 +10:00
sysdev powerpc/4xx: Create 4xx pseudo-platform in platforms/4xx 2017-08-10 23:31:30 +10:00
tools powerpc/64: Tool to check head sections location sanity 2017-05-30 14:59:51 +10:00
xmon powerpc/xmon: Add patch_instruction() support for xmon 2017-07-03 23:12:19 +10:00
Kconfig powerpc: Fix powerpc-specific watchdog build configuration 2017-08-10 22:30:01 +10:00
Kconfig.debug powerpc/xmon: Enable disassembly files (compilation changes) 2017-02-15 20:02:42 +11:00
Makefile powerpc/configs: Add a powernv_be_defconfig 2017-07-31 16:56:37 +10:00
Makefile.postlink powerpc/64: Tool to check head sections location sanity 2017-05-30 14:59:51 +10:00