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 A4E46606A31A for ; Wed, 2 Dec 2026 06:56:02 +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=XHSLS6tS Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4460E10E9E2; Wed, 2 Dec 2026 06:55:57 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 250E110FC73 for ; Wed, 2 Dec 2026 06:55:51 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 210AB60D82; Wed, 2 Dec 2026 06:55:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB9B21F00893; Wed, 2 Dec 2026 06:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796194549; bh=wO9lcJfF3RfzDxuFcq0aw+mVUGgACw8D/ctJD7WvWLs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=XHSLS6tSb515iw6IiUePDcb+gW/HJO8oBPvew7+YBIAb6KzdPxjXNugkhuY4vE0L5 0Qn7o8a3jTVJ2c3h1ZyK1q1s5JGqx1Isgx1/LodEuDA//Fz8g1Gfico555cfDe6fWK zu8DAnmQfT4nJv5hNrWCfC5utwExbBhGPogP2H8jarykdT7VTuMv/92pziW6fqzhc6 DRve5q94DQ7IiSQK8IrSyghoX1VeW92WT0qgqv4H2xaQTn76Bb0DizFhKX3VLznS0f 1o6G7vf8r4wk/5GjCGKXCHKf8m2ctx7HU6Ww1KznxXHobGhEnYf+qF8gQTM2/w30lv VzgPe0rMa/9uA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] drm/amdgpu: Unbind SPM VMID before freeing VM page tables To: "Srinivasan Shanmugam" Cc: amd-gfx@lists.freedesktop.org In-Reply-To: <20261202064411.1777814-1-srinivasan.shanmugam@amd.com> References: <20261202064411.1777814-1-srinivasan.shanmugam@amd.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 06:55:49 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "amd-gfx" 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/amdgpu: Fixes trailer references non-ancestor commit SHA 7241de50e0cb -- commit ba60e80366311768b89938b494a9ee9c7f5ee068 Author: Srinivasan Shanmugam > drm/amdgpu: Unbind SPM VMID before freeing VM page tables > > If a VM is closed while its SPM VMID is still reserved, amdgpu_vm_fini() > frees the root page table before releasing that VMID. The SPM VMID can > therefore remain bound to a page table that is being torn down. > > Move the fallback VMID release after the existing waits and before > page-table cleanup. Releasing it points the VMID at a faulting address > and flushes its TLB. > > Fixes: 7241de50e0cb ("drm/amdgpu: bind the SPM VMID's page table to the r= eserving VM") > Cc: Sunil Khatri > Cc: Christian K=C3=B6nig > Signed-off-by: Srinivasan Shanmugam [Severity: Low] 7241de50e0cb ("drm/amdgpu: bind the SPM VMID's page table to the reserving = VM") is not in the branch history. In this tree, that change was merged as ba56c52af8fd ("drm/amdgpu: bind the SPM VMID's page table to the reserving = VM"). Should the Fixes tag be: Fixes: ba56c52af8fd ("drm/amdgpu: bind the SPM VMID's page table to the r= eserving VM") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202064411.1777= 814-1-srinivasan.shanmugam@amd.com?part=3D1