Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joerg Roedel <jroedel@suse.de>
Cc: kbuild-all@lists.01.org, linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [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: Tue, 29 Sep 2020 22:04:39 +0800	[thread overview]
Message-ID: <202009292234.X2mXMUFg-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-09-29 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202009292234.X2mXMUFg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=geert+renesas@glider.be \
    --cc=jroedel@suse.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox