diff options
author | Tomer Tayar <ttayar@habana.ai> | 2022-12-04 23:09:08 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-01-26 11:56:22 +0300 |
commit | dd7a82b52cc16c110269c608533ec1ee47d342fd (patch) | |
tree | 9fe7473bbf5bca04b1465dc74ff13c8f6ddca98e /scripts/gdb/linux/proc.py | |
parent | 5f8ee3c98ed31b60bffdd332d38ff3a27b9f2609 (diff) | |
download | linux-dd7a82b52cc16c110269c608533ec1ee47d342fd.tar.xz |
habanalabs: fix handling of wait CS for interrupting signals
The -ERESTARTSYS return value is not handled correctly when a signal is
received while waiting for CS completion.
This can lead to bad output values to user when waiting for a single CS
completion, and more severe, it can cause a non-stopping loop when
waiting to multi-CS completion and until a CS timeout.
Fix the handling and exit the waiting if this return value is received.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions