Re: [PATCH 7/7] target/nios2: Rewrite interrupt handling

2022-03-02 Thread Peter Maydell
On Sun, 27 Feb 2022 at 18:25, Richard Henderson wrote: > > Drop irq_pending boolean. It wasn't a boolean, it was a uint32_t. > Drop helper_check_interrupts. > Move checks for irq disabled into nios2_cpu_exec_interrupt. > End the TB on writes to ienable, just like to status. > > Signed-off-by: Ri

Re: [PATCH 7/7] target/nios2: Rewrite interrupt handling

2022-02-27 Thread Philippe Mathieu-Daudé
On 27/2/22 19:21, Richard Henderson wrote: Drop irq_pending boolean. Drop helper_check_interrupts. Move checks for irq disabled into nios2_cpu_exec_interrupt. End the TB on writes to ienable, just like to status. Signed-off-by: Richard Henderson --- target/nios2/cpu.h | 1 - target/ni

[PATCH 7/7] target/nios2: Rewrite interrupt handling

2022-02-27 Thread Richard Henderson
Drop irq_pending boolean. Drop helper_check_interrupts. Move checks for irq disabled into nios2_cpu_exec_interrupt. End the TB on writes to ienable, just like to status. Signed-off-by: Richard Henderson --- target/nios2/cpu.h | 1 - target/nios2/helper.h| 1 - target/nios2/cpu.c