]> 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)
commit31dede31b5b97b33e90b84d682cf276405841634
tree504aebb3336446a58ab38c2c425a3a6449255853
parent1bb5a37673b4b88d8ad8496fae6cdb748bc1d56e
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