xref: /openbmc/linux/drivers/misc/ocxl/Kconfig (revision 95298d63)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Open Coherent Accelerator (OCXL) compatible devices
4#
5
6config OCXL_BASE
7	bool
8	select PPC_COPRO_BASE
9
10config OCXL
11	tristate "OpenCAPI coherent accelerator support"
12	depends on PPC_POWERNV && PCI && EEH
13	select OCXL_BASE
14	select HOTPLUG_PCI_POWERNV
15	default m
16	help
17	  Select this option to enable the ocxl driver for Open
18	  Coherent Accelerator Processor Interface (OpenCAPI) devices.
19
20	  OpenCAPI allows FPGA and ASIC accelerators to be coherently
21	  attached to a CPU over an OpenCAPI link.
22
23	  The ocxl driver enables userspace programs to access these
24	  accelerators through devices in /dev/ocxl/.
25
26	  For more information, see http://opencapi.org.
27
28	  This is not to be confused with the support for IBM CAPI
29	  accelerators (CONFIG_CXL), which are PCI-based instead of a
30	  dedicated OpenCAPI link, and don't follow the same protocol.
31
32	  If unsure, say N.
33