linux/drivers/net/wireless/intel/iwlwifi/pcie
Rajat Jain 9a098a89df iwlwifi: pcie: Fail fast if HW is inaccessible at probe
If the HW is not responding at probe time, fail immediately complaining
about it. Without this, we see that the kernel spends > 100ms trying to
load firmware (even gives an incorrect impression that it actually
loaded a firmware) and do unnecesary processing before concluding that
the device is not accessible:

 INFO kernel: [   34.092678] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
 WARNING kernel: [   34.093560] iwlwifi 0000:01:00.0: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
 INFO kernel: [   34.111523] iwlwifi 0000:01:00.0: loaded firmware version 17.318154.0 op_mode iwlmvm
 INFO kernel: [   34.173250] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0xFFFFFFFF
 ERR kernel: [   34.198023] iwlwifi 0000:01:00.0: iwlwifi transaction failed, dumping registers
 ERR kernel: [   34.198044] iwlwifi 0000:01:00.0: iwlwifi device config registers:

Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-09-28 08:57:26 +03:00
..
ctxt-info-gen3.c iwlwifi: pcie: start early debug for 22560 devices 2018-07-26 13:16:15 +03:00
ctxt-info.c iwlwifi: pcie: support context information for 22560 devices 2018-07-26 13:16:15 +03:00
drv.c iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules 2018-08-31 11:38:42 +03:00
internal.h iwlwifi: refactor txq_alloc for supporting more command type 2018-08-31 11:38:41 +03:00
rx.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
trans-gen2.c iwlwifi: fw: stop and start debugging using host command 2018-09-28 08:57:21 +03:00
trans.c iwlwifi: pcie: Fail fast if HW is inaccessible at probe 2018-09-28 08:57:26 +03:00
tx-gen2.c iwlwifi: pcie: gen2: build A-MSDU only for GSO 2018-09-28 08:57:25 +03:00
tx.c iwlwifi: pcie: tx: pull tracing out of iwl_fill_data_tbs() 2018-09-28 08:57:25 +03:00