Hi Tom, On Sat, Feb 09, 2019 at 05:29:33PM +0100, Tom Psyborg wrote: > On 09/02/2019, Daniel Golle <daniel@xxxxxxxxxxxxxx> wrote: > > Hi Tom, > > > > On Sat, Feb 09, 2019 at 01:28:32PM +0100, Tom Psyborg wrote: > >> On 09/02/2019, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote: > >> > On Sat, Feb 09, 2019 at 12:11:03PM +0100, Tom Psyborg wrote: > >> >> Can you reproduce interface freeze with this patch if you enable debug > >> >> options to print all dbg messages? > >> > > >> > Haven't tried that, but I expect enabling debug messages will > >> > cause troubles at hardware where printk make CPU hog. > >> > > >> > Stanislaw > >> > > >> > >> Take a look at my comment from 23.01.2019. on this link: > >> https://bugs.openwrt.org/index.php?do=details&task_id=2018 > >> There might be a chance dbg printks do not cause problems. > > > > This is very likely just overheat because of missing TSSI. It happends > > on boards where MT7620A is used without heatsink (and easy to > > reproduce, I've tried. We just need TSSI and for bad board design it > > will mean limiting to one TX-queue soon after serious traffic starts). > > We should tell those users to glue heatsink on the chip for $0.05 they > > can fix this in hardware -- and implement TSSI to mitigate at least the > > very worst effects (such as hardware stuck until reset). > > So dkg printks can make this worse, of course, because logging overhead > > also burns CPU cycles and increases system load. > > > > I remember in Rt5350 (and other predecessors of Rt6352 aka. MT7620) > > also had problems like that and it was possible to improve it by all > > sorts of things like removing power from unused ports of the Ethernet > > switch -- so for those boards (like Xiaomi MiWiFi mini) even this maybe > > the trick, because they also only use 3 out of 5 ports, and maybe we > > need to try harder to disable the power of unused ports (and also those > > without cable plugged in only periodicly power them up and check for > > link).... > > > > Cheers > > > > Daniel > > > > Disagree. MT7620 in Xiaomi MiWiFi mini has thermal pad sticked to > enough large metal shielding that is sticked with another thermal pad > to even bigger metal part of case. So thermal dissipation in that case > is very good. Good to hear that, and yes it may still be, see below. > Also with pandorabox firmware 200Mbps of stable throughput is possible >20MiB/s download rate is very impressive for 2.4GHz WiFi, I never saw anything even near that (using BitTorrent I get up to 8MiB/s when next to the router in low-noise environment with proprietry ubiquiti gear). > without any throttling which I believe would not be the case if the > cooling system wasn't reliable. pandorabox uses MediaTek proprietary driver and that limits to single TX chain operation once temperature limit is hit (read the code, you know where), same as in Xiaomi proprietary firmware. > > Back on subject, this patch is tested and proven to work, so ACK from me. Thanks for testing. I will push Stanislavs complete series into OpenWrt tomorrow. Cheers Daniel