Christoph Hellwig df16c40cbf
riscv: clear all pending interrupts when booting
Just in case an old interrupt is pending make sure we clear everything
asserted before this kernel started.  Based on similar M-mode code in
opensbi.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nick Kossifidis <mick@ics.forth.gr>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-04-25 14:51:10 -07:00
..
2019-02-25 20:53:52 +01:00
2017-09-26 15:26:49 -07:00
2018-12-21 08:10:49 -08:00
2018-10-22 17:03:37 -07:00
2018-12-21 08:10:49 -08:00
2018-10-22 17:02:23 -07:00
2019-01-07 08:22:43 -08:00
2019-03-04 11:47:04 -08:00
2018-12-21 08:11:08 -08:00
2019-03-05 21:07:18 -08:00