Re: [PATCH 13/22] gpu: host1x: Do not leak BO's phys address to userspace

2017-06-13 Thread Mikko Perttunen
On 05/23/2017 03:14 AM, Dmitry Osipenko wrote: Do gathers coping before patching them, so the original gathers are left untouched. That's not as bad as leaking a kernel addresses, but still doesn't feel right. Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/job.c | 44 ++

Re: [PATCH 13/22] gpu: host1x: Do not leak BO's phys address to userspace

2017-06-13 Thread Mikko Perttunen
On 06/13/2017 09:21 PM, Dmitry Osipenko wrote: On 13.06.2017 20:31, Mikko Perttunen wrote: On 05/23/2017 03:14 AM, Dmitry Osipenko wrote: Do gathers coping before patching them, so the original gathers are left untouched. That's not as bad as leaking a kernel addresses, but still doesn't feel

Re: [PATCH 13/22] gpu: host1x: Do not leak BO's phys address to userspace

2017-06-13 Thread Dmitry Osipenko
On 13.06.2017 22:03, Mikko Perttunen wrote: > > > On 06/13/2017 09:21 PM, Dmitry Osipenko wrote: >> On 13.06.2017 20:31, Mikko Perttunen wrote: >>> On 05/23/2017 03:14 AM, Dmitry Osipenko wrote: Do gathers coping before patching them, so the original gathers are left untouched. That's n

Re: [PATCH 13/22] gpu: host1x: Do not leak BO's phys address to userspace

2017-06-13 Thread Dmitry Osipenko
On 13.06.2017 20:31, Mikko Perttunen wrote: > On 05/23/2017 03:14 AM, Dmitry Osipenko wrote: >> Do gathers coping before patching them, so the original gathers are left >> untouched. That's not as bad as leaking a kernel addresses, but still >> doesn't feel right. >> >> Signed-off-by: Dmitry Osipen

[PATCH 13/22] gpu: host1x: Do not leak BO's phys address to userspace

2017-05-22 Thread Dmitry Osipenko
Do gathers coping before patching them, so the original gathers are left untouched. That's not as bad as leaking a kernel addresses, but still doesn't feel right. Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/job.c | 44 ++-- 1 file changed, 30 ins