https://bugs.freedesktop.org/show_bug.cgi?id=107229
--- Comment #4 from Alexander Tsoy alexander@tsoy.me --- (In reply to Michel Dänzer from comment #3)
(In reply to Alexander Tsoy from comment #0)
linux-4.17.x with CONFIG_TRANSPARENT_HUGEPAGE=y = OK linux-4.17.x with CONFIG_TRANSPARENT_HUGEPAGE=n + mesa-8.0.x / mesa-8.1.x = hang
Did you swap CONFIG_TRANSPARENT_HUGEPAGE=y/n here? I.e. CONFIG_TRANSPARENT_HUGEPAGE=y is bad, CONFIG_TRANSPARENT_HUGEPAGE=n is good?
Yes, after getting a clue that this bug could be related to transparent huge pages, I tried to disable CONFIG_TRANSPARENT_HUGEPAGE in 4.17.6 kernel. This results in the same hang I had with 4.14.x kernels.
Note that transparent huge pages must be disabled at build time. cmdline option " transparent_hugepage=never" doesn't change anything.