* Re: [RFC PATCH] x86/pci-dma: add "any" keyword to swiotlb= kernel parameter
[not found] <20260708114244.246176-1-aakarsh.jain@oss.qualcomm.com>
@ 2026-08-06 5:46 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-06 5:46 UTC (permalink / raw)
To: Aakarsh Jain; +Cc: llvm, oe-kbuild-all
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-20260805]
[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: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260806/202608061320.CdWO5wPP-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608061320.CdWO5wPP-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608061320.CdWO5wPP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/dma/swiotlb.c:451:2: error: use of undeclared identifier 'flags'
451 | flags |= swiotlb_param_flags;
| ^~~~~
1 error generated.
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
^ permalink raw reply [flat|nested] only message in thread