Architecture has no drm_cache.c support ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8301 at drivers/gpu/drm/drm_cache.c:116 drm_clflush_pages+0x1c/0x2c drivers/gpu/drm/drm_cache.c:115 Modules linked in: CPU: 1 PID: 8301 Comm: syz.4.1118 Not tainted 5.15.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : drm_clflush_pages+0x1c/0x2c drivers/gpu/drm/drm_cache.c:115 lr : drm_clflush_pages+0x1c/0x2c drivers/gpu/drm/drm_cache.c:115 sp : ffff800020af77f0 x29: ffff800020af77f0 x28: 1fffe0001c7fd804 x27: ffff0000e3fec000 x26: dfff800000000000 x25: 1fffe0001a12db47 x24: dfff800000000000 x23: 0000000000017000 x22: ffff0000d096da30 x21: ffff0000c1c4a400 x20: ffff0000d096d800 x19: ffff0000d096da30 x18: 1fffe00036835d8e x17: 1fffe00036835d8e x16: ffff800011aba618 x15: ffff800014b5fa40 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800024fe9000 x9 : 7836349e47f46b00 x8 : 7836349e47f46b00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a9825bc x2 : ffff0001b41aed10 x1 : 0000000100000000 x0 : 0000000000000027 Call trace: drm_clflush_pages+0x1c/0x2c drivers/gpu/drm/drm_cache.c:115 vgem_prime_pin+0xd4/0x184 drivers/gpu/drm/vgem/vgem_drv.c:312 drm_gem_pin+0x6c/0x8c drivers/gpu/drm/drm_gem.c:1142 drm_gem_map_attach+0x40/0x50 drivers/gpu/drm/drm_prime.c:583 dma_buf_dynamic_attach+0x1b8/0x748 drivers/dma-buf/dma-buf.c:764 dma_buf_attach+0x30/0x40 drivers/dma-buf/dma-buf.c:830 drm_gem_prime_import_dev+0xf4/0x338 drivers/gpu/drm/drm_prime.c:934 drm_gem_prime_import drivers/gpu/drm/drm_prime.c:983 [inline] drm_gem_prime_fd_to_handle+0x1ac/0x464 drivers/gpu/drm/drm_prime.c:321 drm_prime_fd_to_handle_ioctl+0x94/0xd0 drivers/gpu/drm/drm_prime.c:375 drm_ioctl_kernel+0x2cc/0x458 drivers/gpu/drm/drm_ioctl.c:801 drm_ioctl+0x5d0/0xa64 drivers/gpu/drm/drm_ioctl.c:904 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 5396 hardirqs last enabled at (5395): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (5395): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (5396): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (3620): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (3618): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 17d46e9987800e6e ]--- BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 8301 Comm: syz.4.1118 Tainted: G W 5.15.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3735 [inline] validate_chain kernel/locking/lockdep.c:3756 [inline] __lock_acquire+0x1b64/0x7638 kernel/locking/lockdep.c:5012 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0xb0/0x10c kernel/locking/spinlock.c:154 update_curr_rt+0x33c/0x760 kernel/sched/rt.c:1041 put_prev_task_rt+0x2c/0x2d8 kernel/sched/rt.c:1674 put_prev_task kernel/sched/sched.h:2190 [inline] put_prev_task_balance kernel/sched/core.c:5626 [inline] __pick_next_task kernel/sched/core.c:5661 [inline] pick_next_task kernel/sched/core.c:6189 [inline] __schedule+0x78c/0x1e48 kernel/sched/core.c:6337 preempt_schedule_irq+0x90/0x274 kernel/sched/core.c:6777 arm64_preempt_schedule_irq+0x174/0x2c4 arch/arm64/kernel/entry-common.c:260 el1_interrupt+0x40/0x58 arch/arm64/kernel/entry-common.c:463 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 preempt_count arch/arm64/include/asm/preempt.h:12 [inline] preempt_count_equals kernel/sched/core.c:9571 [inline] ___might_sleep+0xf4/0x4dc kernel/sched/core.c:9604 __might_sleep+0x98/0xf0 kernel/sched/core.c:9590 lock_sock_nested+0x100/0x1ec net/core/sock.c:3252 lock_sock include/net/sock.h:1678 [inline] tcp_close+0x2c/0x158 net/ipv4/tcp.c:2921 inet_release+0x160/0x1d0 net/ipv4/af_inet.c:434 __sock_release net/socket.c:649 [inline] sock_release+0x84/0x140 net/socket.c:677 smc_clcsock_release+0xc4/0xec net/smc/smc_close.c:34 __smc_release+0x388/0x540 net/smc/af_smc.c:171 smc_release+0x26c/0x574 net/smc/af_smc.c:214 __sock_release net/socket.c:649 [inline] sock_close+0xb8/0x1fc net/socket.c:1336 __fput+0x1c4/0x800 fs/file_table.c:280 ____fput+0x20/0x30 fs/file_table.c:308 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584