]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cxl: Add driver to Kbuild and Makefiles
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 8 Oct 2014 08:55:04 +0000 (19:55 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Oct 2014 09:15:58 +0000 (20:15 +1100)
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/Kconfig
drivers/misc/cxl/Makefile

index 5cdd3199f97d708e1d6a7e5c8c9cba5ffe892b7b..a990b39b4dfb8716da5bb121f03ae241071ad33e 100644 (file)
@@ -6,3 +6,20 @@ config CXL_BASE
        bool
        default n
        select PPC_COPRO_BASE
+
+config CXL
+       tristate "Support for IBM Coherent Accelerators (CXL)"
+       depends on PPC_POWERNV && PCI_MSI
+       select CXL_BASE
+       default m
+       help
+         Select this option to enable driver support for IBM Coherent
+         Accelerators (CXL).  CXL is otherwise known as Coherent Accelerator
+         Processor Interface (CAPI).  CAPI allows accelerators in FPGAs to be
+         coherently attached to a CPU via an MMU.  This driver enables
+         userspace programs to access these accelerators via /dev/cxl/afuM.N
+         devices.
+
+         CAPI adapters are found in POWER8 based systems.
+
+         If unsure, say N.
index e30ad0ab0cf55e91dba0b231f1568870febae97f..165e98fef2c2d3682429c8a05d10a62e2c55be49 100644 (file)
@@ -1 +1,3 @@
+cxl-y                          += main.o file.o irq.o fault.o native.o context.o sysfs.o debugfs.o pci.o
+obj-$(CONFIG_CXL)              += cxl.o
 obj-$(CONFIG_CXL_BASE)         += base.o