jzbydniewski
jzbydniewski
I attach SmaRT trace for all cores, as read by the Metaware Debugger [core-0-smart.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14915243/core-0-smart.txt) [core-1-smart.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14915248/core-1-smart.txt) [core-2-smart.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14915414/core-2-smart.txt)
A suggestion from Alexey was to check if with ATLD selected in menuconfig there are still ‘llock’ and ‘scond’ instructions in the listing. The result is no, there are none...
This issue is not reproducible with single-core SMP Linux.
It looks that reproduction rate can be decreased (how much is still to be determined, not sure if it is fix or not) by the following patch ``` diff --git...
After few more days of testing, still no reproduction with _optimize(0)_ patch.
Another stack trace, now with PCIe eth adapter based on RTL8169 ``` F: [ 5] 4818.01-4819.01 sec 35.0 MBytes 293 Mbits/sec 0 4.01 MBytes F: [ 5] 4819.01-4820.00 sec 36.2...
I had a look at difference between vmlinux with optimize(0) patch and without it. It looks that it’s not only these two functions affected, but in fact few more functions...
Example cache operations that I can see being used when iperf is running. Operations originate from our PCIe WiFi driver: dma_cache_wback_inv addr 0x8728c740 sz 2048 dma_cache_wback_inv addr 0x8728b440 sz 2048...
With another PCIe-Eth adapter that we also observe this issue, the cache operations look like below. We're using RTL8169 driver here. ``` [..] dma_cache_wback addr 0x8223290a sz 1514 dma_cache_inv addr...
SmaRT traces + TLB dump from Metaware Debugger: [smart-cpu0.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14980007/smart-cpu0.txt) [smart-cpu1.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14980009/smart-cpu1.txt) [smart-cpu2.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14980010/smart-cpu2.txt) [tlb.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/14980011/tlb.txt)