]> www.infradead.org Git - users/hch/misc.git/commitdiff
accel/ivpu: Remove lockdep_assert_irqs_disabled()
authorMaarten Lankhorst <dev@lankhorst.se>
Wed, 16 Jul 2025 10:56:36 +0000 (12:56 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Tue, 22 Jul 2025 08:26:37 +0000 (10:26 +0200)
This breaks on PREEMPT_RT, and should be unneeded since
lockdep can track irq disabled status itself.

Link: https://lore.kernel.org/r/20250715165919.33754-1-dev@lankhorst.se
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/accel/ivpu/ivpu_ipc.c

index 39f83225c1815ad1ea817e8aa09b1499edd02aa0..5f00809d448afb4f57bf0b92da3fa18bb7b18235 100644 (file)
@@ -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) {