18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Open Coherent Accelerator (OCXL) compatible devices
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig OCXL_BASE
78c2ecf20Sopenharmony_ci	bool
88c2ecf20Sopenharmony_ci	select PPC_COPRO_BASE
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciconfig OCXL
118c2ecf20Sopenharmony_ci	tristate "OpenCAPI coherent accelerator support"
128c2ecf20Sopenharmony_ci	depends on HOTPLUG_PCI_POWERNV
138c2ecf20Sopenharmony_ci	select OCXL_BASE
148c2ecf20Sopenharmony_ci	default m
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  Select this option to enable the ocxl driver for Open
178c2ecf20Sopenharmony_ci	  Coherent Accelerator Processor Interface (OpenCAPI) devices.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	  OpenCAPI allows FPGA and ASIC accelerators to be coherently
208c2ecf20Sopenharmony_ci	  attached to a CPU over an OpenCAPI link.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  The ocxl driver enables userspace programs to access these
238c2ecf20Sopenharmony_ci	  accelerators through devices in /dev/ocxl/.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	  For more information, see https://opencapi.org.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  This is not to be confused with the support for IBM CAPI
288c2ecf20Sopenharmony_ci	  accelerators (CONFIG_CXL), which are PCI-based instead of a
298c2ecf20Sopenharmony_ci	  dedicated OpenCAPI link, and don't follow the same protocol.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci	  If unsure, say N.
32