]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: adding indication of boot fit loaded
authorOhad Sharabi <osharabi@habana.ai>
Thu, 21 Oct 2021 08:24:41 +0000 (11:24 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:04 +0000 (08:59 +0200)
commit76dcb610467be4ef9f28ddd4b3d759ff35a80a3a
treef36a659c40449becb300b6ff2f419d1a6cc1bb66
parentdd98c5d4f2e2904e8fc638134e0f66d020d42f00
habanalabs: adding indication of boot fit loaded

Up until now the driver stored indication if Linux was loaded on the
device CPU. This was needed in order to coordinate some tasks that are
performed by the Linux.

In future ASICs, many of those tasks will be performed by the boot
fit, so now we need the same indication of boot fit load status.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/firmware_if.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c