[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511181317.hOMn5k0o-lkp@intel.com>
Date: Tue, 18 Nov 2025 14:12:16 +0800
From: kernel test robot <lkp@...el.com>
To: ankita@...dia.com, jgg@...pe.ca, yishaih@...dia.com,
skolothumtho@...dia.com, kevin.tian@...el.com, alex@...zbot.org,
aniketa@...dia.com, vsethi@...dia.com, mochs@...dia.com
Cc: oe-kbuild-all@...ts.linux.dev, Yunxiang.Li@....com, yi.l.liu@...el.com,
zhangdongdong@...incomputing.com, avihaih@...dia.com,
bhelgaas@...gle.com, peterx@...hat.com, pstanner@...hat.com,
apopple@...dia.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, cjia@...dia.com, kwankhede@...dia.com,
targupta@...dia.com, zhiw@...dia.com, danw@...dia.com,
dnigam@...dia.com, kjaju@...dia.com
Subject: Re: [PATCH v1 3/6] vfio/nvgrace-gpu: Add support for huge pfnmap
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on awilliam-vfio/next]
[also build test WARNING on awilliam-vfio/for-linus linus/master v6.18-rc6 next-20251118]
[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/ankita-nvidia-com/vfio-nvgrace-gpu-Use-faults-to-map-device-memory/20251117-205950
base: https://github.com/awilliam/linux-vfio.git next
patch link: https://lore.kernel.org/r/20251117124159.3560-4-ankita%40nvidia.com
patch subject: [PATCH v1 3/6] vfio/nvgrace-gpu: Add support for huge pfnmap
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20251118/202511181317.hOMn5k0o-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511181317.hOMn5k0o-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511181317.hOMn5k0o-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/vfio/pci/nvgrace-gpu/main.c: In function 'nvgrace_gpu_aligned_devmem_size':
>> drivers/vfio/pci/nvgrace-gpu/main.c:179:7: warning: 'CONFIG_ARCH_SUPPORTS_PUD_PFNMAP' is not defined, evaluates to '0' [-Wundef]
179 | #elif CONFIG_ARCH_SUPPORTS_PUD_PFNMAP
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +179 drivers/vfio/pci/nvgrace-gpu/main.c
174
175 static size_t nvgrace_gpu_aligned_devmem_size(size_t memlength)
176 {
177 #ifdef CONFIG_ARCH_SUPPORTS_PMD_PFNMAP
178 return ALIGN(memlength, PMD_SIZE);
> 179 #elif CONFIG_ARCH_SUPPORTS_PUD_PFNMAP
180 return ALIGN(memlength, PUD_SIZE);
181 #endif
182 return memlength;
183 }
184
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists