Am Sonntag, 1. November 2026, 09:22:54 Mitteleuropäische Normalzeit schrieb 
Jiaxing Hu:
> rocket_job_handle_irq() writes OPERATION_ENABLE and INTERRUPT_CLEAR before
> taking job_lock, while rocket_job_hw_submit() writes OPERATION_ENABLE under
> it, so a completion can write its zero after a submit has written its one
> and stop a task that has just started. Move both writes inside the existing
> scoped_guard().
> 
> Fixes: 0810d5ad88a1 ("accel/rocket: Add job submission IOCTL")
> Signed-off-by: Jiaxing Hu <[email protected]>
> Tested-by: Igor Paunovic <[email protected]> # RK3588, three cores, 
> induced reset, JOB_TIMEOUT_MS=2

Reviewed-by: Heiko Stuebner <[email protected]>


Reply via email to