summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2022-11-30 15:26:10 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-01-26 11:56:22 +0300
commitf304d1309cf243960f293681d7bc0fcc05088a8c (patch)
treef4460e49bf94efb546f9d1641f35fb4433731ab2 /.cocciconfig
parent7df5319a239a50d3b2ac6d416cbe53a187d86b8d (diff)
downloadlinux-f304d1309cf243960f293681d7bc0fcc05088a8c.tar.xz
habanalabs/gaudi2: wait for preboot ready if HW state is dirty
Instead of waiting for BTM indication we should wait for preboot ready. Consider the below scenario: 1. FW update is being triggered - setting the dirty bit 2. hard reset will be triggered due to the dirty bit 3. FW initiates the reset: - dirty bit cleared - BTM indication cleared - preboot ready indication cleared 4. during hard reset: - BTM indication will be set - BIST test performed and another reset triggered 5. only after this reset the preboot will set the preboot ready When polling on BTM indication alone we can lose sync with FW while trying to communicate with FW that is during reset. To overcome this we will always wait to preboot ready indication. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions