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