commit | 23c3efd1fb0eb19b9e39eeb07515b167f6d4517a | [log] [tgz] |
---|---|---|
author | Oded Gabbay <ogabbay@kernel.org> | Tue Feb 16 22:46:17 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Fri Apr 09 14:09:22 2021 +0300 |
tree | 37ca8c1c03e69d456213d106e0b1fe1d283bc289 | |
parent | 35862d1c99471e3a03175e94d267815a0921e9ca [diff] |
habanalabs: fail reset if device is not idle After any reset (soft or hard) the device (the engines/QMANs) should be idle. If they are not idle, fail the reset. If it is soft-reset, the driver will try to do hard-reset automatically. If it is hard-reset, the driver will make the device non-operational. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>