Skip to content

MIPS: support return from exception; allow user to pass incorrect address to md command

Antony Pavlov barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4MIPS: traps.c: separate registers print stuff to show_regs()arch/mips/lib/traps.c+12 -70 replies
2/4MIPS: avoid excessive exceptionarch/mips/include/asm/pbl_macros.h+1 -10 replies
3/4MIPS: import exception registers restoring macros from linux kernelarch/mips/include/asm/stackframe.h+87 -00 replies
4/4MIPS: allow user to pass incorrect address to md commandarch/mips/include/asm/barebox.h arch/mips/lib/genex.S arch/mips/lib/traps.c+53 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] MIPS: support return from exception; allow user to pass incorrect address to md command

This patchseries adds return from exception for MIPS, so the 'md' command incorrect memory accesses can be handled correctly instead of crashing the system, e.g.

barebox:/ md -l 0xa0000003+4
a0000003: xxxxxxxx ....

Without this patchseries we will get this

    barebox:/ md -l 0xa0000003+4
    a0000003:
    Ooops, address error on load or ifetch!

    ...

    ### ERROR ### Please RESET the board ###

The patchseries is tested on QEMU Malta and Black Swift boards.

Antony Pavlov (4):
MIPS: traps.c: separate registers print stuff to show_regs()
MIPS: avoid excessive exception
MIPS: import exception registers restoring macros from linux kernel
MIPS: allow user to pass incorrect address to md command

 arch/mips/include/asm/barebox.h    |  2 +-
 arch/mips/include/asm/pbl_macros.h |  2 +-
 arch/mips/include/asm/stackframe.h | 87 ++++++++++++++++++++++++++++++++++++++
 arch/mips/lib/genex.S              |  6 +++
 arch/mips/lib/traps.c              | 65 +++++++++++++++++++++++-----
 5 files changed, 150 insertions(+), 12 deletions(-)
Signature · 7 lines
2.6.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox