forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/vfio/pci/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config VFIO_PCI
23 tristate "VFIO support for PCI devices"
34 depends on VFIO && PCI && EVENTFD
....@@ -39,3 +40,21 @@
3940 and LPC bridge config space.
4041
4142 To enable Intel IGD assignment through vfio-pci, say Y.
43
+
44
+config VFIO_PCI_NVLINK2
45
+ def_bool y
46
+ depends on VFIO_PCI && PPC_POWERNV && SPAPR_TCE_IOMMU
47
+ help
48
+ VFIO PCI support for P9 Witherspoon machine with NVIDIA V100 GPUs
49
+
50
+config VFIO_PCI_ZDEV
51
+ bool "VFIO PCI ZPCI device CLP support"
52
+ depends on VFIO_PCI && S390
53
+ default y
54
+ help
55
+ Enabling this option exposes VFIO capabilities containing hardware
56
+ configuration for zPCI devices. This enables userspace (e.g. QEMU)
57
+ to supply proper configuration values instead of hard-coded defaults
58
+ for zPCI devices passed through via VFIO on s390.
59
+
60
+ Say Y here.