[PATCH] ppc32: handle access to non-present IO ports on 8xx
commit55b6332ec89a5fc65d1287708cfd9f06f7a88b90
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Sat, 5 Nov 2005 16:06:24 +0000 (5 14:06 -0200)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 Nov 2005 01:37:12 +0000 (7 12:37 +1100)
tree12dc1f0a94e222c0577f439e06e49d80cd969f21
parentc6d95044a2e124b606b78896a3a2d512e90ef65c
[PATCH] ppc32: handle access to non-present IO ports on 8xx

This adds exception table entries for I/O instructions on and
changes MachineCheckException() slightly to cover 8xx specifics (on
8xx the MCE can be generated while executing the IO access instruction
itself, which is not the case on PowerMac's, as the comment on traps.c
details).

Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/misc.S
arch/ppc/kernel/traps.c
include/asm-ppc/io.h