]> git.karo-electronics.de Git - linux-beck.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)
commit01911dab97cb3e21e640aaca82689acec00ed848
tree504aebb3336446a58ab38c2c425a3a6449255853
parent68972c46f2975d3d61f9dc9f311f77bfc8a8b12b
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