(subset) [PATCH] drm/imagination: vm: Fix heap lookup condition
Maxime Ripard
mripard at kernel.org
Wed Dec 13 15:22:35 UTC 2023
On Fri, 08 Dec 2023 18:08:56 +0100, Alex Bee wrote:
> 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.
>
> [...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Maxime
More information about the dri-devel
mailing list