aarch64-laptops / build

Build an Linux OS based image
221 stars 47 forks source link

Sometimes reconnect is required after WCN3990 recovery #52

Closed RussianNeuroMancer closed 3 years ago

RussianNeuroMancer commented 4 years ago

Hello!

From time to time I see WC3990 firmware crash right after "arm-smmu 15000000.iommu: Unhandled context fault" error in dmesg, then remoteproc detect crash and trying to handle crash, at least according to what I see dmesg. Three is three possible outcomes at this point:

  1. Device can not be recovered which lead to https://github.com/aarch64-laptops/build/issues/51

  2. WCN3990 successfully recovered and normal operation continue.

  3. WCN3990 successfully recovered and ath10k_snoc tells system that it's still connection, but no traffic coming through WiFi connection. I have to reconnect to get WiFi working again.

In dmesg you can observer behavior number 2 from line 1025 to line 1068. Behavior number 3 can be observed from line 1076 to line 1125 (at line 1125 I give up waiting and decided to apply workaround - reconnect).

RussianNeuroMancer commented 3 years ago

Workaround: https://github.com/aarch64-laptops/build/issues/24#issuecomment-703175627

RussianNeuroMancer commented 3 years ago

Issue reported to upstream: https://bugzilla.kernel.org/show_bug.cgi?id=209491

RussianNeuroMancer commented 3 years ago

Its seems like this issue is not reproducible anymore with Linux 5.12.5, closing for now.