diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/cxl/Kconfig | 17 | ||||
-rw-r--r-- | drivers/misc/cxl/Makefile | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig index 5cdd3199f97d..a990b39b4dfb 100644 --- a/drivers/misc/cxl/Kconfig +++ b/drivers/misc/cxl/Kconfig | |||
@@ -6,3 +6,20 @@ config CXL_BASE | |||
6 | bool | 6 | bool |
7 | default n | 7 | default n |
8 | select PPC_COPRO_BASE | 8 | select PPC_COPRO_BASE |
9 | |||
10 | config CXL | ||
11 | tristate "Support for IBM Coherent Accelerators (CXL)" | ||
12 | depends on PPC_POWERNV && PCI_MSI | ||
13 | select CXL_BASE | ||
14 | default m | ||
15 | help | ||
16 | Select this option to enable driver support for IBM Coherent | ||
17 | Accelerators (CXL). CXL is otherwise known as Coherent Accelerator | ||
18 | Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be | ||
19 | coherently attached to a CPU via an MMU. This driver enables | ||
20 | userspace programs to access these accelerators via /dev/cxl/afuM.N | ||
21 | devices. | ||
22 | |||
23 | CAPI adapters are found in POWER8 based systems. | ||
24 | |||
25 | If unsure, say N. | ||
diff --git a/drivers/misc/cxl/Makefile b/drivers/misc/cxl/Makefile index e30ad0ab0cf5..165e98fef2c2 100644 --- a/drivers/misc/cxl/Makefile +++ b/drivers/misc/cxl/Makefile | |||
@@ -1 +1,3 @@ | |||
1 | cxl-y += main.o file.o irq.o fault.o native.o context.o sysfs.o debugfs.o pci.o | ||
2 | obj-$(CONFIG_CXL) += cxl.o | ||
1 | obj-$(CONFIG_CXL_BASE) += base.o | 3 | obj-$(CONFIG_CXL_BASE) += base.o |