From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E9E5606A31A for ; Wed, 2 Dec 2026 05:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ecgVzvAq Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA31610E0BD; Wed, 2 Dec 2026 05:34:05 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6614F10E0BD for ; Wed, 2 Dec 2026 05:34:00 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 19F9440B50; Wed, 2 Dec 2026 05:34:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCC241F000C1; Wed, 2 Dec 2026 05:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796189640; bh=D/hZw7VMzcygnjiK6lLdb9VrsILJi1vDgo4hXKJ2ZIU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ecgVzvAqiBgyjoha+aOz3BuFH+3tthomBO3PoWuhGFwmUC6KAwVHobAwEwYmyMPe+ 12NNIvkv+Y1gw1qwq2htfxAQg0848DGXokzIV6S16k94/AncU9AERX4oytYhMOiPzp 2GnznPeuF+nxAiYVz2tqTW683spOUHh5r9wfyqU8t4U6DC2BFk7NGyyD7V65n4rNfj oV+xX94D8ytfHgAVufrP9rAuJsxfpNxxbyj3R8LDAlGTgPGNgGdcqS+PeJ7FLGW9LT dJ0yvuj9JXXiKNcvTNj6++MCdPdgUq0wc4IRZs0tTIDhbGT2SZEgx/aep9f64OG6sP G5syy5QkGhYow== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 02/19] drm/nouveau/fault: Mask off instance aperture bits in GV100 fault-buffer entries To: "Mikko Perttunen" Cc: dri-devel@lists.freedesktop.org In-Reply-To: <20261202-nouveau-gv11b-v1-2-758af3553ef6@nvidia.com> References: <20261202-nouveau-gv11b-v1-0-758af3553ef6@nvidia.com> <20261202-nouveau-gv11b-v1-2-758af3553ef6@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 05:33:59 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/nouveau/fault: missing Fixes: trailer for gv100_fault_buffer_process() -- commit 621b25d2da91be8770778d0a4ce5567c196b23c3 Author: Mikko Perttunen > drm/nouveau/fault: Mask off instance aperture bits in GV100 fault-buffer = entries > > The low instance word in a GV100 fault-buffer entry holds address bits > in 31:12 and the instance aperture in bits 9:8. For a channel instance > in VRAM, the aperture bits are zero. GV11B doesn't have VRAM, so the > aperture bits are nonzero, the value gets misinterpreted and > nvkm_chan_get_inst misses the faulting channel. > > Mask off the low 12 bits when assembling the instance address. > > Signed-off-by: Mikko Perttunen [Severity: Low] This fixes the unmasked instlo assembly in gv100_fault_buffer_process(). Should it include a Fixes: tag? Fixes: 8b811951c604 ("drm/nouveau/fault/gv100: initial support") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202-nouveau-gv= 11b-v1-0-758af3553ef6@nvidia.com?part=3D2