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