From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9638E7E9 for ; Tue, 23 Jan 2024 02:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978232; cv=none; b=szzmOMYypUBO0Sw9vYk8HB1aiGtyQZScLe0uR8UKghsTWqqirtv9uOmK2ITSM0htv9GOKSfdb01x4FT67TWavuRz4/Pp5P3iy0iqLFJH5DbaXokd9aeH++slBa3PALwk6k1eCG4nNaXjEPpV62xjbRa8JOIUPR/A2N5LSFqqaTI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978232; c=relaxed/simple; bh=8tsc+qA17rexfPtUShMNwu4xuggqtnUz4ZR/y0dZN4Y=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AyfbbV+mdclJLi4izsbQ2iY0gF/X6LsgNvof74kG3soEKuT7ipmmFXV0CEp+snhsNFeJjGJijS9lnKT6qCky1ash9pttD0JfWKyUovhaojFxAQd0k/KZZtHcjKmJzoe8nWVla7Oz0YqGok2UTGdoxjNo8PFDfKL4cj9PU4Mh2gg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D56BC433C7; Tue, 23 Jan 2024 02:50:30 +0000 (UTC) Date: Mon, 22 Jan 2024 21:52:00 -0500 From: Steven Rostedt To: Dave Airlie Cc: "Bhardwaj, Rajneesh" , Linus Torvalds , LKML , Felix Kuehling , Christian =?UTF-8?B?S8O2bmln?= , dri-devel@lists.freedesktop.org, Fedor Pchelkin Subject: Re: [BUG] BUG: kernel NULL pointer dereference at ttm_device_init+0xb4 Message-ID: <20240122215200.1ec02a4a@gandalf.local.home> In-Reply-To: References: <20240122180605.28daf23a@gandalf.local.home> <20240122181547.16b029d6@gandalf.local.home> <20240122181901.05a3b9ab@gandalf.local.home> <27c3d1e9-5933-47a9-9c33-ff8ec13f40d3@amd.com> <20240122203552.529eeb20@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 23 Jan 2024 12:32:39 +1000 Dave Airlie wrote: > On Tue, 23 Jan 2024 at 12:21, Dave Airlie wrote: > > > > On Tue, 23 Jan 2024 at 12:15, Steven Rostedt wrote: > > > > > > On Mon, 22 Jan 2024 19:56:08 -0500 > > > "Bhardwaj, Rajneesh" wrote: > > > > > > > > > > > On 1/22/2024 7:43 PM, Linus Torvalds wrote: > > > > > On Mon, 22 Jan 2024 at 15:17, Steven Rostedt 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) > > > > > > > > > > Please use lore links. They are much easier to follow and use. > > > > https://lore.kernel.org/dri-devel/20240123022015.1288588-1-airlied@gmail.com/T/#u > > > > should also fix it, Linus please apply it directly if Steven has a > > chance to give it a run. > > I see Linus applied the other one, that's fine too. > They don't look mutually exclusive. I can test the other one as well. -- Steve From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47660C46CD2 for ; Tue, 23 Jan 2024 02:50:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3754E10E0C9; Tue, 23 Jan 2024 02:50:47 +0000 (UTC) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id C06A410E0C9 for ; Tue, 23 Jan 2024 02:50:43 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id E9F2FCE214B; Tue, 23 Jan 2024 02:50:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D56BC433C7; Tue, 23 Jan 2024 02:50:30 +0000 (UTC) Date: Mon, 22 Jan 2024 21:52:00 -0500 From: Steven Rostedt To: Dave Airlie Subject: Re: [BUG] BUG: kernel NULL pointer dereference at ttm_device_init+0xb4 Message-ID: <20240122215200.1ec02a4a@gandalf.local.home> In-Reply-To: References: <20240122180605.28daf23a@gandalf.local.home> <20240122181547.16b029d6@gandalf.local.home> <20240122181901.05a3b9ab@gandalf.local.home> <27c3d1e9-5933-47a9-9c33-ff8ec13f40d3@amd.com> <20240122203552.529eeb20@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Felix Kuehling , "Bhardwaj, Rajneesh" , dri-devel@lists.freedesktop.org, LKML , Fedor Pchelkin , Linus Torvalds , Christian =?UTF-8?B?S8O2bmln?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, 23 Jan 2024 12:32:39 +1000 Dave Airlie wrote: > On Tue, 23 Jan 2024 at 12:21, Dave Airlie wrote: > > > > On Tue, 23 Jan 2024 at 12:15, Steven Rostedt wrote: > > > > > > On Mon, 22 Jan 2024 19:56:08 -0500 > > > "Bhardwaj, Rajneesh" wrote: > > > > > > > > > > > On 1/22/2024 7:43 PM, Linus Torvalds wrote: > > > > > On Mon, 22 Jan 2024 at 15:17, Steven Rostedt 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) > > > > > > > > > > Please use lore links. They are much easier to follow and use. > > > > https://lore.kernel.org/dri-devel/20240123022015.1288588-1-airlied@gmail.com/T/#u > > > > should also fix it, Linus please apply it directly if Steven has a > > chance to give it a run. > > I see Linus applied the other one, that's fine too. > They don't look mutually exclusive. I can test the other one as well. -- Steve