blob: b75cf830d08ac8e21190d576d53a4020e4d100e6 [file] [log] [blame]
Ian Munsie10542ca2014-10-08 19:55:01 +11001#
2# IBM Coherent Accelerator (CXL) compatible devices
3#
4
5config CXL_BASE
6 bool
7 default n
8 select PPC_COPRO_BASE
Ian Munsie881632c2014-10-08 19:55:04 +11009
Philippe Bergheaudb8102532016-06-23 15:03:53 +020010config CXL_AFU_DRIVER_OPS
11 bool
12 default n
13
Ian Munsie881632c2014-10-08 19:55:04 +110014config CXL
15 tristate "Support for IBM Coherent Accelerators (CXL)"
Daniel Axtens25901632015-08-14 17:41:27 +100016 depends on PPC_POWERNV && PCI_MSI && EEH
Ian Munsie881632c2014-10-08 19:55:04 +110017 select CXL_BASE
Philippe Bergheaudb8102532016-06-23 15:03:53 +020018 select CXL_AFU_DRIVER_OPS
Ian Munsie881632c2014-10-08 19:55:04 +110019 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 Donnellanb0b5e592016-07-14 07:17:14 +100031
32config 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.