All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
To: Julia Zhang <julia.zhang@amd.com>
Cc: virtio-comment@lists.linux.dev,
	"Michael S . Tsirkin" <mst@redhat.com>,
	Chen Jiqian <Jiqian.Chen@amd.com>,
	Zhu Lingshan <lingshan.zhu@amd.com>,
	Huang Rui <ray.huang@amd.com>
Subject: Re: [PATCH v2 1/1] virtio-gpu: get p2pdma distance
Date: Wed, 26 Feb 2025 11:44:37 +0100	[thread overview]
Message-ID: <Z77wlXhOk+8fZocC@fedora> (raw)
In-Reply-To: <20250226092753.1082042-1-julia.zhang@amd.com>

On Wed, Feb 26, 2025 at 05:27:54PM +0800, Julia Zhang wrote:
> PCI peer-to-peer DMA transaction may be used in guest for some scenes.
> For example, dGPU prime feature will let virtio-iGPU access to
> passthrough dGPU buffer.
> 
> To support P2P DMA transaction in guest, virtio-gpu needs to check the
> compatibility which is represented by p2pdma_distance. This defines a
> command VIRTIO_GPU_CMD_P2PDMA_DISTANCE to allow guest send virtual pci
> notation of two devices to host and get host physical p2pdma_distance
> of these two PCI devices.
> 
> Fixes:https://github.com/oasis-tcs/virtio-spec/issues/217
> Signed-off-by: Julia Zhang <julia.zhang@amd.com>
> Reviewed-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
> ---
> Hi all,
> 
> We are trying to implement dGPU prime feature in guest which will let
> virtio-iGPU read rendered data of passthrough dGPU. Before that, virtio gpu
> driver needs to get p2pdma_distance to check if P2P DMA transaction is
> possible or not.
> 
> To implement getting p2pdma_distance, QEMU needs to handle the command from
> guest with virtual pci notations of two PCI devices and send it to host
> kernel and return host physical distance back to guest.
> 
> So this defines the new command follow the suggestion in https:
> //lore.kernel.org/all/20241207105537.542441-4-julia.zhang@amd.com/
> 
> changes from v1:
>  - add issue link to commit msg
> 
> Regards,
> Julia
> ---

I think what is missing is to explicitly request a vote as is explained
in 2) at
https://github.com/oasis-tcs/virtio-spec/blob/master/README.md#use-of-github-issues.

Thanks, Matias


  reply	other threads:[~2025-02-26 10:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26  9:27 [PATCH v2 1/1] virtio-gpu: get p2pdma distance Julia Zhang
2025-02-26 10:44 ` Matias Ezequiel Vara Larsen [this message]
2025-02-26 10:51 ` Parav Pandit
2025-03-05 10:41   ` Zhang, Julia
2025-03-06  4:29     ` Parav Pandit
2025-03-06  7:16       ` Zhang, Julia
2025-03-10  3:48         ` Parav Pandit
2025-03-10  7:37           ` Zhang, Julia
2025-03-10 10:18             ` Parav Pandit
2025-03-11  3:27               ` Zhang, Julia
2025-03-11  4:00                 ` Parav Pandit
2025-03-11  7:29                   ` Zhang, Julia
2025-03-11 15:14                     ` Parav Pandit
2025-03-12  6:20                       ` Zhang, Julia
2025-03-12 10:11                         ` Parav Pandit
2025-03-13  3:31                           ` Zhang, Julia
2025-03-14  2:15                             ` Parav Pandit
2025-03-14  3:02                               ` Zhang, Julia
2025-03-19 10:45                                 ` Zhang, Julia
2025-03-19 12:23                                   ` Michael S. Tsirkin
2025-03-20 10:00                                     ` Zhang, Julia

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=Z77wlXhOk+8fZocC@fedora \
    --to=mvaralar@redhat.com \
    --cc=Jiqian.Chen@amd.com \
    --cc=julia.zhang@amd.com \
    --cc=lingshan.zhu@amd.com \
    --cc=mst@redhat.com \
    --cc=ray.huang@amd.com \
    --cc=virtio-comment@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 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.