After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
Thanks for working on this! And sorry for the slow response. I've been
unexpectedly very busy lately, but I plan to test out this patch next
week.
From: Axel Rasmussen <hidden> Date: 2021-08-12 20:21:17
Sorry again for the slow response time.
I got around to testing this today on my hardware. I tested with a
vanilla 5.13.8 kernel, and then the same kernel with this patch
applied. Long story short, the patch does indeed seem to at least work
around the issue I was seeing in [1]. With this patch applied, I still
get the same "failed to copy target iram contents" error, but the
interface comes up and seems to be functional regardless.
So, for what it's worth (granted I am no wireless expert!), you can take:
Tested-by: Axel Rasmussen <axelrasmussen@google.com>
(This issue has nothing to do with my full time job, but I'm meant to
use my @google.com address for any open source contributions, which I
believe applies to commit messages too.)
[1]: https://lists.infradead.org/pipermail/ath10k/2021-May/012626.html
Here are the two dmesg outputs, for comparison:
# uname -a
Linux router 5.13.8 #1 SMP Wed Aug 11 20:18:51 PDT 2021 x86_64 AMD
GX-412TC SOC AuthenticAMD GNU/Linux
# dmesg | grep ath
[ 12.491747] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[ 12.613341] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target
0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 12.613367] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
tracing 1 dfs 1 testmode 0
[ 12.615071] ath10k_pci 0000:04:00.0: firmware ver
10.4-3.9.0.2-00131 api 5 features
no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery
crc32 23bd9e43
[ 13.846538] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:31
crc32 85498734
[ 16.428502] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 16.518692] ath10k_pci 0000:04:00.0: could not init core (-12)
[ 16.518950] ath10k_pci 0000:04:00.0: could not probe fw (-12)
# uname -a
Linux router 5.13.8+ #2 SMP Wed Aug 11 20:28:56 PDT 2021 x86_64 AMD
GX-412TC SOC AuthenticAMD GNU/Linux
# dmesg | grep ath
[ 12.201239] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[ 12.323354] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target
0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 12.323407] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
tracing 1 dfs 1 testmode 0
[ 12.325162] ath10k_pci 0000:04:00.0: firmware ver
10.4-3.9.0.2-00131 api 5 features
no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-reco
very crc32 23bd9e43
[ 13.556748] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:31
crc32 85498734
[ 16.155848] ath10k_pci 0000:04:00.0: No hardware memory
[ 16.155873] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 16.267376] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4
cal otp max-sta 512 raw 0 hwcrypto 1
[ 16.382257] ath: EEPROM regdomain sanitized
[ 16.382289] ath: EEPROM regdomain: 0x64
[ 16.382306] ath: EEPROM indicates we should expect a direct regpair map
[ 16.382312] ath: Country alpha2 being used: 00
[ 16.382316] ath: Regpair used: 0x64
[ 16.393599] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
[ 41.264025] ath10k_pci 0000:04:00.0: No hardware memory
[ 41.264045] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 41.480677] ath10k_pci 0000:04:00.0: Unknown eventid: 36933
On Sun, Aug 1, 2021 at 7:23 PM Axel Rasmussen [off-list ref] wrote:
On Thu, Jul 22, 2021 at 12:42 PM ojab // [off-list ref] wrote:
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
Thanks for working on this! And sorry for the slow response. I've been
unexpectedly very busy lately, but I plan to test out this patch next
week.
Sorry again for the slow response time.
I got around to testing this today on my hardware. I tested with a
vanilla 5.13.8 kernel, and then the same kernel with this patch
applied. Long story short, the patch does indeed seem to at least work
around the issue I was seeing in [1]. With this patch applied, I still
get the same "failed to copy target iram contents" error, but the
interface comes up and seems to be functional regardless.
So, for what it's worth (granted I am no wireless expert!), you can take:
Tested-by: Axel Rasmussen <axelrasmussen@google.com>
(This issue has nothing to do with my full time job, but I'm meant to
use my @google.com address for any open source contributions, which I
believe applies to commit messages too.)
[1]: https://lists.infradead.org/pipermail/ath10k/2021-May/012626.html
Here are the two dmesg outputs, for comparison:
# uname -a
Linux router 5.13.8 #1 SMP Wed Aug 11 20:18:51 PDT 2021 x86_64 AMD
GX-412TC SOC AuthenticAMD GNU/Linux
# dmesg | grep ath
[ 12.491747] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[ 12.613341] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target
0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 12.613367] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
tracing 1 dfs 1 testmode 0
[ 12.615071] ath10k_pci 0000:04:00.0: firmware ver
10.4-3.9.0.2-00131 api 5 features
no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery
crc32 23bd9e43
[ 13.846538] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:31
crc32 85498734
[ 16.428502] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 16.518692] ath10k_pci 0000:04:00.0: could not init core (-12)
[ 16.518950] ath10k_pci 0000:04:00.0: could not probe fw (-12)
# uname -a
Linux router 5.13.8+ #2 SMP Wed Aug 11 20:28:56 PDT 2021 x86_64 AMD
GX-412TC SOC AuthenticAMD GNU/Linux
# dmesg | grep ath
[ 12.201239] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[ 12.323354] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target
0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 12.323407] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1
tracing 1 dfs 1 testmode 0
[ 12.325162] ath10k_pci 0000:04:00.0: firmware ver
10.4-3.9.0.2-00131 api 5 features
no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-reco
very crc32 23bd9e43
[ 13.556748] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:31
crc32 85498734
[ 16.155848] ath10k_pci 0000:04:00.0: No hardware memory
[ 16.155873] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 16.267376] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4
cal otp max-sta 512 raw 0 hwcrypto 1
[ 16.382257] ath: EEPROM regdomain sanitized
[ 16.382289] ath: EEPROM regdomain: 0x64
[ 16.382306] ath: EEPROM indicates we should expect a direct regpair map
[ 16.382312] ath: Country alpha2 being used: 00
[ 16.382316] ath: Regpair used: 0x64
[ 16.393599] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
[ 41.264025] ath10k_pci 0000:04:00.0: No hardware memory
[ 41.264045] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
[ 41.480677] ath10k_pci 0000:04:00.0: Unknown eventid: 36933
On Sun, Aug 1, 2021 at 7:23 PM Axel Rasmussen [off-list ref] wrote:
quoted
On Thu, Jul 22, 2021 at 12:42 PM ojab // [off-list ref] wrote:
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
Thanks for working on this! And sorry for the slow response. I've been
unexpectedly very busy lately, but I plan to test out this patch next
week.
Can I haz it merged?
//wbr ojab
On Thu, 22 Jul 2021 at 22:36, ojab [off-list ref] wrote:
quoted hunk
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Gentle ping.
//wbr ojab
On Wed, 25 Aug 2021 at 19:15, ojab // [off-list ref] wrote:
Can I haz it merged?
//wbr ojab
On Thu, 22 Jul 2021 at 22:36, ojab [off-list ref] wrote:
quoted
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
._.
//wbr ojab
On Thu, 9 Sept 2021 at 02:42, ojab // [off-list ref] wrote:
Gentle ping.
//wbr ojab
On Wed, 25 Aug 2021 at 19:15, ojab // [off-list ref] wrote:
quoted
Can I haz it merged?
//wbr ojab
On Thu, 22 Jul 2021 at 22:36, ojab [off-list ref] wrote:
quoted
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
._.
//wbr ojab
On Thu, 9 Sept 2021 at 02:42, ojab // [off-list ref] wrote:
quoted
Gentle ping.
//wbr ojab
On Wed, 25 Aug 2021 at 19:15, ojab // [off-list ref] wrote:
quoted
Can I haz it merged?
//wbr ojab
On Thu, 22 Jul 2021 at 22:36, ojab [off-list ref] wrote:
quoted
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
._.
//wbr ojab
On Thu, 9 Sept 2021 at 02:42, ojab // [off-list ref] wrote:
quoted
Gentle ping.
//wbr ojab
On Wed, 25 Aug 2021 at 19:15, ojab // [off-list ref] wrote:
quoted
Can I haz it merged?
//wbr ojab
On Thu, 22 Jul 2021 at 22:36, ojab [off-list ref] wrote:
quoted
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is
so exact branch could be seen.
Signed-off-by: Slava Kardakov <redacted>
---
Of course I forgot to sing off, since I don't use it by default because I
hate my real name and kernel requires it
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
From: Kalle Valo <hidden> Date: 2021-10-20 07:54:40
ojab [off-list ref] wrote:
After reboot with kernel & firmware updates I found `failed to copy
target iram contents:` in dmesg and missing wlan interfaces for both
of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
it, so while I have no idea what's actually happening, I don't see why
we should fail in this case, looks like some optional firmware ability
that could be skipped.
Also with additional logging there is