Re: [PATCH 08/11 v2] target/riscv: Update interrupt handling in CLIC mode

2024-09-05 Thread Alistair Francis
On Tue, Aug 20, 2024 at 2:14 AM Ian Brockbank wrote: > > From: Ian Brockbank > > Decode CLIC interrupt information from exccode, includes interrupt > privilege mode, interrupt level, and irq number. > > Then update CSRs xcause, xstatus, xepc, xintstatus and jump to > correct PC according to the C

[PATCH 08/11 v2] target/riscv: Update interrupt handling in CLIC mode

2024-08-19 Thread Ian Brockbank
From: Ian Brockbank Decode CLIC interrupt information from exccode, includes interrupt privilege mode, interrupt level, and irq number. Then update CSRs xcause, xstatus, xepc, xintstatus and jump to correct PC according to the CLIC specification. Signed-off-by: LIU Zhiwei Signed-off-by: Ian Br