Hi Jonathan,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net/master]
[also build test WARNING on linus/master v5.8-rc1 next-20200618]
[cannot apply to char-misc/char-misc-testing net-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Jonathan-Lemon/netgpu-networking...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
ef7232da6bcd4294cbb2d424bc35885721570f01
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/x86/include/asm/bug.h:86,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/seqlock.h:36,
from include/linux/time.h:6,
from include/linux/efi.h:17,
from drivers/firmware/efi/libstub/x86-stub.c:9:
include/linux/dma-mapping.h: In function 'dma_map_resource':
> include/linux/dma-mapping.h:352:19: warning: implicit declaration
of function 'pfn_online'; did you mean 'cpu_online'?
[-Wimplicit-function-declaration]
352 | if
(WARN_ON_ONCE(pfn_online(PHYS_PFN(phys_addr))))
| ^~~~~~~~~~
include/asm-generic/bug.h:101:25: note: in definition of macro 'WARN_ON_ONCE'
101 | int __ret_warn_on = !!(condition); | ^~~~~~~~~
vim +352 include/linux/dma-mapping.h
339
340 static inline dma_addr_t dma_map_resource(struct device *dev,
341 phys_addr_t phys_addr,
342 size_t size,
343 enum dma_data_direction dir,
344 unsigned long attrs)
345 {
346 const struct dma_map_ops *ops = get_dma_ops(dev);
347 dma_addr_t addr = DMA_MAPPING_ERROR;
348
349 BUG_ON(!valid_dma_direction(dir));
350
351 /* Don't allow online RAM to be mapped */
352 if (WARN_ON_ONCE(pfn_online(PHYS_PFN(phys_addr))))
353 return DMA_MAPPING_ERROR;
354
355 if (dma_is_direct(ops))
356 addr = dma_direct_map_resource(dev, phys_addr, size, dir, attrs);
357 else if (ops->map_resource)
358 addr = ops->map_resource(dev, phys_addr, size, dir, attrs);
359
360 debug_dma_map_resource(dev, phys_addr, size, dir, addr);
361 return addr;
362 }
363
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org