From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63EED524B5 for ; Tue, 23 Jan 2024 02:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705977173; cv=none; b=ph7BQt4p8Ym1tFqUkHOF//dNy8My3EKD1Zjg7LNUTpwrzBT39iwxwAT1fCTyGPPDcty9/CyZIsh3dd6jCCpwgcz9kawDMezTyM7sQ0NhiCHqIN/yN4GweQ78a+CPGGWJOYkP304JtiUTlXZpkuOE6roZ62XtTVa+Yd2lrqwQago= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705977173; c=relaxed/simple; bh=PuoXL9IdPvfHwmMmwXtVQe0uMpiNrIBtvpFvqCKinUE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HI6nlsbsTMmhbSYHXwquhn2UoVAvkLbTOFMrkfqWxbrnZNfs6Vj2xeiDow92USiZBMvbwHRFVLDBEwmsyztC6Ba6Ts/iIxnR/F3hT3/gxmpvuvhKuN3xINWICDVgFtnfa+Y39+212/5NyNpT7EZ7EC1zio6k2YNNpO8YeUeUQMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jXiSnJNl; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jXiSnJNl" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a3082d450adso141651566b.1 for ; Mon, 22 Jan 2024 18:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705977170; x=1706581970; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bTu7e+R2osSeEN8Xk/RtMHC9XeUYH+SQtEvbC2VNoMo=; b=jXiSnJNlWIDGRwj/fM3ivjZGnS2sOIK18VISXE9ozgPRqo97hJLGVPQoI9IxdxSA0n DwNyYNYSkElUrfD76jjN7m5IiJjRS6r9WqM8NxG3qwpbQU1o/5I8LALxbnoI4XUej+eK XQVfqmy+RG7k4vA8BtxRgEnEQjNhnHc/3Us7f9PwT36hP/Vo5L/U4w5GTIxGVNhLbQ6b qdqQjQVC1NF1fetS7FcGyb6oV2nyWSrknXxgaZmkA0RIsRb3JGQ8pyk1cP1gB1xN259c EjJPZyy29SrnZH83Mq+UsBIeczJIFe2p9gtOVQ+lYhMbU9ScY6b5PlzsCzL8y5s0jrKz nTRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705977170; x=1706581970; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bTu7e+R2osSeEN8Xk/RtMHC9XeUYH+SQtEvbC2VNoMo=; b=hMhoKtp+koXD/chZImEqMsYySN21T3401/3V5P/j6hXl+YdBS/kd65UXUV53ps5NH/ PPnCNQagXwCO4YEA4mM0niubbarug4UxhR4U8P2at7NKC6nX4nJd+lyjuQ1yBW2EjDqA FaA4gTzM1hLoyoFj6uO7fU+ZVArrjnal8FpT/IiWzNZg+wWTv0hKDCq0RLyYjWHamuEl /QsreTChRhKu9sk5y02faF+4GDNm6cCi2Wx3jiYYiiQuWnLnUHd5tHC0Ld84cNDApqhE PrBk+2t621J9n8ESMaKSATYvYSzAuJMINiq2hg2wZ5FvYEjfdWG4W15zsmFjt4JB3/0i G53Q== X-Gm-Message-State: AOJu0YyZBYwaYuKkc4fSvNNW7+5CeBPqaCAX9CwdX8SdnmNI9FujJjwP 6WKnlYxsNVAFwlwqPsoBz9bKlzGF6zcot8E5x3yUPmIGDKPSTivxyB/oNaCN42cseyCk+xyVCM1 m7Qt86Ao1egIaBWpAhnDC4foZu8s0JClS X-Google-Smtp-Source: AGHT+IE7VdcQSqNrPhkD9owPZ1XUsP0f4OqLr/OJRdAs4mUyZIPiwMT97B31EG2v+CaXbSobt+7BPfP+Ubee7g1kU80= X-Received: by 2002:a17:906:c43:b0:a28:fd0e:6051 with SMTP id t3-20020a1709060c4300b00a28fd0e6051mr2306716ejf.33.1705977170369; Mon, 22 Jan 2024 18:32:50 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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> In-Reply-To: From: Dave Airlie Date: Tue, 23 Jan 2024 12:32:39 +1000 Message-ID: Subject: Re: [BUG] BUG: kernel NULL pointer dereference at ttm_device_init+0xb4 To: Steven Rostedt Cc: "Bhardwaj, Rajneesh" , Linus Torvalds , LKML , Felix Kuehling , =?UTF-8?Q?Christian_K=C3=B6nig?= , dri-devel@lists.freedesktop.org, Fedor Pchelkin Content-Type: text/plain; charset="UTF-8" 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. Dave. 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 D7365C46CD2 for ; Tue, 23 Jan 2024 02:33:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 375D210E02F; Tue, 23 Jan 2024 02:33:54 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3088210E02F for ; Tue, 23 Jan 2024 02:33:52 +0000 (UTC) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a309222cc62so106223766b.3 for ; Mon, 22 Jan 2024 18:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705977170; x=1706581970; darn=lists.freedesktop.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bTu7e+R2osSeEN8Xk/RtMHC9XeUYH+SQtEvbC2VNoMo=; b=gfAet8eOvMuSoNivgSR4d2hWVQSrHaXWry5DNc0ZCXA5WYlNw4MsUdqsztbU5ZTPLn bTPDaW54bcK8tQ6sLgo9744aodG12TcNBNNUxqiaRRaguV0NKaJ/SWpmxMa1a5AnV/To URfT2KKNMzh3RVFji3nU9nZlKQdfBl9b3vNNynTsJ1qUftS3oTP+T7NzdLy06N8YyxfU pc18e7ZSlDJTGocdsfxxEEMT0l7BML6ewdZR43BEezu/bknZb5e9pvTs+61ldWmGpydJ QYHQNMI+lgbO+eAhyn0Axgqdu6oVRqmvDi2hEOtwuFyAyTP7/IENe+8MDJWGW4RHfHq2 pUIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705977170; x=1706581970; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bTu7e+R2osSeEN8Xk/RtMHC9XeUYH+SQtEvbC2VNoMo=; b=bqQ1NS0DI8cvTZNfd/Ox3osPw7pcVPN1TAiEGlpj5qT402Zn1iIAmFOsdTVS3rbYYo ZZVzjiTUoI4CZV7xj+kofwgrVS3CbJ6gcH/SAZpcx13TEeS/dzx+khkNwwr3hWls6fWG f2CaoJUwIqNG6MF45kguB0qM+TxfPpsuaJWf1CWlz9sycVRXeETDtI3IWnGjrWmFTaLr 31Lfzylnvr+woOMs1xFRRv9dKq/XR9ZdOH4YbSpT+tlbsotKwdBxhQd/Hk+34+akZAEa nXbB640OIF+8p0bEX1X59U7pMniYx8Pn5dWpdd3teJCFVIT3jnLArZFl0jFBy/veSmwp xF9Q== X-Gm-Message-State: AOJu0YyL4ezSbMqq1e3JIZtU2CMwouQDs3OZJxNVJJCj3/04y0TWNrn6 JQJHJMPJYHLuBf3riEyFYEOOmEZXY83NF1KYq3RAvdxZVWuLKz2eLEWQEpUxPWpnfoa54O3G1dE JRRcCqqrb7gatAQiI2YAbLj6U9Sg= X-Google-Smtp-Source: AGHT+IE7VdcQSqNrPhkD9owPZ1XUsP0f4OqLr/OJRdAs4mUyZIPiwMT97B31EG2v+CaXbSobt+7BPfP+Ubee7g1kU80= X-Received: by 2002:a17:906:c43:b0:a28:fd0e:6051 with SMTP id t3-20020a1709060c4300b00a28fd0e6051mr2306716ejf.33.1705977170369; Mon, 22 Jan 2024 18:32:50 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: From: Dave Airlie Date: Tue, 23 Jan 2024 12:32:39 +1000 Message-ID: Subject: Re: [BUG] BUG: kernel NULL pointer dereference at ttm_device_init+0xb4 To: Steven Rostedt Content-Type: text/plain; charset="UTF-8" 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 , =?UTF-8?Q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Dave.