linux/drivers/net/wireless/intel/iwlwifi/pcie
Johannes Berg af9d34abf5 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>
2023-09-13 16:11:39 +02:00
..
ctxt-info-gen3.c wifi: iwlwifi: Enable loading of reduce-power tables into several segments 2023-06-06 13:44:52 +02:00
ctxt-info.c wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
drv.c wifi: iwlwifi: pcie: avoid a warning in case prepare card failed 2023-08-22 13:19:52 +02:00
internal.h wifi: iwlwifi: pcie: fix RB status reading 2023-09-11 12:36:29 +02:00
rx.c wifi: iwlwifi: pcie: fix RB status reading 2023-09-11 12:36:29 +02:00
trans-gen2.c wifi: iwlwifi: pcie: double-check ACK interrupt after timeout 2023-06-19 12:05:25 +02:00
trans.c wifi: iwlwifi: pcie: give up mem read if HW is dead 2023-09-13 16:11:39 +02:00
tx-gen2.c iwlwifi: de-const properly where needed 2022-02-18 10:40:50 +02:00
tx.c wifi: iwlwifi: pcie: move gen1 TB handling to header 2023-08-22 13:19:24 +02:00