diff options
author | Jimi Xenidis <jimix@pobox.com> | 2011-09-29 12:55:14 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-25 04:11:28 +0100 |
commit | c3dcf53a3fcb01f1d98f6b0cf440bb781dbcbc34 (patch) | |
tree | 8b0271a59dc103db39b3e8259419b9b549c89eae /arch/powerpc/xmon | |
parent | powerpc/book3e: Add ICSWX/ACOP support to Book3e cores like A2 (diff) | |
download | linux-c3dcf53a3fcb01f1d98f6b0cf440bb781dbcbc34.tar.xz linux-c3dcf53a3fcb01f1d98f6b0cf440bb781dbcbc34.zip |
powerpc/icswx: Simple ACOP fault handler
This patch adds a fault handler that responds to illegal Coprocessor
types. Currently all CTs are treated and illegal. There are two ways
to report the fault back to the application. If the application used
the record form ("icswx.") then the architected "reject" is emulated.
If the application did not used the record form ("icswx") then it is
selectable by config whether the failure is silent (as architected) or
a SIGILL is generated.
In all cases pr_warn() is used to log the bad CT.
Signed-off-by: Jimi Xenidis <jimix@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon')
0 files changed, 0 insertions, 0 deletions