summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlex Bee <knaerzche@gmail.com>2023-12-08 20:08:56 +0300
committerMaxime Ripard <mripard@kernel.org>2023-12-13 18:19:01 +0300
commitec2cbaf604f4a5f4bc5484ae86016ebe91236fdc (patch)
tree3efbf0a3405ceff5416f7ffc60923fbdfa51dcd9 /tools/perf/scripts/python/export-to-postgresql.py
parent1e9974c7583456ca0bb9ccbf028c86154560f819 (diff)
downloadlinux-ec2cbaf604f4a5f4bc5484ae86016ebe91236fdc.tar.xz
drm/imagination: vm: Fix heap lookup condition
When conditionally checking for heap existence of a certian address in pvr_vm_bind_op_map_init the condition whether the map request comes from a user is incorrect: The context must not be the kernel-context to be a user(space) context and should be looked up in pvr_heaps. That makes addresses coming from userspace not being verfied against the defined ranges and prevents firmware loading for meta cores. Fixes: ff5f643de0bf ("drm/imagination: Add GEM and VM related code") Signed-off-by: Alex Bee <knaerzche@gmail.com> Reviewed-by: Donald Robson <donald.robson@imgtec.com> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20231208170856.1748413-1-knaerzche@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions