Re: [RFC PATCH] x86/pci-dma: add "any" keyword to swiotlb= kernel parameter
kernel test robot <[email protected]> Wed, 5 Aug 2026 20:15:56 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Aakarsh, [This is a private test report for your RFC patch.] kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v7.2-rc6 next-20260804] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Aakarsh-Jain/x86-pci-dma-add-any-keyword-to-swiotlb-kernel-parameter/20260805-183105 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20260708114244.246176-1-aakarsh.jain%40oss.qualcomm.com patch subject: [RFC PATCH] x86/pci-dma: add "any" keyword to swiotlb= kernel parameter config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260805/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): kernel/dma/swiotlb.c: In function 'swiotlb_init_late': >> kernel/dma/swiotlb.c:451:9: error: 'flags' undeclared (first use in this function) 451 | flags |= swiotlb_param_flags; | ^~~~~ kernel/dma/swiotlb.c:451:9: note: each undeclared identifier is reported only once for each function it appears in vim +/flags +451 kernel/dma/swiotlb.c 426 427 /* 428 * Systems with larger DMA zones (those that don't support ISA) can 429 * initialize the swiotlb later using the slab allocator if needed. 430 * This should be just like above, but with some error catching. 431 */ 432 int swiotlb_init_late(size_t size, gfp_t gfp_mask, 433 int (*remap)(void *tlb, unsigned long nslabs)) 434 { 435 struct io_tlb_pool *mem = &io_tlb_default_mem.defpool; 436 unsigned long nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); 437 unsigned int nareas; 438 unsigned char *vstart = NULL; 439 unsigned int order, area_order; 440 bool retried = false; 441 int rc = 0; 442 443 if (io_tlb_default_mem.nslabs) 444 return 0; 445 446 if (swiotlb_force_disable) 447 return 0; 448 449 io_tlb_default_mem.force_bounce = swiotlb_force_bounce; 450 > 451 flags |= swiotlb_param_flags; 452 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki