patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: David Matlack <dmatlack@google.com>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
	iommu@lists.linux.dev, Joerg Roedel <joro@8bytes.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Will Deacon <will@kernel.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Kevin Tian <kevin.tian@intel.com>,
	patches@lists.linux.dev, Tina Zhang <tina.zhang@intel.com>,
	Wei Wang <wei.w.wang@intel.com>
Subject: Re: [PATCH v3 00/10] Convert Intel VT-d to use the generic iommu page table
Date: Sat, 8 Nov 2025 00:28:04 +0000	[thread overview]
Message-ID: <aQ6OlHhq4TBM6sF8@google.com> (raw)
In-Reply-To: <0-v3-634ccd3efce0+16d38-iommu_pt_vtd_jgg@nvidia.com>

On 2025-10-23 03:22 PM, Jason Gunthorpe wrote:
> Replace the VT-d iommu_domain implementation of the VT-d second stage and
> first stage page tables with the iommupt VTDSS and x86_64
> pagetables. x86_64 is shared with the AMD driver.
> 
> VT-d has HW that requires an incoherent page table walker, the majority of
> the patches are adding generic support for the required cache flushing to
> iommupt. This is modeled after the existing ARM64 version and is intended
> to be re-used there.
> 
> Applies on top of the AMD conversion:
>   https://patch.msgid.link/r/0-v2-5c26bde5c22d+58b-iommu_pt_jgg@nvidia.com
> 
> This is on github: https://github.com/jgunthorpe/linux/commits/iommu_pt_vtd

I ran VFIO selftests against this series and did not detect any
regressions.

Notably, vfio_dma_mapping_test confirmed that this series did not
regress VFIO's or IOMMUFD's ability to map 2MB and 1GB HugeTLB pages
as 2MB and 1GB entries in the I/O page tables as expected.  And
vfio_pci_driver_test validates that a device (Intel DSA in this case)
can do DMA, and exercises I/O faulting handling.

Tested-by: David Matlack <dmatlack@google.com>

  parent reply	other threads:[~2025-11-08  0:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-23 18:22 [PATCH v3 00/10] Convert Intel VT-d to use the generic iommu page table Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 01/10] iommu/pages: Add support for incoherent IOMMU page table walkers Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 02/10] iommupt: Add basic support for SW bits in the page table Jason Gunthorpe
2025-10-28  1:18   ` Tian, Kevin
2025-10-23 18:22 ` [PATCH v3 03/10] iommupt: Use the incoherent start/stop functions for PT_FEAT_DMA_INCOHERENT Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 04/10] iommupt: Flush the CPU cache after any writes to the page table Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 05/10] iommupt: Add the Intel VT-d second stage page table format Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 06/10] iommupt/x86: Set the dirty bit only for writable PTEs Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 07/10] iommupt/x86: Support SW bits and permit PT_FEAT_DMA_INCOHERENT Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 08/10] iommu/vt-d: Use the generic iommu page table Jason Gunthorpe
2025-10-23 18:22 ` [PATCH v3 09/10] iommu/vt-d: Follow PT_FEAT_DMA_INCOHERENT into the PASID entry Jason Gunthorpe
2025-10-28  1:20   ` Tian, Kevin
2025-10-23 18:22 ` [PATCH v3 10/10] iommupt: Add a kunit test for the SW bits Jason Gunthorpe
2025-11-08  0:28 ` David Matlack [this message]
2025-11-08  0:48   ` [PATCH v3 00/10] Convert Intel VT-d to use the generic iommu page table Jason Gunthorpe

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=aQ6OlHhq4TBM6sF8@google.com \
    --to=dmatlack@google.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux.dev \
    --cc=jgg@nvidia.com \
    --cc=joro@8bytes.org \
    --cc=kevin.tian@intel.com \
    --cc=patches@lists.linux.dev \
    --cc=robin.murphy@arm.com \
    --cc=tina.zhang@intel.com \
    --cc=wei.w.wang@intel.com \
    --cc=will@kernel.org \
    /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).