diff options
author | Ofir Bitton <obitton@habana.ai> | 2021-11-23 16:15:22 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 15:42:11 +0300 |
commit | 42eb2872e0867679c996bb19ee9063e6141fa974 (patch) | |
tree | 54f11b2c2a27fa3e0060daf984d7a18a739a93a5 /scripts/gdb/linux/utils.py | |
parent | eb135291912f7554e2a2472befc44818098baa8d (diff) | |
download | linux-42eb2872e0867679c996bb19ee9063e6141fa974.tar.xz |
habanalabs: add a lock to protect multiple reset variables
Atomic operations during reset are replaced by a spinlock in order
to have the ability to protect more than a single variable.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions