The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Creeley, Brett" <bcreeley@amd.com>
To: Xiong Weimin <xiongweimin@kylinos.cn>,
	Brett Creeley <brett.creeley@amd.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowangio@gmail.com>,
	Jason Wang <jasowang@redhat.com>,
	Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
	Eugenio Perez <eperezma@redhat.com>,
	virtualization@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vdpa/pds: check virtqueue notify mapping
Date: Thu, 6 Aug 2026 09:21:24 -0700	[thread overview]
Message-ID: <05ed4e3e-ce2c-4b5c-8bbf-2e1a2e820466@amd.com> (raw)
In-Reply-To: <178597788671.1875248.17519886919048135568@kylinos.cn>



On 8/5/2026 5:58 PM, Xiong Weimin wrote:
> [You don't often get email from xiongweimin@kylinos.cn. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> On Tue, Aug 04, 2026, Brett Creeley wrote:
>> Nit, but why dev_warn() instead of dev_err()? It looks like this was
>> copied, but I wonder if the other spot should be a dev_err() instead of
>> a dev_warn too?
>>
>> Other than that, LGTM.
>>
>> Reviewed-by: Brett Creeley <brett.creeley@amd.com>
> Thanks for the review. Agreed — this is a hard failure on the device
> add path, and the rest of pds_vdpa_dev_add() already uses dev_err().
> I'll send a standalone [PATCH v2] with that change and your
> Reviewed-by.
>
> The matching "Fail to map vq notify" in vp_vdpa.c is pre-existing; I
> can clean that up in a separate patch if you prefer.

You could try sending as a separate patch. I was just pointing out that, 
at least for pds_vdpa, this isn't a warning, but an error. I believe 
that's the case for vp_vdpa.c too.

Thanks,

Brett
>
> Thanks,
> Xiong


  reply	other threads:[~2026-08-06 16:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04  8:53 [PATCH] vdpa/pds: check virtqueue notify mapping Xiong Weimin
2026-08-05 20:40 ` Creeley, Brett
2026-08-06  0:58 ` Xiong Weimin
2026-08-06 16:21   ` Creeley, Brett [this message]
2026-08-07  1:58     ` Xiong Weimin
2026-08-07  1:58       ` [PATCH] vdpa/virtio_pci: use dev_err for vq notify map failure Xiong Weimin

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=05ed4e3e-ce2c-4b5c-8bbf-2e1a2e820466@amd.com \
    --to=bcreeley@amd.com \
    --cc=brett.creeley@amd.com \
    --cc=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jasowangio@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux.dev \
    --cc=xiongweimin@kylinos.cn \
    --cc=xuanzhuo@linux.alibaba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox