public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] xtensa: add division by zero exception handler
@ 2022-05-17 10:44 Max Filippov
  2022-05-17 10:44 ` [PATCH v3 1/3] xtensa: add trap handler for division by zero Max Filippov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Max Filippov @ 2022-05-17 10:44 UTC (permalink / raw)
  To: linux-xtensa; +Cc: Chris Zankel, linux-kernel, Max Filippov

Hello,

this series adds handlers for hardware and artificial division by zero
exceptions and improves call0 ABI probing in the presence of unrelated
illegal instructions.

Changes v2->v3:

- simplify artificial division by 0 handler

Changes v1->v2:

- split ABI probing improvement from the artificial division by 0
- don't limit artificial division by 0 pattern detection to
  configurations without HW division opcodes, do it always

Max Filippov (3):
  xtensa: add trap handler for division by zero
  xtensa: support artificial division by 0 exception
  xtensa: improve call0 ABI probing

 arch/xtensa/include/asm/thread_info.h |  4 +++
 arch/xtensa/kernel/asm-offsets.c      |  3 ++
 arch/xtensa/kernel/entry.S            |  5 ++++
 arch/xtensa/kernel/traps.c            | 43 ++++++++++++++++++++++++++-
 4 files changed, 54 insertions(+), 1 deletion(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-17 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-17 10:44 [PATCH v3 0/3] xtensa: add division by zero exception handler Max Filippov
2022-05-17 10:44 ` [PATCH v3 1/3] xtensa: add trap handler for division by zero Max Filippov
2022-05-17 10:44 ` [PATCH v3 2/3] xtensa: support artificial division by 0 exception Max Filippov
2022-05-17 10:44 ` [PATCH v3 3/3] xtensa: improve call0 ABI probing Max Filippov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox