Skip to content

ath10k: backport fix for module load regression with iram-recovery #4726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

castiel652
Copy link
Contributor

Backport upstream fix for module load regression caused by IRAM recovery.
Without this patch devices using mainline ath10k driver could lost wireless
function because ath10k module failed to load.

Signed-off-by: Zhijun You hujy652@gmail.com

@adschm I am not sure if this is the correct numbering

Backport upstream fix for module load regression caused by IRAM recovery.
Without this patch devices using mainline ath10k driver could lost wireless
function because ath10k module failed to load.

Signed-off-by: Zhijun You <hujy652@gmail.com>
@castiel652
Copy link
Contributor Author

@graysky2 can you test this

@graysky2
Copy link
Contributor

graysky2 commented Oct 28, 2021

Thanks for fixing this. 5 GHz radio is functional again.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800
# dmesg|grep ath10k_pci
[   16.668522] ath10k_pci 0000:01:00.0: assign IRQ: got 43
[   16.679720] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   16.679889] ath10k_pci 0000:01:00.0: enabling bus mastering
[   16.680791] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   19.687990] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   19.688063] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   19.703376] ath10k_pci 0000:01: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 crc32 23bd9e43
[   21.983082] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   25.764331] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   25.867467] ath10k_pci 0001:01:00.0: assign IRQ: got 45
[   25.868603] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   25.868721] ath10k_pci 0001:01:00.0: enabling bus mastering
[   25.869508] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   26.858689] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   26.858730] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   26.870166] ath10k_pci 0001:01: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 crc32 23bd9e43
[   29.142367] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[   32.941361] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   46.857371] ath10k_pci 0000:01:00.0: Unknown eventid: 36933

@adschm adschm added the core packages pull request/issue for core (in-tree) packages label Oct 28, 2021
@xabolcs
Copy link
Contributor

xabolcs commented Oct 30, 2021

@hauke just sent the same to ML.

@hauke
Copy link
Member

hauke commented Oct 30, 2021

Thank you for the patch, I applied it to master.

@hauke hauke closed this Oct 30, 2021
@castiel652 castiel652 deleted the ath10k-fix branch October 31, 2021 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants