Re: [PATCH v3 02/20] drm/tegra: Correct idr_alloc() minimum id

2017-06-15 Thread Thierry Reding
On Thu, Jun 15, 2017 at 02:18:25AM +0300, Dmitry Osipenko wrote: > The client ID 0 is reserved by the host1x/cdma to mark the timeout timer > work as already been scheduled and context ID is used as the clients one. > This fixes spurious CDMA timeouts. > > Fixes: bdd2f9cd10eb ("drm/tegra: Don't

[PATCH v3 02/20] drm/tegra: Correct idr_alloc() minimum id

2017-06-14 Thread Dmitry Osipenko
The client ID 0 is reserved by the host1x/cdma to mark the timeout timer work as already been scheduled and context ID is used as the clients one. This fixes spurious CDMA timeouts. Fixes: bdd2f9cd10eb ("drm/tegra: Don't leak kernel pointer to userspace") Signed-off-by: Dmitry Osipenko