qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Jason Wang <jasowang@redhat.com>
Cc: mst@redhat.com, qemu-devel@nongnu.org, yi.l.liu@intel.com,
	yi.y.sun@linux.intel.com, eperezma@redhat.com, lulu@redhat.com
Subject: Re: [PATCH V4 0/4] PASID support for Intel IOMMU
Date: Thu, 27 Oct 2022 10:35:26 -0400	[thread overview]
Message-ID: <Y1qXLtXnAwjN87wF@x1n> (raw)
In-Reply-To: <20221027075042.16894-1-jasowang@redhat.com>

On Thu, Oct 27, 2022 at 03:50:38PM +0800, Jason Wang wrote:
> Hi All:
> 
> This series tries to introduce PASID support for Intel IOMMU. The work
> is based on the previous scalabe mode support by implement the
> ECAP_PASID. A new "x-pasid-mode" is introduced to enable this
> mode. All internal vIOMMU codes were extended to support PASID instead
> of the current RID2PASID method. The code is also capable of
> provisiong address space with PASID. Note that no devices can issue
> PASID DMA right now, this needs future work.
> 
> This will be used for prototying PASID based device like virtio or
> future vPASID support for Intel IOMMU.
> 
> Test has been done with the Linux guest with scalalbe mode enabled and
> disabled. A virtio prototype[1][2] that can issue PAISD based DMA
> request were also tested, different PASID were used in TX and RX in
> those testing drivers.
> 
> Changes since V3:
> 
> - rearrange the member for vtd_iotlb_key structure
> - reorder the pasid parameter ahead of addr for vtd_lookup_iotlb()
> - allow access size from 1 to 8 for vtd_mem_ir_fault_ops

Reviewed-by: Peter Xu <peterx@redhat.com>

-- 
Peter Xu



      parent reply	other threads:[~2022-10-27 14:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27  7:50 [PATCH V4 0/4] PASID support for Intel IOMMU Jason Wang
2022-10-27  7:50 ` [PATCH V4 1/4] intel-iommu: don't warn guest errors when getting rid2pasid entry Jason Wang
2022-10-27 13:20   ` Yi Liu
2022-10-28  2:03     ` Jason Wang
2022-10-27  7:50 ` [PATCH V4 2/4] intel-iommu: drop VTDBus Jason Wang
2022-10-27  7:50 ` [PATCH V4 3/4] intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a function Jason Wang
2022-10-27 13:16   ` Yi Liu
2022-10-28  2:04     ` Jason Wang
2022-10-27  7:50 ` [PATCH V4 4/4] intel-iommu: PASID support Jason Wang
2022-10-27 14:35 ` Peter Xu [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=Y1qXLtXnAwjN87wF@x1n \
    --to=peterx@redhat.com \
    --cc=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=lulu@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yi.l.liu@intel.com \
    --cc=yi.y.sun@linux.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;
as well as URLs for NNTP newsgroup(s).