AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Mukul Joshi" <mukul.joshi@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: reject UALink peers outside the vPod active set
Date: Fri, 04 Dec 2026 03:57:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-249072@kernel.org> (raw)
In-Reply-To: <20261204034336.940330-1-mukul.joshi@amd.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/amdgpu: missing Fixes trailers on UALink peer validation
  bug-fix commit
--

commit 37d1bf77df3bc8c5b8bf6a9b288a54b6e7fd9a36
Author: Mukul Joshi <mukul.joshi@amd.com>

> drm/amdgpu: reject UALink peers outside the vPod active set
>
> remote->peer[] is only set up for active vPod members other than this
> GPU, but the import ioctl and HELLO processing only range-check the
> accelerator id. An unused id makes connection setup run on a zeroed
> peer: an uninitialized mutex and scheduler entity, and GPU address 0.
>
> Reject such ids in the import ioctl, connection setup and HELLO
> processing.
>
> Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>

[Severity: Low]
This fixes missing active vPod peer checks in the connection management
and import ioctl paths.  Should this include:

  Fixes: 2b4c5569d888 ("drm/amdgpu: Add connection state management")
  Fixes: a9a7035e2ec9 ("drm/amdgpu: Implement UALink handle import ioctl")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204034336.940330-1-mukul.joshi@amd.com?part=1

      reply	other threads:[~2026-12-04  3:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  3:43 [PATCH] drm/amdgpu: reject UALink peers outside the vPod active set Mukul Joshi
2026-12-04  3:57 ` 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-249072@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=mukul.joshi@amd.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox