riscv: print the unexpected interrupt cause
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Apr 2019 09:14:41 +0000 (11:14 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 25 Apr 2019 21:51:11 +0000 (14:51 -0700)
commitbed1378706637c0dd09c055480767dfcf6abe7db
tree4879fe1d671368d0ecf56c08ef592cdb03cdaa71
parent6ab77af4b0ee09b58ace90aeb9b1b84f4605b859
riscv: print the unexpected interrupt cause

This has been helpful when debugging my pending nommu port.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nick Kossifidis <mick@ics.forth.gr>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/irq.c