[PATCH] accel/ivpu: Remove lockdep_assert_irqs_disabled()

Jacek Lawrynowicz jacek.lawrynowicz at linux.intel.com
Tue Jul 22 07:53:46 UTC 2025


Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>

On 7/15/2025 6:59 PM, Maarten Lankhorst wrote:
> This breaks on PREEMPT_RT, and should be unneeded since
> lockdep can track irq disabled status itself.
> 
> Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
> ---
>  drivers/accel/ivpu/ivpu_ipc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/accel/ivpu/ivpu_ipc.c b/drivers/accel/ivpu/ivpu_ipc.c
> index 39f83225c1815..5f00809d448af 100644
> --- a/drivers/accel/ivpu/ivpu_ipc.c
> +++ b/drivers/accel/ivpu/ivpu_ipc.c
> @@ -141,7 +141,6 @@ ivpu_ipc_rx_msg_add(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons,
>  	struct ivpu_ipc_rx_msg *rx_msg;
>  
>  	lockdep_assert_held(&ipc->cons_lock);
> -	lockdep_assert_irqs_disabled();
>  
>  	rx_msg = kzalloc(sizeof(*rx_msg), GFP_ATOMIC);
>  	if (!rx_msg) {



More information about the dri-devel mailing list