]> git.ipfire.org Git - thirdparty/linux.git/commit
accel/habanalabs: add support for Gaudi2C device
authorOded Gabbay <ogabbay@kernel.org>
Mon, 30 Oct 2023 10:23:57 +0000 (12:23 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 19 Dec 2023 09:09:43 +0000 (11:09 +0200)
commit42422993cf28d456778ee9168d73758ec037cd51
tree61db84b59ecd41f7ee72f1eff9f7828c5020c803
parente8bc0c1b1b730eb8759f5305ebd2d6876952e539
accel/habanalabs: add support for Gaudi2C device

Gaudi2 with PCI revision ID with the value of '3' represents Gaudi2C
device and should be detected and initialized as Gaudi2.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/device.c
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/habanalabs_drv.c
drivers/accel/habanalabs/common/mmu/mmu.c
drivers/accel/habanalabs/common/sysfs.c
drivers/accel/habanalabs/include/hw_ip/pci/pci_general.h