WSL2-Linux-Kernel/drivers/vfio/pci
Randy Dunlap 2a55ca3735 vfio/pci: zap_vma_ptes() needs MMU
zap_vma_ptes() is only available when CONFIG_MMU is set/enabled.
Without CONFIG_MMU, vfio_pci.o has build errors, so make
VFIO_PCI depend on MMU.

riscv64-linux-ld: drivers/vfio/pci/vfio_pci.o: in function `vfio_pci_mmap_open':
vfio_pci.c:(.text+0x1ec): undefined reference to `zap_vma_ptes'
riscv64-linux-ld: drivers/vfio/pci/vfio_pci.o: in function `.L0 ':
vfio_pci.c:(.text+0x165c): undefined reference to `zap_vma_ptes'

Fixes: 11c4cd07ba ("vfio-pci: Fault mmaps to enable vma tracking")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Cornelia Huck <cohuck@redhat.com>
Cc: kvm@vger.kernel.org
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210515190856.2130-1-rdunlap@infradead.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-05-24 13:40:13 -06:00
..
Kconfig vfio/pci: zap_vma_ptes() needs MMU 2021-05-24 13:40:13 -06:00
Makefile vfio/pci: remove vfio_pci_nvlink2 2021-04-06 11:54:13 -06:00
trace.h vfio/pci: Cleanup license mess 2019-01-22 11:06:05 -07:00
vfio_pci.c VFIO updates for v5.13-rc1 2021-04-28 17:19:47 -07:00
vfio_pci_config.c vfio/pci: Fix error return code in vfio_ecap_init() 2021-05-24 12:14:18 -06:00
vfio_pci_igd.c vfio/pci: Add support for opregion v2.1+ 2021-04-06 11:53:50 -06:00
vfio_pci_intrs.c vfio/pci: Clear token on bypass registration failure 2020-10-19 07:13:55 -06:00
vfio_pci_private.h Merge branches 'v5.13/vfio/embed-vfio_device', 'v5.13/vfio/misc' and 'v5.13/vfio/nvlink' into v5.13/vfio/next 2021-04-06 12:01:51 -06:00
vfio_pci_rdwr.c vfio/pci: Implement ioeventfd thread handler for contended memory lock 2020-11-03 11:07:40 -07:00
vfio_pci_zdev.c vfio-pci/zdev: fix possible segmentation fault issue 2021-02-02 09:06:02 -07:00