habanalabs: load linux image to device
authorOhad Sharabi <osharabi@habana.ai>
Thu, 22 Apr 2021 07:01:22 +0000 (10:01 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:39 +0000 (15:23 +0300)
commitb31e59bc55435fd2e43817344dfaea85219e39a4
treee0bd956106d030dc4e92c29aa0075e6ba1f42abf
parent8a43c83fec120185db1308a2641a310d15243a79
habanalabs: load linux image to device

Implementing dynamic linux image load to the device.
This patch also implements the FW communication steps during the
boot-fit.
This patch also enables the dynamic protocol based on the compatibility
flag.

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/firmware_if.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c