summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2019-10-25 13:39:10 +0300
committerLucas Stach <l.stach@pengutronix.de>2019-10-29 20:12:24 +0300
commita2f10d4a3069fee666dab20fab5458757ba1f22d (patch)
tree09e9a62fce1e211c12d56e559ba46a8f581dd9e3 /tools/perf/scripts/python/export-to-postgresql.py
parent18fa692d8020083cd57ce031a4b5a7a4ec8bc50a (diff)
downloadlinux-a2f10d4a3069fee666dab20fab5458757ba1f22d.tar.xz
drm/etnaviv: fix dumping of iommuv2
etnaviv_iommuv2_dump_size(..) returns the number of PTE * SZ_4K but etnaviv_iommuv2_dump(..) increments buf pointer even if there is no PTE. This results in a bad buf pointer which gets used for memcpy(..), when copying the MMU state in the coredump buffer. Fixes: afb7b3b1deb4 ("drm/etnaviv: implement IOMMUv2 translation") Cc: stable@vger.kernel.org Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions