Commit fb1b67b1 authored by Oded Gabbay's avatar Oded Gabbay Committed by Zheng Zengkai
Browse files

habanalabs: register to pci shutdown callback



stable inclusion
from stable-5.10.9
commit c78cff56baad24ebb10d748e1a1b78bae203debe
bugzilla: 47457

--------------------------------

[ Upstream commit fcaebc73 ]

We need to make sure our device is idle when rebooting a virtual
machine. This is done in the driver level.

The firmware will later handle FLR but we want to be extra safe and
stop the devices until the FLR is handled.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent a631df0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment