On Tue, Jan 10, 2023 at 1:29 PM Rob Clark wrote:
>
> From: Rob Clark
>
> If userspace was calling the MSM_SET_PARAM ioctl on multiple threads to
> set the COMM or CMDLINE param, it could trigger a race causing the
> previous value to be kfree'd multiple times. Fix this by serializing on
> the gp
From: Rob Clark
If userspace was calling the MSM_SET_PARAM ioctl on multiple threads to
set the COMM or CMDLINE param, it could trigger a race causing the
previous value to be kfree'd multiple times. Fix this by serializing on
the gpu lock.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adr