Re: ERROR: modpost: "zap_vma_ptes" undefined!

Jason Gunthorpe
2021-03-28T20:04:11Z

On Wed, Mar 24, 2021 at 08:59:13AM +0000, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
> commit: 179209fa12709a3df8888c323b37315da2683c24 vfio: IOMMU_API should be selected
> date: 8 days ago
> config: riscv-randconfig-r016-20210324 (attached as .config)
> compiler: riscv64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=179209fa12709a3df8888c323b37315da2683c24
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 179209fa12709a3df8888c323b37315da2683c24
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "zap_vma_ptes" [drivers/vfio/pci/vfio-pci.ko] undefined!

This is the because of the patch ordering that Cornelia mentioned,
!MMU is fixed in the next patch

Jason