From: Baolu Lu <baolu.lu@linux.intel.com>
To: Jason Gunthorpe <jgg@nvidia.com>,
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>
Cc: Kevin Tian <kevin.tian@intel.com>,
patches@lists.linux.dev, Wei Wang <wei.w.wang@intel.com>
Subject: Re: [PATCH v3 0/7] Reorganize Intel VT-D to be ready for iommupt
Date: Mon, 14 Jul 2025 13:03:10 +0800 [thread overview]
Message-ID: <6af5e16d-5cd7-4c18-9f8a-78740f24cc20@linux.intel.com> (raw)
In-Reply-To: <0-v3-dbbe6f7e7ae3+124ffe-vtd_prep_jgg@nvidia.com>
On 6/30/25 23:03, Jason Gunthorpe wrote:
> This is similar to a series I sent for AMD.
>
> Lightly reorganize some of the page table related code so there is greater
> isolation between the first and second stage logic. iommupt will introduce
> distinct types and code flows for first and second stages, having them all
> combined together is difficult.
>
> Splitting actually makes things generally more understandable anyhow as
> they do share only a little code. Most of the registers and logic are in
> fact different. That was being obscured by small helper functions that
> combine the first and second stage information.
>
> This would replace some of the patches recently sent by Wei.
>
> The full branch including the iommpt conversion is here:
>
> https://github.com/jgunthorpe/linux/commits/iommu_pt_vtd
>
> v3:
> - Add intel_domain_is_fs/ss_paging() as wrappers around the ops check
> - Set force_snooping for the ss as well
Queued for linux-next. Thank you, Jason.
--
baolu
prev parent reply other threads:[~2025-07-14 5:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-30 15:03 [PATCH v3 0/7] Reorganize Intel VT-D to be ready for iommupt Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 1/7] iommu/vt-d: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid() Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 2/7] iommu/vt-d: Fold domain_exit() into intel_iommu_domain_free() Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 3/7] iommu/vt-d: Do not wipe out the page table NID when devices detach Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 4/7] iommu/vt-d: Split intel_iommu_domain_alloc_paging_flags() Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 5/7] iommu/vt-d: Create unique domain ops for each stage Jason Gunthorpe
2025-06-30 15:03 ` [PATCH v3 6/7] iommu/vt-d: Split intel_iommu_enforce_cache_coherency() Jason Gunthorpe
2025-07-02 9:15 ` Tian, Kevin
2025-06-30 15:03 ` [PATCH v3 7/7] iommu/vt-d: Split paging_domain_compatible() Jason Gunthorpe
2025-07-02 9:16 ` Tian, Kevin
2025-07-14 5:03 ` Baolu Lu [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=6af5e16d-5cd7-4c18-9f8a-78740f24cc20@linux.intel.com \
--to=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=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