]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: disable IEOB interrupts before clearing
authorAlex Elder <elder@linaro.org>
Thu, 21 Jan 2021 11:48:21 +0000 (05:48 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 21:16:00 +0000 (13:16 -0800)
commit7bd9785f683a7dafd8ea59a863a614da685d92f7
treedf7ce15516fa77a8c134146282cff96aada52120
parent5725593e6f182607993364f56ab1c0468d68016f
net: ipa: disable IEOB interrupts before clearing

Currently in gsi_isr_ieob(), event ring IEOB interrupts are disabled
one at a time.  The loop disables the IEOB interrupt for all event
rings represented in the event mask.  Instead, just disable them all
at once.

Disable them all *before* clearing the interrupt condition.  This
guarantees we'll schedule NAPI for each event once, before another
IEOB interrupt could be signaled.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c