Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > On older devices (before unified image!) we can end up calling > stop_device from an rfkill interrupt. However, in stop_device > we attempt to synchronize IRQs, which then of course deadlocks. > > Avoid this by checking the context, if running from the IRQ > thread then don't synchronize. This wouldn't be correct on a > new device since RSS is supported, but older devices only have > a single interrupt/queue. > > Fixes: 37fb29bd1f90 ("wifi: iwlwifi: pcie: synchronize IRQs before NAPI") > Reviewed-by: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx> > Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx> > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Patch applied to wireless.git, thanks. 400f6ebbc175 wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ -- https://patchwork.kernel.org/project/linux-wireless/patch/20231215111335.59aab00baed7.Iadfe154d6248e7f9dfd69522e5429dbbd72925d7@changeid/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches