accel/habanalabs: don't wait for STS_OK after sending COMMS WFE
authorKoby Elbaz <kelbaz@habana.ai>
Sun, 26 Mar 2023 15:22:57 +0000 (18:22 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sat, 8 Apr 2023 07:39:34 +0000 (10:39 +0300)
commitc19350efa9dae7f4474d7847ab7d6e667082fd18
tree7ad026151127ba4755423b33cb764192d5fc2bc0
parent802f25b6c2c0377c681dd1e4f799a648c3df50dd
accel/habanalabs: don't wait for STS_OK after sending COMMS WFE

Sending COMMS_GOTO_WFE instructs the FW's CPU to halt (WFE state).
Once sent, FW's CPU isn't expected to continue communicating with LKD.
Therefore, the stage of waiting for COMMS_STS_OK should be skipped or
else waiting for COMMS_STS_OK will simply timeout, which will trigger
unexpected behavior.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/firmware_if.c