habanalabs: ignore F/W BMC errors in case no BMC present
authorOfir Bitton <obitton@habana.ai>
Sun, 10 Jan 2021 08:34:42 +0000 (10:34 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:50 +0000 (21:03 +0200)
commiteea4c2557cb986584c4960eb15dd17cb3f4f99a2
treeaccfbe9e394f77c2a51fb6de6558737eb612cd62
parentf8bc7f091cc0ef115bd284e68df247b56c422d93
habanalabs: ignore F/W BMC errors in case no BMC present

In order to support operation mode in which BMC is not active,
driver must not take BMC errors into consideration.

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