mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
f6fb34390c
Fix the following build/link error by adding a dependency on the CRC32
routines:
ld: drivers/misc/habanalabs/common/firmware_if.o: in function `hl_fw_dynamic_request_descriptor':
firmware_if.c:(.text.unlikely+0xc89): undefined reference to `crc32_le'
Fixes: 8a43c83fec
("habanalabs: load boot fit to device")
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
27 lines
722 B
Plaintext
27 lines
722 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# HabanaLabs AI accelerators driver
|
|
#
|
|
|
|
config HABANA_AI
|
|
tristate "HabanaAI accelerators (habanalabs)"
|
|
depends on PCI && HAS_IOMEM
|
|
select GENERIC_ALLOCATOR
|
|
select HWMON
|
|
select DMA_SHARED_BUFFER
|
|
select CRC32
|
|
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.
|