]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: don't read INTA register in ICT IRQ handler
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 19:12:29 +0000 (21:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Jun 2013 10:02:37 +0000 (12:02 +0200)
commitdde37bd063e9d016012e707dff94065b7fe78dbf
tree504aebb3336446a58ab38c2c425a3a6449255853
parentfea6b0049c88955d077050ba6e7ca864df5da962
iwlwifi: pcie: don't read INTA register in ICT IRQ handler

There's no reason to read the INTA register in the ICT IRQ
handler, this interrupt mechanism is designed to not have
to read as many registers as the regular one. Not reading
the INTA register gives a significant performance/CPU use
improvement.

Since we still want to get this info, fetch it only if
the ISR debug level is enabled.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c