Hi Krzysztof, thank you for your quick reply! On Fri, 2023-06-16 at 11:26 +0200, Krzysztof Kozlowski wrote: > On 16/06/2023 05:11, Jakub Vaněk wrote: > > Hi all, > > > > I've discovered that on recent kernels the xHCI controller on > > Odroid > > HC2 dies when a USB-attached disk is put under a heavy I/O load. > > > > The hardware in question is using a DWC3 2.00a IP within the > > Exynos5422 > > to provide two internal USB3 ports. One of them is connected to a > > JMS578 USB-to-SATA bridge (Odroid firmware v173.01.00.02). The > > bridge > > is then connected to a Intel SSDSC2KG240G8 (firmware XCV10132). > > > > The crash can be triggered by running a read-heavy workload. This > > triggers it for me within tens of seconds: > > multi_v7 has devfreq enabled. Does disabling ARM_EXYNOS_BUS_DEVFREQ > change anything here? Only slightly. The FIO test still makes the xHCI controller crash. However, the timing seems to be slightly different -- I either get the crash in ~10 seconds (most of the time) or only after a minute. Before disabling ARM_EXYNOS_BUS_DEVFREQ it seemed to take about 20-40 seconds. On the other hand, I have tried it only two or three times before, so this data may not be conclusive. Full kernel config: https://pastebin.com/iLSsYfBF Full fio output: https://pastebin.com/9NehLhQr Full-ish dmesg here: https://pastebin.com/1Zgd1gVg All of the bus-* devfreq sysfs nodes disappeared in this configuration: $ ls /sys/class/devfreq 10c20000.memory-controller 11800000.gpu The memory controller driver prints some errors in this configuration. Disabling it with CONFIG_EXYNOS5422_DMC=n doesn't seem to affect the crash. I also tried to set the cpufreq governor to performance instead of ondemand and that too didn't help. > Best regards, > Krzysztof Best regards, Jakub