]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: prevent read/write from/to the device during hard reset
authorOmer Shpigelman <oshpigelman@habana.ai>
Thu, 14 Nov 2019 18:23:56 +0000 (18:23 +0000)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 21 Nov 2019 09:35:46 +0000 (11:35 +0200)
commitbc75d799f9531fe112f7d78a5547ad549293fb7e
treec9922857a9ab8cb3b5e9ac4c37916019b172c488
parent54bb67444ea3f388756c5955db52ef62eb4ba3b9
habanalabs: prevent read/write from/to the device during hard reset

During hard reset we should not access the device except of necessary
reset operations because the device might be stuck or unresponsive.

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>
drivers/misc/habanalabs/goya/goya.c