diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2019-11-29 16:59:04 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-12-06 20:06:16 +0300 |
commit | aed44cbeae2b7674cd155ba5cc6506aafe46a94e (patch) | |
tree | ca806245e28d14a4f018ef7fd675d4216bfffddf /drivers/edac/edac_pci.h | |
parent | 3bb69dbcb9e8430e0cc9990cff427ca3ae25ffdc (diff) | |
download | linux-aed44cbeae2b7674cd155ba5cc6506aafe46a94e.tar.xz |
drm/panfrost: Fix a race in panfrost_gem_free_object()
panfrost_gem_shrinker_scan() might purge a BO (release the sgt and
kill the GPU mapping) that's being freed by panfrost_gem_free_object()
if we don't remove the BO from the shrinker list at the beginning of
panfrost_gem_free_object().
Fixes: 013b65101315 ("drm/panfrost: Add madvise and shrinker support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129135908.2439529-5-boris.brezillon@collabora.com
Diffstat (limited to 'drivers/edac/edac_pci.h')
0 files changed, 0 insertions, 0 deletions