Re: [PATCH v6 28/39] accel: Expose and register generic_handle_interrupt()

2025-07-04 Thread Philippe Mathieu-Daudé
On 4/7/25 08:38, Xiaoyao Li wrote: On 7/4/2025 1:32 AM, Philippe Mathieu-Daudé wrote: In order to dispatch over AccelOpsClass::handle_interrupt(), we need it always defined, It seems I can only understand it until I see the code to really require it to be mandatory. See https://lore.kerne

Re: [PATCH v6 28/39] accel: Expose and register generic_handle_interrupt()

2025-07-03 Thread Xiaoyao Li
On 7/4/2025 1:32 AM, Philippe Mathieu-Daudé wrote: In order to dispatch over AccelOpsClass::handle_interrupt(), we need it always defined, It seems I can only understand it until I see the code to really require it to be mandatory. But anyway, the change itself is correct. Reviewed-by: Xia

[PATCH v6 28/39] accel: Expose and register generic_handle_interrupt()

2025-07-03 Thread Philippe Mathieu-Daudé
In order to dispatch over AccelOpsClass::handle_interrupt(), we need it always defined, not calling a hidden handler under the hood. Make AccelOpsClass::handle_interrupt() mandatory. Expose generic_handle_interrupt() prototype and register it for each accelerator. Suggested-by: Richard Henderson