Architecture has no drm_cache.c support ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5107 at drivers/gpu/drm/drm_cache.c:116 drm_clflush_pages+0x1c/0x2c drivers/gpu/drm/drm_cache.c:115 Modules linked in: CPU: 0 PID: 5107 Comm: syz.0.294 Not tainted 5.15.172-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 : ffff80001fbd77f0 x29: ffff80001fbd77f0 x28: 1fffe0001a5b1e04 x27: ffff0000d2d8f000 x26: dfff800000000000 x25: 1fffe0001aa68947 x24: dfff800000000000 x23: 000000000000c000 x22: ffff0000d5344a30 x21: ffff0000ce2a0800 x20: ffff0000d5344800 x19: ffff0000d5344a30 x18: ffff80001fbd6e20 x17: 0000000000000000 x16: ffff800011abb750 x15: 000000000003059a x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000f44d x10: ffff80002066a000 x9 : 2d764723e3cfca00 x8 : 2d764723e3cfca00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a98353c x2 : ffff0001b418dd10 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: 814 hardirqs last enabled at (813): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (813): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (814): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (808): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (808): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (791): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (791): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (791): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (791): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace e87610fbf83e6aed ]---