habanalabs: remove stop-on-error flag from DMA
authorOmer Shpigelman <oshpigelman@habana.ai>
Sun, 22 Mar 2020 19:12:51 +0000 (21:12 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 17 May 2020 09:06:22 +0000 (12:06 +0300)
commit76cedc739d7aac461ae303ca0e8b3a81e6ae00aa
tree3d9804259904ed2ea3f0f90c1dea4b2220c6d817
parent3ec499c967ae507c184c2e0955360d139fc9f23d
habanalabs: remove stop-on-error flag from DMA

Stop-on-error mode in DMA is useful as it stops the transaction
immediately upon error e.g. page fault.
But it may cause the next command submission to fail as is leaves the DMA
in unstable state.
Therefore we remove the stop-on-error configuration from the DMA.
Stop-on-err is still available for debug.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Documentation/ABI/testing/debugfs-driver-habanalabs
drivers/misc/habanalabs/debugfs.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/habanalabs.h
drivers/misc/habanalabs/include/goya/asic_reg/goya_masks.h