tree:
git://git.infradead.org/users/hch/misc.git swiotlb-init-cleanup
head: f750d1f8e172aa6649e256f6aadefe27306599e2
commit: 05b42fab22bc70a6d283212fa139960be4d9a2e5 [7/11] x86: remove the IOMMU table
infrastructure
config: i386-randconfig-a003
(
https://download.01.org/0day-ci/archive/20220217/202202171845.ObpEJDtU-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 05b42fab22bc70a6d283212fa139960be4d9a2e5
# 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 >>):
ld: arch/x86/kernel/pci-dma.o: in function `pci_iommu_init':
> arch/x86/kernel/pci-dma.c:165: undefined reference to
`swiotlb_print_info'
ld: arch/x86/kernel/pci-dma.o: in function
`pci_iommu_alloc':
arch/x86/kernel/pci-dma.c:89: undefined reference to `swiotlb_init'
vim +165 arch/x86/kernel/pci-dma.c
156
157 static int __init pci_iommu_init(void)
158 {
159 x86_init.iommu.iommu_init();
160
161 /* An IOMMU turned us off. */
162 if (x86_swiotlb_enable) {
163 printk(KERN_INFO "PCI-DMA: "
164 "Using software bounce buffering for IO (SWIOTLB)\n");
165 swiotlb_print_info();
166 } else {
167 swiotlb_exit();
168 }
169
170 return 0;
171 }
172 /* Must execute after PCI subsystem */
173 rootfs_initcall(pci_iommu_init);
174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org