On 08/02/2019 16:49, Bart Van Assche wrote: > On Fri, 2019-02-08 at 16:33 +0100, Marc Gonzalez wrote: > >> Does anyone see what's going sideways in the no-flag case? > > Does this problem only occur with block devices backed by the UFS driver > or does this problem also occur with other block drivers? So far, I've only been able to test with UFS storage. The board has no PATA/SATA. SDHC is not supported yet. With Jeffrey's help, I was able to get a semi-functional USB3 stack running. I'll test USB3 mass storage on Monday. FWIW, I removed most (all?) locks from the UFSHC driver, by dropping scaling and gating support. I could also drop runtime suspend, if someone thinks that could help, but I'm thinking the problem might be in the mm or block layers? (It doesn't look like a locking problem, but more a memory exhaustion problem.) Regards.