Re: [PATCH] accel/tcg: Make cpu_exec_interrupt hook mandatory

2024-07-13 Thread Philippe Mathieu-Daudé
On 12/7/24 13:39, Peter Maydell wrote: The TCGCPUOps::cpu_exec_interrupt hook is currently not mandatory; if it is left NULL then we treat it as if it had returned false. However since pretty much every architecture needs to handle interrupts, almost every target we have provides the hook. The on

Re: [PATCH] accel/tcg: Make cpu_exec_interrupt hook mandatory

2024-07-12 Thread Richard Henderson
On 7/12/24 04:39, Peter Maydell wrote: TheTCGCPUOps::cpu_exec_interrupt hook is currently not mandatory; if it is left NULL then we treat it as if it had returned false. However since pretty much every architecture needs to handle interrupts, almost every target we have provides the hook. The on

Re: [PATCH] accel/tcg: Make cpu_exec_interrupt hook mandatory

2024-07-12 Thread Alex Bennée
Peter Maydell writes: > The TCGCPUOps::cpu_exec_interrupt hook is currently not mandatory; if > it is left NULL then we treat it as if it had returned false. However > since pretty much every architecture needs to handle interrupts, > almost every target we have provides the hook. The one excepti

Re: [PATCH] accel/tcg: Make cpu_exec_interrupt hook mandatory

2024-07-12 Thread Philippe Mathieu-Daudé
On 12/7/24 13:39, Peter Maydell wrote: The TCGCPUOps::cpu_exec_interrupt hook is currently not mandatory; if it is left NULL then we treat it as if it had returned false. However since pretty much every architecture needs to handle interrupts, almost every target we have provides the hook. The on

[PATCH] accel/tcg: Make cpu_exec_interrupt hook mandatory

2024-07-12 Thread Peter Maydell
The TCGCPUOps::cpu_exec_interrupt hook is currently not mandatory; if it is left NULL then we treat it as if it had returned false. However since pretty much every architecture needs to handle interrupts, almost every target we have provides the hook. The one exception is Tricore, which doesn't cur