diff options
author | Johannes Berg <[email protected]> | 2023-12-15 11:13:34 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-12-18 18:41:48 +0200 |
commit | 400f6ebbc175286576c7f7fddf3c347d09d12310 (patch) | |
tree | 1526a45ae75ffb1ec41ef34d59ebef3a29bd8f58 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 3c2a8ebe3fe66a5f77d4c164a0bea8e2ff37b455 (diff) |
wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
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 <[email protected]>
Reviewed-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/20231215111335.59aab00baed7.Iadfe154d6248e7f9dfd69522e5429dbbd72925d7@changeid
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions