]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b4e146a76805faf0c4ef5ecde1b25a1be86a8c2
tree5ab063563dc2def88a80c13975dffc92b3d1bba9
parentb84ef847b47adc24c8cd74da7684cbd6da4cb495
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