public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yi Liu <yi.l.liu@intel.com>
To: <jgg@nvidia.com>
Cc: <alex.williamson@redhat.com>, <kevin.tian@intel.com>,
	<kvm@vger.kernel.org>, <mjrosato@linux.ibm.com>,
	<chao.p.peng@linux.intel.com>, <yi.y.sun@linux.intel.com>,
	<intel-gvt-dev@lists.freedesktop.org>,
	<linux-s390@vger.kernel.org>,
	"Tony Krowiak" <akrowiak@linux.ibm.com>,
	Halil Pasic <pasic@linux.ibm.com>,
	"Jason Herne" <jjherne@linux.ibm.com>,
	Zhenyu Wang <zhenyuw@linux.intel.com>,
	"Zhi Wang" <zhi.a.wang@intel.com>
Subject: Re: [iommufd PATCH v2 0/2] Make mdev driver dma_unmap callback tolerant to unmaps come before device open
Date: Tue, 29 Nov 2022 19:01:47 +0800	[thread overview]
Message-ID: <debb397f-916c-b5b5-2905-dc7159843c75@intel.com> (raw)
In-Reply-To: <20221129093535.359357-1-yi.l.liu@intel.com>

On 2022/11/29 17:35, Yi Liu wrote:
> Jason's "Connect VFIO to IOMMUFD" introduces vfio iommufd compat mode. Under
> this mode, vfio_iommufd_bind() creates an access which has an unmap callback,
> which can be called immediately. This means mdev drivers may receive unmap
> requests before the mdev is opened. For now, there are only three drivers
> (gvt, vfio-ap and vfio-ccw) providing dma_unmap(). vfio-ccw is fine with
> such requests. While gvt-g and vfio-ap may have potential problem with such
> requests due to internal implementation. This series tries to enhance the two
> drivers.
> 
> This series is based on Jason's below branch.
> 
> https://github.com/jgunthorpe/linux/tree/iommufd
> 
> (commit: 41973418f6c8c241ed5647d1408d5b917f24dfd8)

it's resent as below link. Please ignore this series.

https://lore.kernel.org/kvm/20221129105831.466954-1-yi.l.liu@intel.com/

> Change:
> v2:
>   - Refine the cover letter and commit message of patch 0001 (Kevin)
>   - Rename patch 0001 to better fit the commit message
>   - Add r-b from Zhi for patch 0001
>   - tweak iova range test to assume page-aligned for patch 0002 (Jason)
>   - Remove break so all queues within range are removed for patch 0002 (Kevin)
> 
> v1: https://lore.kernel.org/kvm/20221123134832.429589-1-yi.l.liu@intel.com/
> 
> Cc: Tony Krowiak <akrowiak@linux.ibm.com>
> Cc: Halil Pasic <pasic@linux.ibm.com>
> Cc: Jason Herne <jjherne@linux.ibm.com>
> Cc: linux-s390@vger.kernel.org
> Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> Cc: Zhi Wang <zhi.a.wang@intel.com>
> Cc: Kevin Tian <kevin.tian@intel.com>
> Cc: intel-gvt-dev@lists.freedesktop.org
> 
> Regards,
> 	Yi Liu
> 
> Matthew Rosato (1):
>    vfio/ap: validate iova during dma_unmap and trigger irq disable
> 
> Yi Liu (1):
>    i915/gvt: Move gvt mapping cache initialization to vGPU creation
> 
>   drivers/gpu/drm/i915/gvt/gvt.h    |  2 ++
>   drivers/gpu/drm/i915/gvt/kvmgt.c  |  7 ++-----
>   drivers/gpu/drm/i915/gvt/vgpu.c   |  2 ++
>   drivers/s390/crypto/vfio_ap_ops.c | 18 +++++++++++++++++-
>   4 files changed, 23 insertions(+), 6 deletions(-)
> 

-- 
Regards,
Yi Liu

      parent reply	other threads:[~2022-11-29 11:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29  9:35 [iommufd PATCH v2 0/2] Make mdev driver dma_unmap callback tolerant to unmaps come before device open Yi Liu
2022-11-29  9:35 ` [iommufd PATCH v2 1/2] i915/gvt: Move gvt mapping cache initialization to vGPU creation Yi Liu
2022-11-29  9:35 ` [iommufd PATCH v2 2/2] vfio/ap: validate iova during dma_unmap and trigger irq disable Yi Liu
2022-11-29 11:01 ` Yi Liu [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=debb397f-916c-b5b5-2905-dc7159843c75@intel.com \
    --to=yi.l.liu@intel.com \
    --cc=akrowiak@linux.ibm.com \
    --cc=alex.williamson@redhat.com \
    --cc=chao.p.peng@linux.intel.com \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=jgg@nvidia.com \
    --cc=jjherne@linux.ibm.com \
    --cc=kevin.tian@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=mjrosato@linux.ibm.com \
    --cc=pasic@linux.ibm.com \
    --cc=yi.y.sun@linux.intel.com \
    --cc=zhenyuw@linux.intel.com \
    --cc=zhi.a.wang@intel.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