• J
    iwlwifi: use threaded interrupt handler · 2bfb5092
    Johannes Berg 提交于
    With new transports coming up, move to threaded
    interrupt handling now. This has the advantage
    that we can use the same locking scheme with all
    different transports we may need to implement.
    
    Note that the TX path obviously still runs in a
    tasklet, so some spin_lock() calls need to change
    to spin_lock_bh() calls to properly lock out the
    TX path.
    
    In my test on a Calpella platform this has no
    impact on throughput or latency.
    
    Also add lockdep annotations to avoid lockups due
    to catch sending synchronous commands or using
    locks that connect with them from the irq thread.
    Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
    2bfb5092
trans.c 44.3 KB