* [renesas-drivers:master 83/110] drivers/gpu/drm/msm/msm_iommu.c:46:2: error: implicit declaration of function 'iommu_flush_tlb_all'; did you mean
@ 2020-09-29 14:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-29 14:04 UTC (permalink / raw)
To: Joerg Roedel; +Cc: kbuild-all, linux-renesas-soc, Geert Uytterhoeven
[-- Attachment #1: Type: text/plain, Size: 3396 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head: 636a9f7dbb24610805c1466de5be6411cc25fcf1
commit: 140e4a03ab203be8183a202601cd6d0ecd6f08bc [83/110] Merge remote-tracking branch 'iommu/next' into renesas-drivers
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?id=140e4a03ab203be8183a202601cd6d0ecd6f08bc
git remote add renesas-drivers https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
git fetch --no-tags renesas-drivers master
git checkout 140e4a03ab203be8183a202601cd6d0ecd6f08bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/msm/msm_iommu.c: In function 'msm_iommu_pagetable_unmap':
>> drivers/gpu/drm/msm/msm_iommu.c:46:2: error: implicit declaration of function 'iommu_flush_tlb_all'; did you mean 'iommu_flush_iotlb_all'? [-Werror=implicit-function-declaration]
46 | iommu_flush_tlb_all(to_msm_iommu(pagetable->parent)->domain);
| ^~~~~~~~~~~~~~~~~~~
| iommu_flush_iotlb_all
cc1: some warnings being treated as errors
vim +46 drivers/gpu/drm/msm/msm_iommu.c
b145c6e65eb05e Jordan Crouse 2020-08-17 31
b145c6e65eb05e Jordan Crouse 2020-08-17 32 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova,
b145c6e65eb05e Jordan Crouse 2020-08-17 33 size_t size)
b145c6e65eb05e Jordan Crouse 2020-08-17 34 {
b145c6e65eb05e Jordan Crouse 2020-08-17 35 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu);
b145c6e65eb05e Jordan Crouse 2020-08-17 36 struct io_pgtable_ops *ops = pagetable->pgtbl_ops;
b145c6e65eb05e Jordan Crouse 2020-08-17 37 size_t unmapped = 0;
b145c6e65eb05e Jordan Crouse 2020-08-17 38
b145c6e65eb05e Jordan Crouse 2020-08-17 39 /* Unmap the block one page at a time */
b145c6e65eb05e Jordan Crouse 2020-08-17 40 while (size) {
b145c6e65eb05e Jordan Crouse 2020-08-17 41 unmapped += ops->unmap(ops, iova, 4096, NULL);
b145c6e65eb05e Jordan Crouse 2020-08-17 42 iova += 4096;
b145c6e65eb05e Jordan Crouse 2020-08-17 43 size -= 4096;
b145c6e65eb05e Jordan Crouse 2020-08-17 44 }
b145c6e65eb05e Jordan Crouse 2020-08-17 45
b145c6e65eb05e Jordan Crouse 2020-08-17 @46 iommu_flush_tlb_all(to_msm_iommu(pagetable->parent)->domain);
b145c6e65eb05e Jordan Crouse 2020-08-17 47
b145c6e65eb05e Jordan Crouse 2020-08-17 48 return (unmapped == size) ? 0 : -EINVAL;
b145c6e65eb05e Jordan Crouse 2020-08-17 49 }
b145c6e65eb05e Jordan Crouse 2020-08-17 50
:::::: The code at line 46 was first introduced by commit
:::::: b145c6e65eb05e123097d726aa9d4f5b8f11c401 drm/msm: Add support to create a local pagetable
:::::: TO: Jordan Crouse <jcrouse@codeaurora.org>
:::::: CC: Rob Clark <robdclark@chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53333 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-29 14:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 14:04 [renesas-drivers:master 83/110] drivers/gpu/drm/msm/msm_iommu.c:46:2: error: implicit declaration of function 'iommu_flush_tlb_all'; did you mean kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox