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>
This commit is contained in:
Christoph Hellwig 2019-04-15 11:14:41 +02:00 • committed by Palmer Dabbelt
commit bed1378706
No known key found for this signature in database
GPG key ID: EF4CA1502CCBAB41