Hi Amit,
Seems del_server is being notified early due to qrtr-ns migration from 
userspace to kernel prior remote(modem + wifi) actually went down.
As per of del_server we are removing the MSA permission via SCM call, but 
remote(wifi user pd in modem Q6) is still accessing the region.

BR,
Govind

-----Original Message-----
From: ath10k <ath10k-boun...@lists.infradead.org> On Behalf Of Amit Pundir
Sent: Wednesday, April 29, 2020 9:51 PM
To: ath10k@lists.infradead.org
Cc: bjorn.anders...@linaro.org; John Stultz <john.stu...@linaro.org>; 
manivannan.sadhasi...@linaro.org
Subject: [EXT] Ath10k reboot regression with v5.7-rc1 on dragonboard 845c

Hi,

I see a reboot regression with v5.7-rc1 on Dragonboard 845c
(wcn3990/ath10k_snoc) running AOSP. "reboot" or "reboot bootloader"
commands do not work as expected when the board is connected to WiFi AP. I see 
"ath10k_snoc 18800000.wifi: firmware crashed"... dump in dmesg and board 
reboots into usb debug/crash mode. I do not see this reboot regression when the 
board is not connected to WiFi.

It started with qrtr-ns migration from userspace to kernel which landed in 
v5.7-rc1. I didn't run into this reboot issue when I was running qrtr-ns 
userspace tool. According to Mani, in-kernel qrtr-ns just live long enough to 
catch modem shutdown requests and advertise it to the modem, unlike the 
userspace tool. Which seem to be the case here. I further narrowed it down to 
ath10k_qmi_remove_msa_permission()
call in ath10k shutdown path. If I comment out that function call then the 
reboot command works as expected.

Any thoughts as to what might be going wrong? I do not understand 
qrtr/ath10k/qmi to see how msa permissions are getting mapped-unmapped here. 
I'd be happy to help debug things.

Regards,
Amit Pundir

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

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

Reply via email to