• Max Filippov's avatar
    xtensa: handle coprocessor exceptions in kernel mode · 0b549f81
    Max Filippov authored
    In order to let drivers use xtensa coprocessors on behalf of the calling
    process the kernel must handle coprocessor exceptions from the kernel
    mode the same way as from the user mode.
    
    This is not sufficient to allow using coprocessors transparently in IRQ
    or softirq context. Should such users exist they must be aware of the
    context and do the right thing, e.g. preserve the coprocessor state and
    resore it after use.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    0b549f81
traps.c 13.7 KB