• J
    powerpc/icswx: Simple ACOP fault handler · c3dcf53a
    Jimi Xenidis 提交于
    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: NJimi Xenidis <jimix@pobox.com>
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    c3dcf53a
icswx.h 1.9 KB