diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2020-11-26 18:11:05 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:37 +0200 |
commit | a63c3fb37b157b56d713a386dc024bf6deb9c7cf (patch) | |
tree | 8ac258b1b1f2703a2997208d7b87d6abd09d1ebe /drivers/net/wireguard/ratelimiter.c | |
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>
Diffstat (limited to 'drivers/net/wireguard/ratelimiter.c')
0 files changed, 0 insertions, 0 deletions