[PATCH] gpu: host1x: Forbid RESTART opcode in the firewall

2017-05-15 Thread Dmitry Osipenko
The RESTART opcode terminates the gather and restarts the CDMA fetch from a specified word << 2 relative to the CDMA start address. That shouldn't be allowed to be done by userspace. Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/job.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dr

Re: [PATCH] gpu: host1x: Forbid RESTART opcode in the firewall

2017-05-15 Thread Erik Faye-Lund
On Mon, May 15, 2017 at 2:02 PM, Dmitry Osipenko wrote: > The RESTART opcode terminates the gather and restarts the CDMA fetch from > a specified word << 2 relative to the CDMA start address. That shouldn't > be allowed to be done by userspace. > > Signed-off-by: Dmitry Osipenko Outch, yeah. Re