Re: [PATCH v4 30/33] hw/intc: Vectored Interrupt Controller (VIC)

2022-03-08 Thread Richard Henderson
On 3/8/22 01:27, Peter Maydell wrote: On Tue, 8 Mar 2022 at 07:20, Richard Henderson wrote: From: Amir Gonnen Implement nios2 Vectored Interrupt Controller (VIC). VIC is connected to EIC. It needs to update rha, ril, rrs and rnmi fields on Nios2CPU before raising an IRQ. For that purpose, VI

Re: [PATCH v4 30/33] hw/intc: Vectored Interrupt Controller (VIC)

2022-03-08 Thread Peter Maydell
On Tue, 8 Mar 2022 at 07:20, Richard Henderson wrote: > > From: Amir Gonnen > > Implement nios2 Vectored Interrupt Controller (VIC). > VIC is connected to EIC. It needs to update rha, ril, rrs and rnmi > fields on Nios2CPU before raising an IRQ. > For that purpose, VIC has a "cpu" property which

Re: [PATCH v4 30/33] hw/intc: Vectored Interrupt Controller (VIC)

2022-03-08 Thread Mark Cave-Ayland
On 08/03/2022 07:20, Richard Henderson wrote: From: Amir Gonnen Implement nios2 Vectored Interrupt Controller (VIC). VIC is connected to EIC. It needs to update rha, ril, rrs and rnmi fields on Nios2CPU before raising an IRQ. For that purpose, VIC has a "cpu" property which should refer to the

[PATCH v4 30/33] hw/intc: Vectored Interrupt Controller (VIC)

2022-03-07 Thread Richard Henderson
From: Amir Gonnen Implement nios2 Vectored Interrupt Controller (VIC). VIC is connected to EIC. It needs to update rha, ril, rrs and rnmi fields on Nios2CPU before raising an IRQ. For that purpose, VIC has a "cpu" property which should refer to the nios2 cpu and set by the board that connects VIC