summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/fsl-mc
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-08-26 12:39:10 +0200
committerAlex Williamson <alex.williamson@redhat.com>2021-08-26 18:36:51 +0200
commitca4ddaac7fa710a250bbd650cc719425bec973a0 (patch)
treeab57ceb78e27ef89625b6776b2ed12abe91e8816 /drivers/vfio/fsl-mc
parentPCI / VFIO: Add 'override_only' support for VFIO PCI sub system (diff)
downloadlinux-ca4ddaac7fa710a250bbd650cc719425bec973a0.tar.xz
linux-ca4ddaac7fa710a250bbd650cc719425bec973a0.zip
vfio: Use select for eventfd
If VFIO_VIRQFD is required then turn on eventfd automatically. The majority of kconfig users of the EVENTFD use select not depends on. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20210826103912.128972-12-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/fsl-mc')
-rw-r--r--drivers/vfio/fsl-mc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vfio/fsl-mc/Kconfig b/drivers/vfio/fsl-mc/Kconfig
index b1a527d6b6f2..6df66813c882 100644
--- a/drivers/vfio/fsl-mc/Kconfig
+++ b/drivers/vfio/fsl-mc/Kconfig
@@ -1,6 +1,7 @@
config VFIO_FSL_MC
tristate "VFIO support for QorIQ DPAA2 fsl-mc bus devices"
- depends on VFIO && FSL_MC_BUS && EVENTFD
+ depends on VFIO && FSL_MC_BUS
+ select EVENTFD
help
Driver to enable support for the VFIO QorIQ DPAA2 fsl-mc
(Management Complex) devices. This is required to passthrough