Ian Munsie | 10542ca | 2014-10-08 19:55:01 +1100 | [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 |
Ian Munsie | 881632c | 2014-10-08 19:55:04 +1100 | [diff] [blame] | 9 | |
Philippe Bergheaud | b810253 | 2016-06-23 15:03:53 +0200 | [diff] [blame] | 10 | config CXL_AFU_DRIVER_OPS |
| 11 | bool |
| 12 | default n |
| 13 | |
Ian Munsie | 881632c | 2014-10-08 19:55:04 +1100 | [diff] [blame] | 14 | config CXL |
| 15 | tristate "Support for IBM Coherent Accelerators (CXL)" |
Daniel Axtens | 2590163 | 2015-08-14 17:41:27 +1000 | [diff] [blame] | 16 | depends on PPC_POWERNV && PCI_MSI && EEH |
Ian Munsie | 881632c | 2014-10-08 19:55:04 +1100 | [diff] [blame] | 17 | select CXL_BASE |
Philippe Bergheaud | b810253 | 2016-06-23 15:03:53 +0200 | [diff] [blame] | 18 | select CXL_AFU_DRIVER_OPS |
Ian Munsie | 881632c | 2014-10-08 19:55:04 +1100 | [diff] [blame] | 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. |
Andrew Donnellan | b0b5e59 | 2016-07-14 07:17:14 +1000 | [diff] [blame] | 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. |