• Max Filippov's avatar
    xtensa: improve call0 ABI probing · 5cc5f19f
    Max Filippov authored
    When call0 userspace ABI support by probing is enabled instructions that
    cause illegal instruction exception when PS.WOE is clear are retried
    with PS.WOE set before calling c-level exception handler. Record user pc
    at which PS.WOE was set in the fast exception handler and clear PS.WOE
    in the c-level exception handler if we get there from the same address.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    5cc5f19f
traps.c 15.1 KB