RE: locking in wimax/i2400m

2018-06-11 Thread Perez-Gonzalez, Inaky
Hello Sebastian Thanks for checking this out, SA> I tried to figure out if the URB-completion handler uses any SA> locking and stumbled here. SA> i2400m_pm_notifier() is called from process context. This SA> function invokes i2400m_fw_cache() + i2400m_fw_uncache(). Both SA> f

locking in wimax/i2400m

2018-06-11 Thread Sebastian Andrzej Siewior
I tried to figure out if the URB-completion handler uses any locking and stumbled here. i2400m_pm_notifier() is called from process context. This function invokes i2400m_fw_cache() + i2400m_fw_uncache(). Both functions do spin_lock(&i2400m->rx_lock); while in other places (say i2400mu_rxd