]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca8985b4797d93083f8dc251d329f7f34c09a77c
tree3d9804259904ed2ea3f0f90c1dea4b2220c6d817
parent7c78c62e36cef05c4756d1c200342659091a4020
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