]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: increase h/w timer when checking idle
authorOmer Shpigelman <oshpigelman@habana.ai>
Tue, 16 Jun 2020 14:56:27 +0000 (17:56 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 24 Jun 2020 09:35:23 +0000 (12:35 +0300)
commit341341b29c4f4bd8c654aca9c639a449d56b8029
tree043b76341d8899db2f941d06247a0b04f4880a30
parent80bde2d066f47ec64430f00655707e8fb0b625e4
habanalabs: increase h/w timer when checking idle

In GAUDI the current timer value for the hardware to check if it is
in IDLE state is too low. As a result, there are occasions where the H/W
wrongly reports it is not IDLE. The driver checks that before submitting
work on behalf of the driver during initialization, so a false report might
cause the driver to fail during device initialization.

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