Hi Tom, Thank you for the patch! Yet something to improve:
[auto build test ERROR on tegra/for-next] [also build test ERROR on vfio/next v5.9-rc1 next-20200817] [cannot apply to iommu/next] [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] url: https://github.com/0day-ci/linux/commits/Tom-Murphy/Add-new-flush_iotlb_range-and-handle-freelists-when-using-iommu_unmap_fast/20200818-052129 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: arm-allyesconfig (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 # 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 <l...@intel.com> All errors (new ones prefixed by >>): >> drivers/iommu/mtk_iommu_v1.c:526:12: error: initialization of 'size_t >> (*)(struct iommu_domain *, long unsigned int, size_t, struct >> iommu_iotlb_gather *, struct page **)' {aka 'unsigned int (*)(struct >> iommu_domain *, long unsigned int, unsigned int, struct iommu_iotlb_gather >> *, struct page **)'} from incompatible pointer type 'size_t (*)(struct >> iommu_domain *, long unsigned int, size_t, struct iommu_iotlb_gather *)' >> {aka 'unsigned int (*)(struct iommu_domain *, long unsigned int, unsigned >> int, struct iommu_iotlb_gather *)'} [-Werror=incompatible-pointer-types] 526 | .unmap = mtk_iommu_unmap, | ^~~~~~~~~~~~~~~ drivers/iommu/mtk_iommu_v1.c:526:12: note: (near initialization for 'mtk_iommu_ops.unmap') cc1: some warnings being treated as errors # https://github.com/0day-ci/linux/commit/d64ecd192f5239ba9fbf8124e7b3069cb4145c47 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tom-Murphy/Add-new-flush_iotlb_range-and-handle-freelists-when-using-iommu_unmap_fast/20200818-052129 git checkout d64ecd192f5239ba9fbf8124e7b3069cb4145c47 vim +526 drivers/iommu/mtk_iommu_v1.c b17336c55d8928 Honghui Zhang 2016-06-08 519 b65f501627fffc Arvind Yadav 2018-10-18 520 static const struct iommu_ops mtk_iommu_ops = { b17336c55d8928 Honghui Zhang 2016-06-08 521 .domain_alloc = mtk_iommu_domain_alloc, b17336c55d8928 Honghui Zhang 2016-06-08 522 .domain_free = mtk_iommu_domain_free, b17336c55d8928 Honghui Zhang 2016-06-08 523 .attach_dev = mtk_iommu_attach_device, b17336c55d8928 Honghui Zhang 2016-06-08 524 .detach_dev = mtk_iommu_detach_device, b17336c55d8928 Honghui Zhang 2016-06-08 525 .map = mtk_iommu_map, b17336c55d8928 Honghui Zhang 2016-06-08 @526 .unmap = mtk_iommu_unmap, b17336c55d8928 Honghui Zhang 2016-06-08 527 .iova_to_phys = mtk_iommu_iova_to_phys, 57dbf81f50c82a Joerg Roedel 2020-04-29 528 .probe_device = mtk_iommu_probe_device, 57dbf81f50c82a Joerg Roedel 2020-04-29 529 .probe_finalize = mtk_iommu_probe_finalize, 57dbf81f50c82a Joerg Roedel 2020-04-29 530 .release_device = mtk_iommu_release_device, 8bbe13f52cb796 Yong Wu 2020-05-15 531 .def_domain_type = mtk_iommu_def_domain_type, 57dbf81f50c82a Joerg Roedel 2020-04-29 532 .device_group = generic_device_group, b17336c55d8928 Honghui Zhang 2016-06-08 533 .pgsize_bitmap = ~0UL << MT2701_IOMMU_PAGE_SHIFT, b17336c55d8928 Honghui Zhang 2016-06-08 534 }; b17336c55d8928 Honghui Zhang 2016-06-08 535 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip
_______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu