Re: [PATCH] drm/etnaviv: lock MMU while dumping core

2019-05-24 Thread Lucas Stach
Am Freitag, den 24.05.2019, 16:31 +0100 schrieb Russell King - ARM Linux admin: > On Wed, May 22, 2019 at 11:55:14AM +0200, Lucas Stach wrote: > > The devcoredump needs to operate on a stable state of the MMU while > > it is writing the MMU state to the coredump. The missing lock > > allowed both t

Re: [PATCH] drm/etnaviv: lock MMU while dumping core

2019-05-24 Thread Russell King - ARM Linux admin
On Wed, May 22, 2019 at 11:55:14AM +0200, Lucas Stach wrote: > The devcoredump needs to operate on a stable state of the MMU while > it is writing the MMU state to the coredump. The missing lock > allowed both the userspace submit, as well as the GPU job finish > paths to mutate the MMU state while

Re: [PATCH] drm/etnaviv: lock MMU while dumping core

2019-05-24 Thread Philipp Zabel
On Wed, 2019-05-22 at 11:55 +0200, Lucas Stach wrote: > The devcoredump needs to operate on a stable state of the MMU while > it is writing the MMU state to the coredump. The missing lock > allowed both the userspace submit, as well as the GPU job finish > paths to mutate the MMU state while a core

Re: [PATCH] drm/etnaviv: lock MMU while dumping core

2019-05-22 Thread Russell King - ARM Linux admin
Hi Lucas, Seems I'm not getting a reply, so I'm hijacking one of your more recent patches in the hope of attracting your attention. A while back I sent a fix for a regression that recently occurred with etnaviv, where the kernel spat out a warning when importing buffers into etnaviv. You apparen

[PATCH] drm/etnaviv: lock MMU while dumping core

2019-05-22 Thread Lucas Stach
The devcoredump needs to operate on a stable state of the MMU while it is writing the MMU state to the coredump. The missing lock allowed both the userspace submit, as well as the GPU job finish paths to mutate the MMU state while a coredump is under way. Fixes: a8c21a5451d8 (drm/etnaviv: add init