diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 14:56:38 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 16:11:39 +0200 |
commit | af9d34abf54a196d7aac88d87bd2925727889bb1 (patch) | |
tree | db21bffa7e0ef8237e35357c50876d52ee6b0cb8 /drivers/acpi/acpica/psopcode.c | |
parent | 111ed1eb175754a9ef11811240329ca40db2072f (diff) |
wifi: iwlwifi: pcie: give up mem read if HW is dead
If the hardware is not responding, as indicated by (currently)
five consecutive HW errors during reading, then just give up
and fail, rather than attempting forever and forever for this
to not return any useful data anyway.
Even though we no longer completely deadlock the machine if it
takes a long time, we still make it pretty much unusable since
we'll eventually hold the RTNL while waiting for this process
to finish.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230913145231.345af79f431c.I5ecde6b76b1e3a1572bd59d3cf8f827e767cedeb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psopcode.c')
0 files changed, 0 insertions, 0 deletions