summaryrefslogtreecommitdiff
path: root/drivers/vfio/pci/mlx5
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2023-06-14 13:39:46 -0600
committerAlex Williamson <alex.williamson@redhat.com>2023-06-16 12:23:42 -0600
commit8cc75183b78e91455a03ad3a1a68cd0612f66446 (patch)
tree72d0708843f0d05fca7ad1cd30ca8d43ddbfe84b /drivers/vfio/pci/mlx5
parenta5bfe22db2a4a1ae467f31cfa1d72043eb9f1877 (diff)
downloadlinux-8cc75183b78e91455a03ad3a1a68cd0612f66446.tar.gz
linux-8cc75183b78e91455a03ad3a1a68cd0612f66446.tar.bz2
linux-8cc75183b78e91455a03ad3a1a68cd0612f66446.zip
vfio/pci: Cleanup Kconfig
It should be possible to select vfio-pci variant drivers without building vfio-pci itself, which implies each variant driver should select vfio-pci-core. Fix the top level vfio Makefile to traverse pci based on vfio-pci-core rather than vfio-pci. Mark MMAP and INTX options depending on vfio-pci-core to cleanup resulting config if core is not enabled. Push all PCI related vfio options to a sub-menu and make descriptions consistent. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20230614193948.477036-2-alex.williamson@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci/mlx5')
-rw-r--r--drivers/vfio/pci/mlx5/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/mlx5/Kconfig b/drivers/vfio/pci/mlx5/Kconfig
index 29ba9c504a75..7088edc4fb28 100644
--- a/drivers/vfio/pci/mlx5/Kconfig
+++ b/drivers/vfio/pci/mlx5/Kconfig
@@ -2,7 +2,7 @@
config MLX5_VFIO_PCI
tristate "VFIO support for MLX5 PCI devices"
depends on MLX5_CORE
- depends on VFIO_PCI_CORE
+ select VFIO_PCI_CORE
help
This provides migration support for MLX5 devices using the VFIO
framework.