All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: ath10k@lists.infradead.org
Cc: openwrt-devel <openwrt-devel@lists.openwrt.org>,
	Marek Lindner <marek.lindner@kaiwoo.ai>
Subject: ath10k: qca4019: FW crash on 5GHz when baseEepHeader.nonLinearTxFir == 1
Date: Fri, 17 Sep 2021 18:25:35 +0200	[thread overview]
Message-ID: <3423718.UToCqzeSYe@ripper> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 3676 bytes --]

Hi,

I've just wanted to test openwrt-21.02 (with ath10k-firmware-qca4019 + kmod-
ath10k) on an Plasma Cloud PA1200 router. While this device worked fine in the 
past, with this upgrade (to the newest firmware from linux-firmware), the 5GHz 
radio firmware seems to crash whenever I set it up via `ifconfig wlan1 up`:

    ath10k_ahb a800000.wifi: firmware crashed! (guid 9e36ee82-4d2c-4c63-b20b-609a1eaca30c)
    ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
    ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
    ath10k_ahb a800000.wifi: firmware ver 10.4-3.6-00140 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 ba79b746
    ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 5f400efc
    ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
    ath10k_ahb a800000.wifi: firmware register dump:
    ath10k_ahb a800000.wifi: [00]: 0x0000000B 0x000015B3 0x009C3C27 0x00975B31
    ath10k_ahb a800000.wifi: [04]: 0x009C3C27 0x00060530 0x00000018 0x004176B8
    ath10k_ahb a800000.wifi: [08]: 0x00405A50 0x00412A30 0x00000000 0x00000000
    ath10k_ahb a800000.wifi: [12]: 0x00000009 0x00000000 0x009B9742 0x009B974F
    ath10k_ahb a800000.wifi: [16]: 0x00971238 0x009B9742 0x00000000 0x00000000
    ath10k_ahb a800000.wifi: [20]: 0x409C3C27 0x004053DC 0x00000D2C 0x00405A60
    ath10k_ahb a800000.wifi: [24]: 0x809C3E13 0x0040543C 0x00000000 0xC09C3C27
    ath10k_ahb a800000.wifi: [28]: 0x809B9AC5 0x0040547C 0x00412A30 0x0040549C
    ath10k_ahb a800000.wifi: [32]: 0x809B8ECD 0x0040549C 0x00000001 0x00412A30
    ath10k_ahb a800000.wifi: [36]: 0x809B8FF3 0x004054CC 0x00412838 0x00000014
    ath10k_ahb a800000.wifi: [40]: 0x809BEF98 0x0040551C 0x0041627C 0x00000002
    ath10k_ahb a800000.wifi: [44]: 0x80986D47 0x0040553C 0x0041627C 0x00416A88
    ath10k_ahb a800000.wifi: [48]: 0x809CBB0A 0x0040559C 0x0041ACC0 0x00000000
    ath10k_ahb a800000.wifi: [52]: 0x809864EE 0x0040560C 0x0041ACC0 0x00000001
    ath10k_ahb a800000.wifi: [56]: 0x809CA8A4 0x0040564C 0x0041ACC0 0x00000001
    ath10k_ahb a800000.wifi: Copy Engine register dump:
    ath10k_ahb a800000.wifi: [00]: 0x0004a000  14  14   3   3
    ath10k_ahb a800000.wifi: [01]: 0x0004a400  16  16  22  23
    ath10k_ahb a800000.wifi: [02]: 0x0004a800   3   3   2   3
    ath10k_ahb a800000.wifi: [03]: 0x0004ac00  15  15  15  15
    ath10k_ahb a800000.wifi: [04]: 0x0004b000   4   4  44   4
    ath10k_ahb a800000.wifi: [05]: 0x0004b400   3   3   2   3
    ath10k_ahb a800000.wifi: [06]: 0x0004b800   1   1   1   1
    ath10k_ahb a800000.wifi: [07]: 0x0004bc00   1   1   1   1
    ath10k_ahb a800000.wifi: [08]: 0x0004c000   0   0 127   0
    ath10k_ahb a800000.wifi: [09]: 0x0004c400   0   0   0   0
    ath10k_ahb a800000.wifi: [10]: 0x0004c800   0   0   0   0
    ath10k_ahb a800000.wifi: [11]: 0x0004cc00   0   0   0   0
    ath10k_ahb a800000.wifi: failed to update channel list: -108
    ath10k_ahb a800000.wifi: failed to set pdev regdomain: -108
    ath10k_ahb a800000.wifi: failed to create WMI vdev 0: -108
    ieee80211 phy1: Hardware restart was requested

Interestingly, the crash disappeared when I've changed 
baseEepHeader.nonLinearTxFir (offset 0xc2 in the BDF) from 1 to 0.

The device itself was using firmware 10.4-3.6-00140 (the version currently in 
linux-firmware) - a working firmware is 10.4-3.5.3-00078. I also wanted to 
"bisected" when this problem was introduced but there are only these two 
recent firmware version available in Kalle's ath10k-firmware repository.

Does anybody know more about it?

Kind regards,
	Sven

[-- Attachment #1.1.2: bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=PlasmaCloud-PA1200.bin --]
[-- Type: application/octet-stream, Size: 12064 bytes --]

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

             reply	other threads:[~2021-09-17 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 16:25 Sven Eckelmann [this message]
2021-09-22 15:48 ` ath10k: qca4019: FW crash on 5GHz when baseEepHeader.nonLinearTxFir == 1 Sven Eckelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3423718.UToCqzeSYe@ripper \
    --to=sven@narfation.org \
    --cc=ath10k@lists.infradead.org \
    --cc=marek.lindner@kaiwoo.ai \
    --cc=openwrt-devel@lists.openwrt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.