Commit | Line | Data |
---|---|---|
10542ca0 IM |
1 | # |
2 | # IBM Coherent Accelerator (CXL) compatible devices | |
3 | # | |
4 | ||
5 | config CXL_BASE | |
6 | bool | |
7 | default n | |
8 | select PPC_COPRO_BASE | |
881632c9 | 9 | |
b810253b PB |
10 | config CXL_AFU_DRIVER_OPS |
11 | bool | |
12 | default n | |
13 | ||
881632c9 IM |
14 | config CXL |
15 | tristate "Support for IBM Coherent Accelerators (CXL)" | |
25901632 | 16 | depends on PPC_POWERNV && PCI_MSI && EEH |
881632c9 | 17 | select CXL_BASE |
b810253b | 18 | select CXL_AFU_DRIVER_OPS |
881632c9 IM |
19 | default m |
20 | help | |
21 | Select this option to enable driver support for IBM Coherent | |
22 | Accelerators (CXL). CXL is otherwise known as Coherent Accelerator | |
23 | Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be | |
24 | coherently attached to a CPU via an MMU. This driver enables | |
25 | userspace programs to access these accelerators via /dev/cxl/afuM.N | |
26 | devices. | |
27 | ||
28 | CAPI adapters are found in POWER8 based systems. | |
29 | ||
30 | If unsure, say N. | |
b0b5e591 AD |
31 | |
32 | config CXL_BIMODAL | |
33 | bool "Support for bi-modal CAPI cards" | |
34 | depends on HOTPLUG_PCI_POWERNV = y && CXL || HOTPLUG_PCI_POWERNV = m && CXL = m | |
35 | default y | |
36 | help | |
37 | Select this option to enable support for bi-modal CAPI cards, such as | |
38 | the Mellanox CX-4. |