diff options
author | farah kassabri <fkassabri@habana.ai> | 2021-03-30 16:38:02 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-04-09 14:09:24 +0300 |
commit | e65448faf4cfeddd95a0e661aabf2fae1efc9831 (patch) | |
tree | 1325e0095a976d711b446db5455dde395cee6902 /kernel/configs.c | |
parent | cf39395034c6b927d49abe554fb4e93730d00543 (diff) |
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/configs.c')
0 files changed, 0 insertions, 0 deletions