Linux virtualization list
 help / color / mirror / Atom feed
From: "Huang, Honglei" <honghuan@amd.com>
To: Dmitry Osipenko <dmitry.osipenko@collabora.com>,
	Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Cc: "Gurchetan Singh" <gurchetansingh@chromium.org>,
	"Chia-I Wu" <olvaffe@gmail.com>, "Ray Huang" <Ray.Huang@amd.com>,
	dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev,
	linux-kernel@vger.kernel.org, "David Airlie" <airlied@redhat.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [RFC PATCH v10 0/4] drm/virtio: userptr blobs for native-context compute
Date: Mon, 30 Nov 2026 16:23:29 +0800	[thread overview]
Message-ID: <03235eea-974e-45fa-b2d0-317eb4453b6f@amd.com> (raw)
In-Reply-To: <ef65b7ae-3d02-46ee-ad2f-b260156ef96e@collabora.com>



On 11/27/2026 10:32 PM, Dmitry Osipenko wrote:
> Hi,
> 
> On 11/25/26 09:41, Huang, Honglei wrote:
>>
>>
>> On 11/6/2026 4:26 PM, Honglei Huang wrote:
>>> This series adds virtio-gpu userptr support for ROCm native compute
>>> contexts. The guest kernel pins an existing userspace mapping with
>>> FOLL_LONGTERM and exposes it to the host as ordinary CREATE_BLOB
>>> backing entries, avoiding a second shmem allocation and memcpy.
>>>
>>> A non-zero userptr field selects that path. Probe
>>> VIRTGPU_PARAM_USERPTR before using the field so an older guest kernel
>>> rejects the request instead of silently creating a shmem blob.
>>>
>>> See overall detail in virglrenderer pr [1]
>>
>> Hi all,
>>
>> Any review comments on this series? includes code for the kernel, QEMU,
>> and other components.
>>
>> Open to any review.
> 
> I want to see ack on VIRTIO_GPU_FLAG_BLOB_READONLY_ENABLED and userptr 
> patches from Akihiko before merging since he requested the RO 
> enforcement feature and reviewed userpatch patch.
> 

Hi Dmitry,
Yes, totally agreed.

Hi Akihiko,
Your feedback has helped the readonly contract, DMA coherence 
requirements and resource lifetime handling across the virtio GPU stack. 
Really appreciate your contribution.
I think your continued review will be important for future virtio-gpu
userptr changes, and I'd welcome your help in guiding its longer term
development.

Regards,
Honglei




> BTW, you may drop RFC, this is already v10. RFC usually comes before v1.
> 


      reply	other threads:[~2026-11-30  8:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06  8:26 [RFC PATCH v10 0/4] drm/virtio: userptr blobs for native-context compute Honglei Huang
2026-11-06  8:26 ` [RFC PATCH v10 1/4] drm/virtio: add VIRTIO_GPU_CAPSET_ROCM capability Honglei Huang
2026-11-06  8:30   ` sashiko-bot
2026-11-27 13:19   ` Dmitry Osipenko
2026-11-30  9:47     ` Huang, Honglei
2026-11-06  8:26 ` [RFC PATCH v10 2/4] drm/virtio: add userptr blob resource to the UAPI Honglei Huang
2026-11-06  8:34   ` sashiko-bot
2026-11-27 13:19   ` Dmitry Osipenko
2026-11-06  8:26 ` [RFC PATCH v10 3/4] drm/virtio: implement userptr resource support Honglei Huang
2026-11-06  8:45   ` sashiko-bot
2026-11-27 13:45   ` Dmitry Osipenko
2026-11-06  8:26 ` [RFC PATCH v10 4/4] drm/virtio: wire blob ioctl creation to userptr objects Honglei Huang
2026-11-06  8:42   ` sashiko-bot
2026-11-27 13:59   ` Dmitry Osipenko
2026-11-30  9:48     ` Huang, Honglei
2026-11-25  6:41 ` [RFC PATCH v10 0/4] drm/virtio: userptr blobs for native-context compute Huang, Honglei
2026-11-27 14:32   ` Dmitry Osipenko
2026-11-30  8:23     ` Huang, Honglei [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=03235eea-974e-45fa-b2d0-317eb4453b6f@amd.com \
    --to=honghuan@amd.com \
    --cc=Ray.Huang@amd.com \
    --cc=airlied@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=dmitry.osipenko@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gurchetansingh@chromium.org \
    --cc=kraxel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
    --cc=olvaffe@gmail.com \
    --cc=virtualization@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