Hi Jacek, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on drm-tip/drm-tip next-20221208] [cannot apply to drm-misc/drm-misc-next linus/master v6.1] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jacek-Lawrynowicz/New-DRM-accel-driver-for-Intel-VPU/20221208-190957 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20221208110733.5498-3-jacek.lawrynowicz%40linux.intel.com patch subject: [PATCH v4 2/7] accel/ivpu: Add Intel VPU MMU support config: um-allyesconfig compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/d3de15d170d6cfbffbb1b99b0bc650f028719d70 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jacek-Lawrynowicz/New-DRM-accel-driver-for-Intel-VPU/20221208-190957 git checkout d3de15d170d6cfbffbb1b99b0bc650f028719d70 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/accel/ivpu/ivpu_mmu.c: In function 'ivpu_mmu_cmdq_sync': >> drivers/accel/ivpu/ivpu_mmu.c:442:9: error: implicit declaration of function 'clflush_cache_range'; did you mean 'flush_cache_range'? [-Werror=implicit-function-declaration] 442 | clflush_cache_range(q->base, IVPU_MMU_CMDQ_SIZE); | ^~~~~~~~~~~~~~~~~~~ | flush_cache_range drivers/accel/ivpu/ivpu_mmu.c: In function 'ivpu_mmu_irq_evtq_handler': drivers/accel/ivpu/ivpu_mmu.c:822:13: warning: unused variable 'ssid' [-Wunused-variable] 822 | u32 ssid; | ^~~~ cc1: some warnings being treated as errors -- drivers/accel/ivpu/ivpu_mmu_context.c: In function 'ivpu_mmu_context_flush_page_tables': >> drivers/accel/ivpu/ivpu_mmu_context.c:179:25: error: implicit declaration of function 'clflush_cache_range'; did you mean 'flush_cache_range'? [-Werror=implicit-function-declaration] 179 | clflush_cache_range(pte, IVPU_MMU_PGTABLE_SIZE); | ^~~~~~~~~~~~~~~~~~~ | flush_cache_range cc1: some warnings being treated as errors vim +442 drivers/accel/ivpu/ivpu_mmu.c 426 427 static int ivpu_mmu_cmdq_sync(struct ivpu_device *vdev) 428 { 429 struct ivpu_mmu_queue *q = &vdev->mmu->cmdq; 430 u64 val; 431 int ret; 432 433 val = FIELD_PREP(IVPU_MMU_CMD_OPCODE, CMD_SYNC) | 434 FIELD_PREP(IVPU_MMU_CMD_SYNC_0_CS, 0x2) | 435 FIELD_PREP(IVPU_MMU_CMD_SYNC_0_MSH, 0x3) | 436 FIELD_PREP(IVPU_MMU_CMD_SYNC_0_MSI_ATTR, 0xf); 437 438 ret = ivpu_mmu_cmdq_cmd_write(vdev, "SYNC", val, 0); 439 if (ret) 440 return ret; 441 > 442 clflush_cache_range(q->base, IVPU_MMU_CMDQ_SIZE); 443 REGV_WR32(MTL_VPU_HOST_MMU_CMDQ_PROD, q->prod); 444 445 ret = ivpu_mmu_cmdq_wait_for_cons(vdev); 446 if (ret) 447 ivpu_err(vdev, "Timed out waiting for consumer: %d\n", ret); 448 449 return ret; 450 } 451 -- 0-DAY CI Kernel Test Service https://01.org/lkp