David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | # |
| 3 | # IBM Coherent Accelerator (CXL) compatible devices |
| 4 | # |
| 5 | |
| 6 | config CXL_BASE |
| 7 | bool |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 8 | select PPC_COPRO_BASE |
| 9 | |
| 10 | config CXL_AFU_DRIVER_OPS |
| 11 | bool |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | |
| 13 | config CXL_LIB |
| 14 | bool |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 15 | |
| 16 | config CXL |
| 17 | tristate "Support for IBM Coherent Accelerators (CXL)" |
| 18 | depends on PPC_POWERNV && PCI_MSI && EEH |
| 19 | select CXL_BASE |
| 20 | select CXL_AFU_DRIVER_OPS |
| 21 | select CXL_LIB |
| 22 | default m |
| 23 | help |
| 24 | Select this option to enable driver support for IBM Coherent |
| 25 | Accelerators (CXL). CXL is otherwise known as Coherent Accelerator |
| 26 | Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be |
| 27 | coherently attached to a CPU via an MMU. This driver enables |
| 28 | userspace programs to access these accelerators via /dev/cxl/afuM.N |
| 29 | devices. |
| 30 | |
| 31 | CAPI adapters are found in POWER8 based systems. |
| 32 | |
| 33 | If unsure, say N. |