Re: [PATCH for-7.1 v6 44/51] target/nios2: Implement EIC interrupt processing

2022-03-17 Thread Richard Henderson
On 3/17/22 12:11, Peter Maydell wrote: +new_status &= ~R_CR_STATUS_CRS_MASK; We're missing the "copy status.CRS to status.PRS" part of taking an exception, I think ? Whoops, yes. r~

Re: [PATCH for-7.1 v6 44/51] target/nios2: Implement EIC interrupt processing

2022-03-17 Thread Peter Maydell
On Thu, 17 Mar 2022 at 05:51, Richard Henderson wrote: > > This is the cpu side of the operation. Register one irq line, > called EIC. Split out the rather different processing to a > separate function. > > Delay initialization of gpio irqs until realize. We need to > provide a window after ini

[PATCH for-7.1 v6 44/51] target/nios2: Implement EIC interrupt processing

2022-03-16 Thread Richard Henderson
This is the cpu side of the operation. Register one irq line, called EIC. Split out the rather different processing to a separate function. Delay initialization of gpio irqs until realize. We need to provide a window after init in which the board can set eic_present. Signed-off-by: Richard Hen