]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4184/1: iop: cp6 access handler (undef_hook)
authorDan Williams <dan.j.williams@intel.com>
Tue, 13 Feb 2007 16:12:04 +0000 (17:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Feb 2007 15:21:24 +0000 (15:21 +0000)
commit588ef7693574cfbcb228f48d5478c2b39a9b0c9f
tree6cc5ac8e7d2544514ab405357f01a91da8471780
parentdfc544c7216b276c1e9c0c753299692df4068c44
[ARM] 4184/1: iop: cp6 access handler (undef_hook)

Enable svc access to cp6 via an undefined instruction hook.  Do not enable
access for usr code.

This patch also makes iop13xx select PLAT_IOP, this requires a small change
to drivers/i2c/busses/i2c-iop3xx.c.

Per Lennert Buytenhek's note, the cp6 trap routine is moved to arch/arm/plat-iop
Per Nicolas Pitre's note, the cp_wait is skipped since the latency to
return to the faulting function is longer than cp_wait.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mach-iop13xx/irq.c
arch/arm/mach-iop32x/irq.c
arch/arm/mach-iop33x/irq.c
arch/arm/plat-iop/Makefile
arch/arm/plat-iop/cp6.c [new file with mode: 0644]
drivers/i2c/busses/i2c-iop3xx.c
include/asm-arm/hardware/iop3xx.h