aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-12-22 12:00:10 -0600
committerJakub Kicinski <kuba@kernel.org>2020-12-23 12:17:48 -0800
commit94ad8f3ac6aff5acde3f6c4719997efc61e0dccf (patch)
tree5295ed6fc70bd2a176864a7e5057b08f3549bf44 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent8450e23f142f629e40bd67afc8375c86c7fbf8f1 (diff)
net: ipa: clear pending interrupts before enabling
We enable the completion interrupt for channel or event ring commands only when we issue them. The interrupt is disabled after the interrupt has fired, or after we have timed out waiting for it. If we time out, the command could complete after the interrupt has been disabled, causing a state change in the channel or event ring. The interrupt associated with that state change would be delivered the next time the completion interrupt is enabled. To avoid previous command completions interfering with new commands, clear all pending completion interrupts before re-enabling them for a new command. Fixes: b4175f8731f78 ("net: ipa: only enable GSI event control IRQs when needed") Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions