xref: /openbmc/linux/drivers/misc/cxl/Kconfig (revision 25901632c9323e5208cca66097a0b8f34c752606)
110542ca0SIan Munsie#
210542ca0SIan Munsie# IBM Coherent Accelerator (CXL) compatible devices
310542ca0SIan Munsie#
410542ca0SIan Munsie
510542ca0SIan Munsieconfig CXL_BASE
610542ca0SIan Munsie	bool
710542ca0SIan Munsie	default n
810542ca0SIan Munsie	select PPC_COPRO_BASE
9881632c9SIan Munsie
10e0fcdc20SMichael Neulingconfig CXL_KERNEL_API
11e0fcdc20SMichael Neuling	bool
12e0fcdc20SMichael Neuling	default n
13e0fcdc20SMichael Neuling
14*25901632SDaniel Axtensconfig CXL_EEH
15*25901632SDaniel Axtens	bool
16*25901632SDaniel Axtens	default n
17*25901632SDaniel Axtens
18881632c9SIan Munsieconfig CXL
19881632c9SIan Munsie	tristate "Support for IBM Coherent Accelerators (CXL)"
20*25901632SDaniel Axtens	depends on PPC_POWERNV && PCI_MSI && EEH
21881632c9SIan Munsie	select CXL_BASE
22e0fcdc20SMichael Neuling	select CXL_KERNEL_API
23*25901632SDaniel Axtens	select CXL_EEH
24881632c9SIan Munsie	default m
25881632c9SIan Munsie	help
26881632c9SIan Munsie	  Select this option to enable driver support for IBM Coherent
27881632c9SIan Munsie	  Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
28881632c9SIan Munsie	  Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
29881632c9SIan Munsie	  coherently attached to a CPU via an MMU.  This driver enables
30881632c9SIan Munsie	  userspace programs to access these accelerators via /dev/cxl/afuM.N
31881632c9SIan Munsie	  devices.
32881632c9SIan Munsie
33881632c9SIan Munsie	  CAPI adapters are found in POWER8 based systems.
34881632c9SIan Munsie
35881632c9SIan Munsie	  If unsure, say N.
36