habanalabs: don't wait for ASIC CPU after reset
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 24 Mar 2020 08:45:58 +0000 (10:45 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 17 May 2020 09:06:22 +0000 (12:06 +0300)
commit3ec499c967ae507c184c2e0955360d139fc9f23d
treea7659b44864fe759d6d86e38c5d324ee62628997
parent57c76221d5af648c8355a55c09b050c5d8d38189
habanalabs: don't wait for ASIC CPU after reset

Upon reset of the ASIC, the driver would have waited for the CPU to come
out of reset before finishing the reset process. This was done for the
purpose of making the CPU available to answer FLR requests. However, when a
VM shuts down, the driver isn't removed so a reset never happens.
Therefore, remove this waiting period as we don't need it.

Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/goya/goyaP.h