Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2790117pxj; Sun, 6 Jun 2021 14:17:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwupEZL1GHf6Pj68+hTzKbdwPskjkZe7Q1NqlgL+s2m6IR9fanfcefRuAiFxsQLJtyZu8bZ X-Received: by 2002:a17:906:85d5:: with SMTP id i21mr13151879ejy.360.1623014270956; Sun, 06 Jun 2021 14:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623014270; cv=none; d=google.com; s=arc-20160816; b=no2BQJvkqmGD1KSuunHTPJOEFBK3GR+ZJCahxMD0CkEbjkpTgAT+/xzzDZLwrfLuCx O1BvjhrBweAGTsG/XSwoXOCrQzNk+FAToaa6dEc+4G6+glk1LODHLsZlGxeSy7lVW1q4 DIUWWA/3eCoffMKrEV3PzxLuDmqaKuMSoStyYYJVp1KJNPa7C44X0gwYAgkfvkFvz7tZ QrSbAsmO3ALJBtOcbGpI29wmHd7mLeKAvSENSGrr+C/g1FFziKAxIqRPWwvjAu2cDWI7 ul77WQ6O3yomNZ0sFZJTmr5hQam16bwJ+mI5S27ZowP8GT+mGygcfWslgJ0EojeuHUvB dtsg== 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=5EZS+pUOktquUO9NnHwdkEMxVXzlYWKGOiieQm0bw5M=; b=PuyJu2oEVAO6Hj1FZQFptfnjgTUBupEKV1UDwtgI7KXSx/ZcMm7utgZ8TgHesJUXnl 3R3vmgORoGKJaUedwnRnl29UsVGCyKRDrIze1uCjzHmoslUEmROon06KMhDriN3yGF4c cR4SCssGxZ4M4fuBJhWRO8xKu52yGvafaCzc7tJ6J2BczJ4akvRbJZm4HnbyLxht+/Ee UjIjXlJpeTc34h8vr3b+53cX4Z1SY2B6Z+4qzsKDenaBBgkpWlZ1nYtsHxEWs1qcm84v zCpcIVBLxHxLpImBmDoXxTw/YBe03rVP8lvx21BJNOMShrudhQs5oUCFLwLZV3cDXRo9 7rXg== 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 gn42si14041613ejc.155.2021.06.06.14.17.28; Sun, 06 Jun 2021 14:17:50 -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 S230381AbhFFVR6 (ORCPT + 99 others); Sun, 6 Jun 2021 17:17:58 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:55282 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbhFFVR5 (ORCPT ); Sun, 6 Jun 2021 17:17:57 -0400 Received: from [192.168.0.2] (unknown [188.167.68.178]) (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 E3DBC7A021C; Sun, 6 Jun 2021 23:16:05 +0200 (CEST) From: Ondrej Zary To: Ben Skeggs Subject: Re: nouveau broken on Riva TNT2 in 5.13.0-rc4: NULL pointer dereference in nouveau_bo_sync_for_device Date: Sun, 6 Jun 2021 23:16:03 +0200 User-Agent: KMail/1.9.10 Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <202106052143.52488.linux@zary.sk> <202106052334.23943.linux@zary.sk> In-Reply-To: <202106052334.23943.linux@zary.sk> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <202106062316.03369.linux@zary.sk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 05 June 2021 23:34:23 Ondrej Zary wrote: > On Saturday 05 June 2021 21:43:52 Ondrej Zary wrote: > > Hello, > > I'm testing 5.13.0-rc4 and nouveau crashes with NULL pointer dereference in nouveau_bo_sync_for_device. > > Found various reports like this but that was back in februaryso that should be fixed now. > > So it is the same bug. Broken since 5.11. This revert fixes it in 5.11: > https://lists.freedesktop.org/archives/dri-devel/2021-February/298531.html > > Added some debug printks to nouveau_bo_sync_for_device: > [ 22.225048] ttm_dma=fc33b500 > [ 22.225066] ttm_dma->num_pages=18 > [ 22.225071] i=0 num_pages=16 > [ 22.225077] ttm_dma->dma_address=00000000 > [ 22.225094] BUG: kernel NULL pointer dereference, address: 00000000 > > So ttm->dma_address is NULL. > Tested reverting f295c8cfec833c2707ff1512da10d65386dde7af again and it does not work... Not sure what I did before. Bisecting between 5.10 and 5.11 is impossible - I keep hitting neverending stream of bugs. As always with nouveau... -- Ondrej Zary