]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: lock MMU while dumping core
authorLucas Stach <l.stach@pengutronix.de>
Tue, 21 May 2019 12:53:40 +0000 (14:53 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 27 May 2019 14:08:38 +0000 (16:08 +0200)
commitf93a73a9bff7089f945273e0254593c0ee0d0a31
treefbde8e7696a9254e23b2fd589f19b10146265c1a
parent49250288820449e26abffc1305ba221bd05ce90d
drm/etnaviv: lock MMU while dumping core

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: c0dbab60dac5 (drm/etnaviv: add initial etnaviv DRM driver)
Reported-by: David Jander <david@protonic.nl>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: David Jander <david@protonic.nl>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_dump.c