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

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 10 23:40:44 PST 2015


On Tue, Nov 10, 2015 at 10:27:12AM +0300, Antony Pavlov wrote:
> 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

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list