162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Open Coherent Accelerator (OCXL) compatible devices
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig OCXL_BASE
762306a36Sopenharmony_ci	bool
862306a36Sopenharmony_ci	select PPC_COPRO_BASE
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig OCXL
1162306a36Sopenharmony_ci	tristate "OpenCAPI coherent accelerator support"
1262306a36Sopenharmony_ci	depends on HOTPLUG_PCI_POWERNV
1362306a36Sopenharmony_ci	select OCXL_BASE
1462306a36Sopenharmony_ci	default m
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  Select this option to enable the ocxl driver for Open
1762306a36Sopenharmony_ci	  Coherent Accelerator Processor Interface (OpenCAPI) devices.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  OpenCAPI allows FPGA and ASIC accelerators to be coherently
2062306a36Sopenharmony_ci	  attached to a CPU over an OpenCAPI link.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	  The ocxl driver enables userspace programs to access these
2362306a36Sopenharmony_ci	  accelerators through devices in /dev/ocxl/.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  For more information, see https://opencapi.org.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  This is not to be confused with the support for IBM CAPI
2862306a36Sopenharmony_ci	  accelerators (CONFIG_CXL), which are PCI-based instead of a
2962306a36Sopenharmony_ci	  dedicated OpenCAPI link, and don't follow the same protocol.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	  If unsure, say N.
32