From: Jason Gunthorpe <jgg@nvidia.com>
To: Yishai Hadas <yishaih@nvidia.com>
Cc: alex.williamson@redhat.com, mst@redhat.com, jasowang@redhat.com,
kvm@vger.kernel.org, virtualization@lists.linux-foundation.org,
parav@nvidia.com, feliu@nvidia.com, jiri@nvidia.com,
kevin.tian@intel.com, joao.m.martins@oracle.com,
si-wei.liu@oracle.com, leonro@nvidia.com, maorg@nvidia.com
Subject: Re: [PATCH V6 vfio 7/9] vfio/pci: Expose vfio_pci_core_setup_barmap()
Date: Wed, 6 Dec 2023 20:55:53 -0400 [thread overview]
Message-ID: <20231207005553.GE2692119@nvidia.com> (raw)
In-Reply-To: <20231206083857.241946-8-yishaih@nvidia.com>
On Wed, Dec 06, 2023 at 10:38:55AM +0200, Yishai Hadas wrote:
> Expose vfio_pci_core_setup_barmap() to be used by drivers.
>
> This will let drivers to mmap a BAR and re-use it from both vfio and the
> driver when it's applicable.
>
> This API will be used in the next patches by the vfio/virtio coming
> driver.
>
> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
> ---
> drivers/vfio/pci/vfio_pci_rdwr.c | 7 ++++---
> include/linux/vfio_pci_core.h | 1 +
> 2 files changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
next prev parent reply other threads:[~2023-12-07 0:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 8:38 [PATCH V6 vfio 0/9] Introduce a vfio driver over virtio devices Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 1/9] virtio: Define feature bit for administration virtqueue Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 2/9] virtio-pci: Introduce admin virtqueue Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 3/9] virtio-pci: Introduce admin command sending function Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 4/9] virtio-pci: Introduce admin commands Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 5/9] virtio-pci: Initialize the supported " Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 6/9] virtio-pci: Introduce APIs to execute legacy IO " Yishai Hadas
2023-12-06 8:38 ` [PATCH V6 vfio 7/9] vfio/pci: Expose vfio_pci_core_setup_barmap() Yishai Hadas
2023-12-07 0:55 ` Jason Gunthorpe [this message]
2023-12-06 8:38 ` [PATCH V6 vfio 8/9] vfio/pci: Expose vfio_pci_core_iowrite/read##size() Yishai Hadas
2023-12-07 0:56 ` Jason Gunthorpe
2023-12-06 8:38 ` [PATCH V6 vfio 9/9] vfio/virtio: Introduce a vfio driver over virtio devices Yishai Hadas
2023-12-07 1:09 ` Jason Gunthorpe
2023-12-07 9:54 ` Yishai Hadas
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=20231207005553.GE2692119@nvidia.com \
--to=jgg@nvidia.com \
--cc=alex.williamson@redhat.com \
--cc=feliu@nvidia.com \
--cc=jasowang@redhat.com \
--cc=jiri@nvidia.com \
--cc=joao.m.martins@oracle.com \
--cc=kevin.tian@intel.com \
--cc=kvm@vger.kernel.org \
--cc=leonro@nvidia.com \
--cc=maorg@nvidia.com \
--cc=mst@redhat.com \
--cc=parav@nvidia.com \
--cc=si-wei.liu@oracle.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=yishaih@nvidia.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.