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