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