xref: /openbmc/linux/drivers/misc/cxl/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
210542ca0SIan Munsie#
310542ca0SIan Munsie# IBM Coherent Accelerator (CXL) compatible devices
410542ca0SIan Munsie#
510542ca0SIan Munsie
610542ca0SIan Munsieconfig CXL_BASE
710542ca0SIan Munsie	bool
810542ca0SIan Munsie	default n
910542ca0SIan Munsie	select PPC_COPRO_BASE
10881632c9SIan Munsie
11b810253bSPhilippe Bergheaudconfig CXL_AFU_DRIVER_OPS
12b810253bSPhilippe Bergheaud	bool
13b810253bSPhilippe Bergheaud	default n
14b810253bSPhilippe Bergheaud
153ced8d73SChristophe Lombardconfig CXL_LIB
163ced8d73SChristophe Lombard	bool
173ced8d73SChristophe Lombard	default n
183ced8d73SChristophe Lombard
19881632c9SIan Munsieconfig CXL
20881632c9SIan Munsie	tristate "Support for IBM Coherent Accelerators (CXL)"
2125901632SDaniel Axtens	depends on PPC_POWERNV && PCI_MSI && EEH
22881632c9SIan Munsie	select CXL_BASE
23b810253bSPhilippe Bergheaud	select CXL_AFU_DRIVER_OPS
243ced8d73SChristophe Lombard	select CXL_LIB
25881632c9SIan Munsie	default m
26881632c9SIan Munsie	help
27881632c9SIan Munsie	  Select this option to enable driver support for IBM Coherent
28881632c9SIan Munsie	  Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
29881632c9SIan Munsie	  Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
30881632c9SIan Munsie	  coherently attached to a CPU via an MMU.  This driver enables
31881632c9SIan Munsie	  userspace programs to access these accelerators via /dev/cxl/afuM.N
32881632c9SIan Munsie	  devices.
33881632c9SIan Munsie
34881632c9SIan Munsie	  CAPI adapters are found in POWER8 based systems.
35881632c9SIan Munsie
36881632c9SIan Munsie	  If unsure, say N.
37