0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Open Coherent Accelerator (OCXL) compatible devices
0004 #
0005
0006 config OCXL_BASE
0007 bool
0008 select PPC_COPRO_BASE
0009
0010 config OCXL
0011 tristate "OpenCAPI coherent accelerator support"
0012 depends on HOTPLUG_PCI_POWERNV
0013 select OCXL_BASE
0014 default m
0015 help
0016 Select this option to enable the ocxl driver for Open
0017 Coherent Accelerator Processor Interface (OpenCAPI) devices.
0018
0019 OpenCAPI allows FPGA and ASIC accelerators to be coherently
0020 attached to a CPU over an OpenCAPI link.
0021
0022 The ocxl driver enables userspace programs to access these
0023 accelerators through devices in /dev/ocxl/.
0024
0025 For more information, see https://opencapi.org.
0026
0027 This is not to be confused with the support for IBM CAPI
0028 accelerators (CONFIG_CXL), which are PCI-based instead of a
0029 dedicated OpenCAPI link, and don't follow the same protocol.
0030
0031 If unsure, say N.