wifi: iwlwifi: keep Wi-Fi when Intel AMT powers the host on
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: iwlwifi: pcie: use the CSME path when the NIC cannot be woken at probedrivers/ | +38 | 0 replies | |
| 2/2 | wifi: iwlwifi: mvm: take the NVM from CSME when it takes the device backdrivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] wifi: iwlwifi: keep Wi-Fi when Intel AMT powers the host on
With IWLMEI enabled and AMT's wireless enabled, the host can come up without Wi-Fi after AMT powers it on: CSME is still handing the NIC back to the host while iwlwifi probes. On an HP ZBook Firefly 14 G10 (AX211, CSME 16.1) this happened in two ways:
- the NIC cannot be woken at probe while CSME still drives it, and the probe fails with -110 for good (patch 1);
- ownership moves back to CSME between the end of the probe and the op mode's start, which then fails with -EBUSY (patch 2).
In both cases the SAP connection to CSME is up, so the host can take the NVM from CSME and request the NIC over SAP, as it does when CSME visibly owns the NIC at probe.
The series applies to iwlwifi-next. IWLMEI depends on BROKEN; it builds with CONFIG_WERROR only together with [1], and binds only with [2]:
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
Tested with both patches on that machine. The failure in patch 1 hit four of six AMT power-ons and resets before it; with it, AMT power-ons came back on Wi-Fi 36-48 s after Power on. The race in patch 2 was seen once in seven AMT power-ons with patch 1 applied (after about 20 minutes off) and did not recur in the three power-ons since (after 0 s, 2 and 33 minutes off), so its fallback has not yet run on hardware.
Andrei Rusu de Castro (2):
wifi: iwlwifi: pcie: use the CSME path when the NIC cannot be woken at
probe
wifi: iwlwifi: mvm: take the NVM from CSME when it takes the device
back
drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 13 ++++++ .../net/wireless/intel/iwlwifi/pcie/trans.c | 40 ++++++++++++++++++- 2 files changed, 51 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0