aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-11-27 10:58:41 +0100
committerMark Brown <[email protected]>2023-12-01 22:19:13 +0000
commit1ca2761a7734928ffe0678f88789266cf3d05362 (patch)
treeabd0f9072134c6e4e33f1d670d67f549d9f01f5e /tools/perf/scripts/python/net_dropmonitor.py
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
spi: atmel: Do not cancel a transfer upon any signal
The intended move from wait_for_completion_*() to wait_for_completion_interruptible_*() was to allow (very) long spi memory transfers to be stopped upon user request instead of freezing the machine forever as the timeout value could now be significantly bigger. However, depending on the user logic, applications can receive many signals for their own "internal" purpose and have nothing to do with the requested kernel operations, hence interrupting spi transfers upon any signal is probably not a wise choice. Instead, let's switch to wait_for_completion_killable_*() to only catch the "important" signals. This was likely the intended behavior anyway. Fixes: e0205d6203c2 ("spi: atmel: Prevent false timeouts on long transfers") Cc: [email protected] Reported-by: Ronald Wahl <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions