summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/Kconfig
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-02-16 00:39:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-18 09:46:43 +0100
commitc4d66343a46a4931d6a547042198896e4fd1c592 (patch)
tree332ec9c14d265a7a9b71bf8b7240277f176149a0 /drivers/misc/habanalabs/Kconfig
parent26528be6720bb40bc8844e97ee73a37e530e9c5e (diff)
downloadlwn-c4d66343a46a4931d6a547042198896e4fd1c592.tar.gz
lwn-c4d66343a46a4931d6a547042198896e4fd1c592.zip
habanalabs: add skeleton driver
This patch adds the habanalabs skeleton driver. The driver does nothing at this stage except very basic operations. It contains the minimal code to insmod and rmmod the driver and to create a /dev/hlX file per PCI device. Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/Kconfig')
-rw-r--r--drivers/misc/habanalabs/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/Kconfig b/drivers/misc/habanalabs/Kconfig
new file mode 100644
index 000000000000..b7f38a14caf5
--- /dev/null
+++ b/drivers/misc/habanalabs/Kconfig
@@ -0,0 +1,22 @@
+#
+# HabanaLabs AI accelerators driver
+#
+
+config HABANA_AI
+ tristate "HabanaAI accelerators (habanalabs)"
+ depends on PCI
+ select FRAME_VECTOR
+ help
+ Enables PCIe card driver for Habana's AI Processors (AIP) that are
+ designed to accelerate Deep Learning inference and training workloads.
+
+ The driver manages the PCIe devices and provides IOCTL interface for
+ the user to submit workloads to the devices.
+
+ The user-space interface is described in
+ include/uapi/misc/habanalabs.h
+
+ If unsure, say N.
+
+ To compile this driver as a module, choose M here: the
+ module will be called habanalabs.