commit | 28bcf1fdc408cd2f7393ae5dcd71c756e1163cdb | [log] [tgz] |
---|---|---|
author | Oded Gabbay <ogabbay@kernel.org> | Mon Feb 01 21:23:43 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Feb 08 18:20:08 2021 +0200 |
tree | a6bd3294d412e9f22339f77e5e33544e77b0f6fb | |
parent | b520ca5d82f69ac28ca3d57f001430c203487cb3 [diff] |
habanalabs: enable F/W events after init done Only after the initialization of the device is done, the driver is ready to receive events from the F/W. The driver can't handle events before that because of races so it will ignore events. In case of a fatal event, the driver won't know about it and the device will be operational although it shouldn't be. Same logic should be applied after hard-reset. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>