Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# IBM Coherent Accelerator (CXL) compatible devices
4#
5
6config CXL_BASE
7 bool
8 select PPC_COPRO_BASE
9 select PPC_64S_HASH_MMU
10
11config CXL
12 tristate "Support for IBM Coherent Accelerators (CXL)"
13 depends on PPC_POWERNV && PCI_MSI && EEH
14 select CXL_BASE
15 default m
16 help
17 Select this option to enable driver support for IBM Coherent
18 Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
19 Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be
20 coherently attached to a CPU via an MMU. This driver enables
21 userspace programs to access these accelerators via /dev/cxl/afuM.N
22 devices.
23
24 CAPI adapters are found in POWER8 based systems.
25
26 If unsure, say N.
1#
2# IBM Coherent Accelerator (CXL) compatible devices
3#
4
5config CXL_BASE
6 bool
7 default n
8 select PPC_COPRO_BASE
9
10config CXL_AFU_DRIVER_OPS
11 bool
12 default n
13
14config CXL_LIB
15 bool
16 default n
17
18config 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.
36
37config CXL_BIMODAL
38 bool "Support for bi-modal CAPI cards"
39 depends on HOTPLUG_PCI_POWERNV = y && CXL || HOTPLUG_PCI_POWERNV = m && CXL = m
40 default y
41 help
42 Select this option to enable support for bi-modal CAPI cards, such as
43 the Mellanox CX-4.