• Jimi Xenidis's avatar
    powerpc/icswx: Simple ACOP fault handler · c3dcf53a
    Jimi Xenidis authored
    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: default avatarJimi Xenidis <jimix@pobox.com>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    c3dcf53a
Kconfig.cputype 9.62 KB