[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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxxxx>
:::::: CC: Rob Clark <robdclark@xxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux