Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4971885pxj; Wed, 9 Jun 2021 06:28:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSpftDSSyeZQ7mDfNMJMKShl6hmxanT5QQddOY4Yo8xMKS+G7Dk2f1r64jqFzb7eQCtuWL X-Received: by 2002:aa7:cc87:: with SMTP id p7mr30116582edt.82.1623245282422; Wed, 09 Jun 2021 06:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623245282; cv=none; d=google.com; s=arc-20160816; b=a6Pl8tlgSjKH4ZSxxL30AiPxrxwlvqTBfjdqwNiitXzvEpnf/i7kinX4ibrdsk4Gdp EWZ/J5d+2JMWBka9yVgmyO3AnjkzVX4iyQfcLkhTVtlwgnp1jwCS47OS+umdFejtyZ0n 4qaAqfHWnwbY/kTT4+hS+AT4bG+wFBMqJ5Q07fME6nEO0Eo97CPPnv4ZmgVBcBq+/teG ma4uDOwU7PYikObl9RsVvm/fuaAPhiKWLdOqmsmTCqYekGKxPx7TqtrLTYu7acSYJvxR ojOlTupJJloDekBKwDmfpw2urSngSwNWa4bVWHW7Q60hYBk3PjR27/yalliwElpXTfm8 vC0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from; bh=xIyOJ8JVk0lLOGmlQOFIu2Mr4KlN6fYzesuTWAfs+mg=; b=STuU9L2sqTSwimDk5xGmdk3hGYj29ICmhiv4yKNlGeENCZHieBgsuKY5fWPEc0GhZx hZAVWidLhARHbn+reuovtW3Lpf9m3FkPybYjz2gHxYiKR/oXt0uWli4aEm5E5KHjevzI pFrfIbb1hBQ1j9jCEvTb9oA86x6wQ80h9ZQh9u+JJq9BTrYgMT+tQb9IBtJ9495/3Tmx pQvi4Xr4uBb19G+KThLk/Wi++cHlVOadIecv9ztx3dKasI3fs8X0XHKIq72awvkVT6Yz nxWH2YV7YBVQGf7iXnM34TgKPLDzIhRQGGSihkyZ7Y5I4TZgZVFWpEPTtd3wU3+ftJyf ekgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si2357648edr.39.2021.06.09.06.27.39; Wed, 09 Jun 2021 06:28:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234473AbhFIHMu convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Jun 2021 03:12:50 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:56808 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233692AbhFIHMt (ORCPT ); Wed, 9 Jun 2021 03:12:49 -0400 Received: from [192.168.1.3] (ns.gsystem.sk [62.176.172.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id 8496D7A025C; Wed, 9 Jun 2021 09:10:54 +0200 (CEST) From: Ondrej Zary To: Christian =?utf-8?q?K=C3=B6nig?= Subject: Re: nouveau broken on Riva TNT2 in 5.13.0-rc4: NULL pointer dereference in nouveau_bo_sync_for_device Date: Wed, 9 Jun 2021 09:10:51 +0200 User-Agent: KMail/1.9.10 Cc: Ben Skeggs , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <202106052143.52488.linux@zary.sk> <202106090857.42133.linux@zary.sk> <1c4a7360-57e3-c75a-c729-1432db5b90b9@amd.com> In-Reply-To: <1c4a7360-57e3-c75a-c729-1432db5b90b9@amd.com> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <202106090910.51188.linux@zary.sk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 09 June 2021, Christian König wrote: > Am 09.06.21 um 08:57 schrieb Ondrej Zary: > > [SNIP] > >> Thanks for the heads up. So the problem with my patch is already fixed, > >> isn't it? > > The NULL pointer dereference in nouveau_bo_wr16 introduced in > > 141b15e59175aa174ca1f7596188bd15a7ca17ba was fixed by > > aea656b0d05ec5b8ed5beb2f94c4dd42ea834e9d. > > > > That's the bug I hit when bisecting the original problem: > > NULL pointer dereference in nouveau_bo_sync_for_device > > It's caused by: > > # first bad commit: [e34b8feeaa4b65725b25f49c9b08a0f8707e8e86] drm/ttm: merge ttm_dma_tt back into ttm_tt > > Good that I've asked :) > > Ok that's a bit strange. e34b8feeaa4b65725b25f49c9b08a0f8707e8e86 was > created mostly automated. > > Do you have the original backtrace of that NULL pointer deref once more? The original backtrace is here: https://lkml.org/lkml/2021/6/5/350 -- Ondrej Zary