]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: don't clear previous f/w indications
authorOhad Sharabi <osharabi@habana.ai>
Tue, 26 Oct 2021 07:42:24 +0000 (10:42 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:04 +0000 (08:59 +0200)
commitd6ea564431ddc7250082d32d1e3ed217ad4c8d43
tree52440582e42328e1e02996fcda4fd9cd7f017a7b
parent294b834514181c2037e85d860d3fec8c92fd93ec
habanalabs: don't clear previous f/w indications

Once we read indication of whether f/w is doing the reset, we don't
want to clear it, until the next time we read this indication.

Otherwise, we might be in a state of wrong indication.

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