diff options
| author | Tetsuo Handa <[email protected]> | 2024-05-05 14:08:31 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-05-24 14:30:05 +0000 |
| commit | b794918961516f667b0c745aebdfebbb8a98df39 (patch) | |
| tree | 314f3c588af1c0e7d4f33835e6a81979c69aa0b7 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE) (diff) | |
| download | kernel-b794918961516f667b0c745aebdfebbb8a98df39.tar.gz kernel-b794918961516f667b0c745aebdfebbb8a98df39.zip | |
dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from
known context") by error replaced spin_unlock_irqrestore() with
spin_unlock_irq() for both sync_debugfs_show() and sync_print_obj() despite
sync_print_obj() is called from sync_debugfs_show(), lockdep complains
inconsistent lock state warning.
Use plain spin_{lock,unlock}() for sync_print_obj(), for
sync_debugfs_show() is already using spin_{lock,unlock}_irq().
Reported-by: syzbot <[email protected]>
Closes: https://syzkaller.appspot.com/bug?extid=a225ee3df7e7f9372dbe
Fixes: a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context")
Signed-off-by: Tetsuo Handa <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
