diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-12-23 12:17:50 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-23 12:17:51 -0800 |
commit | 6313138619f398666212577f8b4f0ddf215a2bed (patch) | |
tree | 6c22041443915b6f694c275062603eb4d831aa9b /kernel/static_call.c | |
parent | 8450e23f142f629e40bd67afc8375c86c7fbf8f1 (diff) | |
parent | 428b448ee764a264b7a2eeed295b282755114aa7 (diff) |
Merge branch 'net-ipa-gsi-interrupt-handling-fixes'
Alex Elder says:
====================
net: ipa: GSI interrupt handling fixes
This series implements fixes for some issues related to handling
interrupts when GSI channel and event ring commands complete.
The first issue is that the completion condition for an event ring
or channel command could occur while the associated interrupt is
disabled. This would cause the interrupt to fire when it is
subsequently enabled, even if the condition it signals had already
been handled. The fix is to clear any pending interrupt conditions
before re-enabling the interrupt.
The second and third patches change how the success of an event ring
or channel command is determined. These commands change the state
of an event ring or channel. Previously the receipt of a completion
interrupt was required to consider a command successful. Instead, a
command is successful if it changes the state of the target event
ring or channel in the way expected. This way the command can
succeed even if the completion interrupt did not arrive while it was
enabled.
====================
Link: https://lore.kernel.org/r/20201222180012.22489-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/static_call.c')
0 files changed, 0 insertions, 0 deletions