Skip to content
Commit a63c3fb3 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

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: default avatarOded Gabbay <ogabbay@kernel.org>
parent ee328779
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment