[Linux-Xtensa] [PATCH 0/5] xtensa: fast_unaligned fixes

Max Filippov jcmvbkbc at gmail.com
Mon Aug 4 21:29:36 UTC 2014


Hi Chris,

this series fixes a couple of bugs in fast_unaligned and adds double
exception fixup handler that restores user state and runs exception handler
in the topmost stack frame.

With these changes unaligned access handler for userspace becomes more
robust and may be used without signal delivery from double exceptions.
Previously accessing unaligned address in invalid area used to hang task
that made such access in an unkillable infinite loop.

Max Filippov (5):
  xtensa: fix kernel/user jump out of fast_unaligned
  xtensa: add double exception fixup handler for fast_unaligned
  xtensa: make fast_unaligned store restartable
  xtensa: move invalid unaligned instruction handler closer to its users
  xtensa: allow single-stepping through unaligned load/store

 arch/xtensa/kernel/align.S | 128 ++++++++++++++++++++++++++++-----------------
 1 file changed, 81 insertions(+), 47 deletions(-)

-- 
1.8.1.4



More information about the linux-xtensa mailing list