Kconfig 1011 字节
Newer Older
I
Ian Munsie 已提交
1 2 3 4 5 6 7 8
#
# IBM Coherent Accelerator (CXL) compatible devices
#

config CXL_BASE
	bool
	default n
	select PPC_COPRO_BASE
9

10 11 12 13
config CXL_AFU_DRIVER_OPS
	bool
	default n

14 15
config CXL
	tristate "Support for IBM Coherent Accelerators (CXL)"
D
Daniel Axtens 已提交
16
	depends on PPC_POWERNV && PCI_MSI && EEH
17
	select CXL_BASE
18
	select CXL_AFU_DRIVER_OPS
19 20 21 22 23 24 25 26 27 28 29 30
	default m
	help
	  Select this option to enable driver support for IBM Coherent
	  Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
	  Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
	  coherently attached to a CPU via an MMU.  This driver enables
	  userspace programs to access these accelerators via /dev/cxl/afuM.N
	  devices.

	  CAPI adapters are found in POWER8 based systems.

	  If unsure, say N.
31 32 33 34 35 36 37 38

config CXL_BIMODAL
	bool "Support for bi-modal CAPI cards"
	depends on HOTPLUG_PCI_POWERNV = y && CXL || HOTPLUG_PCI_POWERNV = m && CXL = m
	default y
	help
	  Select this option to enable support for bi-modal CAPI cards, such as
	  the Mellanox CX-4.