• Max Filippov's avatar
    xtensa: always install slow handler for unaligned access exception · 3522bcfe
    Max Filippov authored
    Currently slow handler for unaligned access exception is not installed
    when CPU has hardware support for unaligned access. However some opcodes
    (e.g. l32ai, s32ri, s32c1i) would still raise unaligned access exception
    even on such CPUs. In that case instead of SIGBUS and a diagnostic entry
    in the kernel log the faulting process would receive SIGILL.
    Always install slow handler for unaligned access exception to fix that.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    3522bcfe
traps.c 15.1 KB