commit | a63c3fb37b157b56d713a386dc024bf6deb9c7cf | [log] [tgz] |
---|---|---|
author | Oded Gabbay <ogabbay@kernel.org> | Thu Nov 26 18:11:05 2020 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Nov 30 10:47:37 2020 +0200 |
tree | 8ac258b1b1f2703a2997208d7b87d6abd09d1ebe | |
parent | ee3287798d49bbe5a9597d51ec914144179c03e8 [diff] |
habanalabs/gaudi: handle reset when f/w is in preboot Currently, if the f/w is in preboot/u-boot they don't perform the new reset mechanism. Therefore, the driver needs to reset the device. To prevent reset of PCI_IF, the driver needs to first configure the reset units. If the security is enabled, the driver can't configure the reset units. In that situation, don't reset the card. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>