summaryrefslogtreecommitdiff
path: root/kernel/taskstats.c
diff options
context:
space:
mode:
authorfarah kassabri <fkassabri@habana.ai>2021-03-30 16:38:02 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-04-09 14:09:24 +0300
commite65448faf4cfeddd95a0e661aabf2fae1efc9831 (patch)
tree1325e0095a976d711b446db5455dde395cee6902 /kernel/taskstats.c
parentcf39395034c6b927d49abe554fb4e93730d00543 (diff)
downloadlinux-e65448faf4cfeddd95a0e661aabf2fae1efc9831.tar.xz
habanalabs/gaudi: sync stream add protection to SOB reset flow
Since we moved the SOB reset flow to workqueue and not part of the fence release flow, we might reach a scenario where new context is created while we in the middle of resetting the SOB. in such cases the reset may fail due to idle check. This will mess up the streams sync since the SOB value is invalid. so we protect this area with a mutex, to delay context creation. Signed-off-by: farah kassabri <fkassabri@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions