]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 21 May 2019 12:03:21 +0000 (15:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:12:57 +0000 (09:12 +0200)
commitcbee0a113f7eda260a62737b31bddddf15e2ea41
tree8399945fa4e12f8a01988922ecb7184d8fcb9087
parentfce4419df4c683b2f7e864e0278b40d2d1e13600
iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X

commit ec46ae30245ecb41d73f8254613db07c653fb498 upstream.

We added code to restock the buffer upon ALIVE interrupt
when MSI-X is disabled. This was added as part of the context
info code. This code was added only if the ISR debug level
is set which is very unlikely to be related.
Move this code to run even when the ISR debug level is not
set.

Note that gen2 devices work with MSI-X in most cases so that
this path is seldom used.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c