Re: [BUG] BUG: kernel NULL pointer dereference at ttm_device_init+0xb4

From: Steven Rostedt
Date: Mon Jan 22 2024 - 21:15:05 EST


On Mon, 22 Jan 2024 19:56:08 -0500
"Bhardwaj, Rajneesh" <rajneesh.bhardwaj@xxxxxxx> wrote:

>
> On 1/22/2024 7:43 PM, Linus Torvalds wrote:
> > On Mon, 22 Jan 2024 at 15:17, Steven Rostedt<rostedt@xxxxxxxxxxx> wrote:
> >> Perhaps this is the real fix?
> > If you send a signed-off version, I'll apply it asap.
>
>
> I think a fix might already be in flight. Please see Linux-Kernel
> Archive: Re: [PATCH] drm/ttm: fix ttm pool initialization for
> no-dma-device drivers (iu.edu)
> <https://lkml.iu.edu/hypermail/linux/kernel/2401.1/06778.html>

Please use lore links. They are much easier to follow and use.

https://lore.kernel.org/lkml/20240113213347.9562-1-pchelkin@xxxxxxxxx/

is the patch I believe you are referencing.

The fix doesn't need to be mine, but this should be in Linus's tree ASAP.

-- Steve