^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) # IBM Coherent Accelerator (CXL) 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 CXL_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 CXL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) tristate "Support for IBM Coherent Accelerators (CXL)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) depends on PPC_POWERNV && PCI_MSI && EEH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select CXL_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 driver support for IBM Coherent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) coherently attached to a CPU via an MMU. This driver enables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) userspace programs to access these accelerators via /dev/cxl/afuM.N
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) CAPI adapters are found in POWER8 based systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) If unsure, say N.