From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Osipenko Subject: Re: [PATCH 2/3] drm/tegra: Correct idr_alloc() minimum id Date: Sun, 14 May 2017 16:02:23 +0300 Message-ID: References: <20170512190044.17541-1-digetx@gmail.com> <20170512190044.17541-2-digetx@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mikko Perttunen , Thierry Reding Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, DRI Development List-Id: dri-devel@lists.freedesktop.org On 14.05.2017 14:53, Mikko Perttunen wrote: > On 05/12/2017 10:00 PM, Dmitry Osipenko wrote: >> The start = 0 is invalid and causes weird CDMA channel timeouts, presumably >> some memory misuse/corruption is going on. > > What makes you think start = 0 is invalid? I can't see anything pointing to that > in the idr code and there are many users in the kernel passing 0 as start. > Well, I can't see either. You are right that there are quite many others with 0 as a start, the 1 probably just masks the bug. -- Dmitry