xref: /openbmc/linux/drivers/misc/cxl/Kconfig (revision ce0eff0d)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# IBM Coherent Accelerator (CXL) compatible devices
4#
5
6config CXL_BASE
7	bool
8	select PPC_COPRO_BASE
9
10config CXL_AFU_DRIVER_OPS
11	bool
12
13config CXL_LIB
14	bool
15
16config CXL
17	tristate "Support for IBM Coherent Accelerators (CXL)"
18	depends on PPC_POWERNV && PCI_MSI && EEH
19	select CXL_BASE
20	select CXL_AFU_DRIVER_OPS
21	select CXL_LIB
22	default m
23	help
24	  Select this option to enable driver support for IBM Coherent
25	  Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
26	  Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
27	  coherently attached to a CPU via an MMU.  This driver enables
28	  userspace programs to access these accelerators via /dev/cxl/afuM.N
29	  devices.
30
31	  CAPI adapters are found in POWER8 based systems.
32
33	  If unsure, say N.
34