Skip to contentSkip to conversation

vfio/mdev: make VFIO_MDEV user-visible in Kconfig

PATCH In review JP Kobryn (Meta) 2 participants 2 messages Mar 5 – Mar 9

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio/mdev: make VFIO_MDEV user-visible in Kconfig

From: JP Kobryn <[email protected]>

VFIO_MDEV is currently hidden and only enabled via select by in-tree consumers. Out-of-tree drivers such as the NVIDIA vGPU rely on the mdev framework but have no way to trigger its selection.

Add a description and help text to make VFIO_MDEV visible and directly selectable.

---
 drivers/vfio/mdev/Kconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/vfio/mdev/Kconfig +5 -1
index e5fb84e07965..642d46b7aa4b 100644
@@ -1,4 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 config VFIO_MDEV
-	tristate
+	tristate "Mediated device driver framework"
+	help
+	  Provides the mediated device (mdev) framework, which allows
+	  physical devices to create virtual instances for use with
+	  VFIO-based passthrough.
Signature · 1 line
2.47.3
#1 lore raw
Quoted 8 lines · JP Kobryn (Meta)

From: JP Kobryn <[email protected]>

VFIO_MDEV is currently hidden and only enabled via select by in-tree consumers. Out-of-tree drivers such as the NVIDIA vGPU rely on the mdev framework but have no way to trigger its selection.

Add a description and help text to make VFIO_MDEV visible and directly selectable.

Just as last time: no. out of tree drivers don't matter to the kernel, and add totally pointless user visible options for them is of course a no-go.