tree:
git://git.infradead.org/users/hch/misc.git swiotlb-init-cleanup
head: 03f11490b8d1f5bc33f9584ac5f16aca9d73fd6e
commit: 19fcc8038a809dc34fe5bc053aea3a6a5a143a93 [8/11] x86: remove the IOMMU table
infrastructure
config: i386-randconfig-a003
(
https://download.01.org/0day-ci/archive/20220216/202202160357.sAngmhzQ-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc swiotlb-init-cleanup
git checkout 19fcc8038a809dc34fe5bc053aea3a6a5a143a93
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/pci-dma.c: In function 'pci_iommu_alloc':
> arch/x86/kernel/pci-dma.c:86:2: error: implicit declaration of
function 'detect_intel_iommu' [-Werror=implicit-function-declaration]
86 | detect_intel_iommu();
| ^~~~~~~~~~~~~~~~~~
At top level:
arch/x86/kernel/pci-dma.c:40:13: warning: 'xen_swiotlb' defined but not used
[-Wunused-variable]
40 | static bool xen_swiotlb __read_mostly;
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/detect_intel_iommu +86 arch/x86/kernel/pci-dma.c
80
81 void __init pci_iommu_alloc(void)
82 {
83 pci_swiotlb_detect_4gb();
84 gart_iommu_hole_init();
85 amd_iommu_detect();
86 detect_intel_iommu();
87
88 if (x86_swiotlb_enable)
89 swiotlb_init(0);
90 }
91
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org