]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: improve communication protocol with cpucp
authorOfir Bitton <obitton@habana.ai>
Thu, 28 Jan 2021 14:30:25 +0000 (16:30 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 8 Feb 2021 16:20:08 +0000 (18:20 +0200)
commitd735662314e77bdae80394c82bde24f4690d958e
treef356ec10cf6ca9f7a9ae591b44b243491a8c7a70
parente78a246a515611e612b5971bce7b1d44d09a0ecd
habanalabs: improve communication protocol with cpucp

Current messaging communictaion protocol with cpucp can get out
of sync due to coherency issues. In order to improve the protocol
reliability, we modify the protocol to expect a different
acknowledgment for every packet sent to cpucp.

Signed-off-by: Ofir Bitton <obitton@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
drivers/misc/habanalabs/include/common/hl_boot_if.h