OSDN Git Service

habanalabs: add current PI value to cpu packets
authorOfir Bitton <obitton@habana.ai>
Wed, 8 Dec 2021 19:46:29 +0000 (21:46 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:09 +0000 (08:59 +0200)
commit9acdc21b0b04f370c306b7d95c296c7f22660fc0
tree5ab063563dc2def88a80c13975dffc92b3d1bba9
parent7363805b8a52c9f5650f957a34a30788cc7ce4c2
habanalabs: add current PI value to cpu packets

In order to increase cpucp messaging reliability we will add
the current PI value to the descriptor sent to F/W.
F/W will wait for the PI value as an indication of a valid packet.

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