Architecture has no drm_cache.c support ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4664 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: 4664 Comm: syz.3.183 Not tainted 5.15.173-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 : ffff800021da77f0 x29: ffff800021da77f0 x28: 1fffe0001aaca404 x27: ffff0000d5652000 x26: dfff800000000000 x25: 1fffe0001a3b5547 x24: dfff800000000000 x23: 0000000000001000 x22: ffff0000d1daaa30 x21: ffff0000c1061900 x20: ffff0000d1daa800 x19: ffff0000d1daaa30 x18: 0000000000000001 x17: 0000000000000002 x16: ffff800011b4c108 x15: 00000000ffffffff x14: ffff0000d43551c0 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000000692d x10: ffff800027aad000 x9 : 4a0a0ce08afbb700 x8 : 4a0a0ce08afbb700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021da6f58 x4 : ffff800014c405e0 x3 : ffff80000aa0ed5c x2 : ffff0001b4198d10 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: 808 hardirqs last enabled at (807): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (808): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (746): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (746): [] cgroup_idr_replace kernel/cgroup/cgroup.c:338 [inline] softirqs last enabled at (746): [] css_create kernel/cgroup/cgroup.c:5388 [inline] softirqs last enabled at (746): [] cgroup_apply_control_enable+0x6d0/0x9ac kernel/cgroup/cgroup.c:3189 softirqs last disabled at (744): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (744): [] cgroup_idr_replace kernel/cgroup/cgroup.c:336 [inline] softirqs last disabled at (744): [] css_create kernel/cgroup/cgroup.c:5388 [inline] softirqs last disabled at (744): [] cgroup_apply_control_enable+0x6b8/0x9ac kernel/cgroup/cgroup.c:3189 ---[ end trace 8cb49f2a68df48ea ]---