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