All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Srinivasan Shanmugam" <srinivasan.shanmugam@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: Unbind SPM VMID before freeing VM page tables
Date: Wed, 02 Dec 2026 06:55:49 +0000	[thread overview]
Message-ID: <sashiko-outbox-245004@kernel.org> (raw)
In-Reply-To: <20261202064411.1777814-1-srinivasan.shanmugam@amd.com>

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 <srinivasan.shanmugam@amd.com>

> 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 reserving VM")
> Cc: Sunil Khatri <sunil.khatri@amd.com>
> Cc: Christian König <christian.koenig@amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>

[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 reserving VM")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202064411.1777814-1-srinivasan.shanmugam@amd.com?part=1

      reply	other threads:[~2026-12-02  6:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  6:44 [PATCH] drm/amdgpu: Unbind SPM VMID before freeing VM page tables Srinivasan Shanmugam
2026-12-02  6:55 ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-245004@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=srinivasan.shanmugam@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.