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