RE: [PATCH 1/1] wifi: rtw88: 8822b: disable call trace when write RF mode table fail

From: Chukun Pan
Date: Thu Oct 12 2023 - 22:39:21 EST


Hi, Ping-Ke

> Why do you think this trace is useless? As I see, there is more than one callers.
> Did you meet a real case it throws this trace? If yes, how about the frequency?

[ 217.651858] ------------[ cut here ]------------
[ 217.654813] write RF mode table fail
[ 217.657434] WARNING: CPU: 2 PID: 3705 at 0xffffffffa03df3cb [rtw88_8822b@00000000bf0fde9e+0x35000]
[ 217.662078] Modules linked in: rtw88_8822ce rtw88_8822c rtw88_8822be rtw88_8822b rtw88_8723de ...
[ 217.704412] RIP: 0010:0xffffffffa03df3cb [rtw88_8822b@00000000bf0fde9e+0x35000]
...
[ 217.737232] Call Trace:
[ 217.738683] 0xffffffffa03df943 [rtw88_8822b@00000000bf0fde9e+0x35000]
[ 217.740865] 0xffffffffa0385ab9 [rtw88_core@00000000a8d26f0d+0x1a000]
[ 217.742993] 0xffffffffa0279111 [mac80211@000000003cb4b3bd+0x7b000]
[ 217.745028] 0xffffffffa0239092 [cfg80211@00000000a951c4b5+0x46000]
[ 217.751368] ? 0xffffffffa0238de0 [cfg80211@00000000a951c4b5+0x46000]
[ 217.773278] RIP: 0033:0x7ff0cdf8836c
...
[ 217.789457] ---[ end trace 177712424e9eab4a ]---

As you can see this trace above, I don't think it's useful. This
trace throws up a lot of register values but doesn't point out why.
As long as I plug in the rtl8812bu or rtl8822be wifi modules, this
trace will be thrown every time when the rtw88 driver is loaded.

Thanks,
Chukun

--
2.25.1