[Intel-gfx] commit 440fd52 drm/mm: Support 4GiB and larger ranges oops on 32bit kernel

Thierry Reding treding at nvidia.com
Mon Mar 16 02:06:30 PDT 2015


On Mon, Mar 16, 2015 at 09:15:22AM +1000, Dave Airlie wrote:
> On 16 March 2015 at 05:31, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > On Sun, Mar 15, 2015 at 08:22:36PM +0100, Krzysztof Kolasa wrote:
> >> Problem solved and tested:
> >>
> >> [PATCH] drm/mm: Fix support 4 GiB and larger ranges
> >>
> >> bad argument if(tmp)... in check_free_hole
> >>
> >> fix oops: kernel BUG at drivers/gpu/drm/drm_mm.c:305!
> >>
> >> Signed-off-by: Krzysztof Kolasa <kkolasa at winsoft.pl>
> >
> > Nice catch!
> > Reviewed-by: Chris wilson <chris at chris-wilson.co.uk>
> > -Chris
> 
> Nice work, that was what I planned on doing today, I've sent to Linus
> and already merged for rc4.

I was somewhat surprised that this patch got merged. I think Russell had
some objections to it (he would've preferred to see it use page-granular
allocations and hence avoid the need to switch to u64).

But since it's already landed in Linus' tree and this fix in v4.0-rc4 I
guess it'd be too much churn to back it out again.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150316/c5f7d155/attachment.sig>


More information about the Intel-gfx mailing list