From: jgg@ziepe.ca
To: Alyssa Rosenzweig <alyssa@rosenzweig.io>,
asahi@lists.linux.dev,
Christophe Leroy <christophe.leroy@csgroup.eu>,
David Woodhouse <dwmw2@infradead.org>,
iommu@lists.linux.dev, Kevin Tian <kevin.tian@intel.com>,
linux-arm-kernel@lists.infradead.org,
linuxppc-dev@lists.ozlabs.org, Hector Martin <marcan@marcan.st>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Robin Murphy <robin.murphy@arm.com>,
Sven Peter <sven@svenpeter.dev>, Will Deacon <will@kernel.org>
Cc: Lu Baolu <baolu.lu@linux.intel.com>, Janne Grunau <j@jannau.net>
Subject: Re: [PATCH v2 0/9] iommu: Convert dart & iommufd to the new domain_alloc_paging()
Date: Wed, 25 Oct 2023 12:58:32 -0300 [thread overview]
Message-ID: <20231025155832.GA1167025@nvidia.com> (raw)
In-Reply-To: <0-v2-bff223cf6409+282-dart_paging_jgg@nvidia.com>
On Wed, Sep 27, 2023 at 08:47:30PM -0300, Jason Gunthorpe wrote:
> Continue converting drivers to the new interface. Introduce
> ops->blocked_domain to hold the global static BLOCKED domain and convert
> all drivers supporting BLOCKED to use it.
>
> This makes it trivial for dart and iommufd to convert over to
> domain_alloc_paging().
>
> There are six drivers remaining:
>
> drivers/iommu/amd/iommu.c: .domain_alloc = amd_iommu_domain_alloc,
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/arm/arm-smmu/arm-smmu.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/fsl_pamu_domain.c: .domain_alloc = fsl_pamu_domain_alloc,
> drivers/iommu/intel/iommu.c: .domain_alloc = intel_iommu_domain_alloc,
> drivers/iommu/virtio-iommu.c: .domain_alloc = viommu_domain_alloc,
>
> v2:
> - Rebase to Joerg's for-next
> - New patch to remove force_bypass, as discussed with Janne
> - Move some hunks between patches to accommodate Robin's change to the
> attach_dev switch
> v1: https://lore.kernel.org/r/0-v1-8060f06462cc+c0a39-dart_paging_jgg@nvidia.com
>
> Jason Gunthorpe (9):
> iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain
> iommu/vt-d: Update the definition of the blocking domain
> iommu/vt-d: Use ops->blocked_domain
> iommufd: Convert to alloc_domain_paging()
Joerg can you grab these for this cycle please
> iommu/dart: Use static global identity domains
> iommu/dart: Move the blocked domain support to a global static
> iommu/dart: Convert to domain_alloc_paging()
> iommu/dart: Call apple_dart_finalize_domain() as part of
> alloc_paging()
> iommu/dart: Remove the force_bypass variable
I will poke more dart related people to get a tested-by, maybe next
cycle.
The arm patches at least need this
Thanks,
Jason
WARNING: multiple messages have this Message-ID (diff)
From: jgg@ziepe.ca
To: Alyssa Rosenzweig <alyssa@rosenzweig.io>,
asahi@lists.linux.dev,
Christophe Leroy <christophe.leroy@csgroup.eu>,
David Woodhouse <dwmw2@infradead.org>,
iommu@lists.linux.dev, Kevin Tian <kevin.tian@intel.com>,
linux-arm-kernel@lists.infradead.org,
linuxppc-dev@lists.ozlabs.org, Hector Martin <marcan@marcan.st>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Robin Murphy <robin.murphy@arm.com>,
Sven Peter <sven@svenpeter.dev>, Will Deacon <will@kernel.org>
Cc: Janne Grunau <j@jannau.net>, Lu Baolu <baolu.lu@linux.intel.com>
Subject: Re: [PATCH v2 0/9] iommu: Convert dart & iommufd to the new domain_alloc_paging()
Date: Wed, 25 Oct 2023 12:58:32 -0300 [thread overview]
Message-ID: <20231025155832.GA1167025@nvidia.com> (raw)
In-Reply-To: <0-v2-bff223cf6409+282-dart_paging_jgg@nvidia.com>
On Wed, Sep 27, 2023 at 08:47:30PM -0300, Jason Gunthorpe wrote:
> Continue converting drivers to the new interface. Introduce
> ops->blocked_domain to hold the global static BLOCKED domain and convert
> all drivers supporting BLOCKED to use it.
>
> This makes it trivial for dart and iommufd to convert over to
> domain_alloc_paging().
>
> There are six drivers remaining:
>
> drivers/iommu/amd/iommu.c: .domain_alloc = amd_iommu_domain_alloc,
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/arm/arm-smmu/arm-smmu.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/fsl_pamu_domain.c: .domain_alloc = fsl_pamu_domain_alloc,
> drivers/iommu/intel/iommu.c: .domain_alloc = intel_iommu_domain_alloc,
> drivers/iommu/virtio-iommu.c: .domain_alloc = viommu_domain_alloc,
>
> v2:
> - Rebase to Joerg's for-next
> - New patch to remove force_bypass, as discussed with Janne
> - Move some hunks between patches to accommodate Robin's change to the
> attach_dev switch
> v1: https://lore.kernel.org/r/0-v1-8060f06462cc+c0a39-dart_paging_jgg@nvidia.com
>
> Jason Gunthorpe (9):
> iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain
> iommu/vt-d: Update the definition of the blocking domain
> iommu/vt-d: Use ops->blocked_domain
> iommufd: Convert to alloc_domain_paging()
Joerg can you grab these for this cycle please
> iommu/dart: Use static global identity domains
> iommu/dart: Move the blocked domain support to a global static
> iommu/dart: Convert to domain_alloc_paging()
> iommu/dart: Call apple_dart_finalize_domain() as part of
> alloc_paging()
> iommu/dart: Remove the force_bypass variable
I will poke more dart related people to get a tested-by, maybe next
cycle.
The arm patches at least need this
Thanks,
Jason
WARNING: multiple messages have this Message-ID (diff)
From: jgg@ziepe.ca
To: Alyssa Rosenzweig <alyssa@rosenzweig.io>,
asahi@lists.linux.dev,
Christophe Leroy <christophe.leroy@csgroup.eu>,
David Woodhouse <dwmw2@infradead.org>,
iommu@lists.linux.dev, Kevin Tian <kevin.tian@intel.com>,
linux-arm-kernel@lists.infradead.org,
linuxppc-dev@lists.ozlabs.org, Hector Martin <marcan@marcan.st>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Robin Murphy <robin.murphy@arm.com>,
Sven Peter <sven@svenpeter.dev>, Will Deacon <will@kernel.org>
Cc: Lu Baolu <baolu.lu@linux.intel.com>, Janne Grunau <j@jannau.net>
Subject: Re: [PATCH v2 0/9] iommu: Convert dart & iommufd to the new domain_alloc_paging()
Date: Wed, 25 Oct 2023 12:58:32 -0300 [thread overview]
Message-ID: <20231025155832.GA1167025@nvidia.com> (raw)
In-Reply-To: <0-v2-bff223cf6409+282-dart_paging_jgg@nvidia.com>
On Wed, Sep 27, 2023 at 08:47:30PM -0300, Jason Gunthorpe wrote:
> Continue converting drivers to the new interface. Introduce
> ops->blocked_domain to hold the global static BLOCKED domain and convert
> all drivers supporting BLOCKED to use it.
>
> This makes it trivial for dart and iommufd to convert over to
> domain_alloc_paging().
>
> There are six drivers remaining:
>
> drivers/iommu/amd/iommu.c: .domain_alloc = amd_iommu_domain_alloc,
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/arm/arm-smmu/arm-smmu.c: .domain_alloc = arm_smmu_domain_alloc,
> drivers/iommu/fsl_pamu_domain.c: .domain_alloc = fsl_pamu_domain_alloc,
> drivers/iommu/intel/iommu.c: .domain_alloc = intel_iommu_domain_alloc,
> drivers/iommu/virtio-iommu.c: .domain_alloc = viommu_domain_alloc,
>
> v2:
> - Rebase to Joerg's for-next
> - New patch to remove force_bypass, as discussed with Janne
> - Move some hunks between patches to accommodate Robin's change to the
> attach_dev switch
> v1: https://lore.kernel.org/r/0-v1-8060f06462cc+c0a39-dart_paging_jgg@nvidia.com
>
> Jason Gunthorpe (9):
> iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain
> iommu/vt-d: Update the definition of the blocking domain
> iommu/vt-d: Use ops->blocked_domain
> iommufd: Convert to alloc_domain_paging()
Joerg can you grab these for this cycle please
> iommu/dart: Use static global identity domains
> iommu/dart: Move the blocked domain support to a global static
> iommu/dart: Convert to domain_alloc_paging()
> iommu/dart: Call apple_dart_finalize_domain() as part of
> alloc_paging()
> iommu/dart: Remove the force_bypass variable
I will poke more dart related people to get a tested-by, maybe next
cycle.
The arm patches at least need this
Thanks,
Jason
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-10-25 15:58 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 23:47 [PATCH v2 0/9] iommu: Convert dart & iommufd to the new domain_alloc_paging() Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` [PATCH v2 1/9] iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-09-27 23:47 ` [PATCH v2 2/9] iommu/vt-d: Update the definition of the blocking domain Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-09-27 23:47 ` [PATCH v2 3/9] iommu/vt-d: Use ops->blocked_domain Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-10-09 7:47 ` Tian, Kevin
2023-09-27 23:47 ` [PATCH v2 4/9] iommufd: Convert to alloc_domain_paging() Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-10-09 7:48 ` Tian, Kevin
2023-10-09 7:48 ` Tian, Kevin
2023-10-09 7:48 ` Tian, Kevin
2023-09-27 23:47 ` [PATCH v2 5/9] iommu/dart: Use static global identity domains Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` [PATCH v2 6/9] iommu/dart: Move the blocked domain support to a global static Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` [PATCH v2 7/9] iommu/dart: Convert to domain_alloc_paging() Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` [PATCH v2 8/9] iommu/dart: Call apple_dart_finalize_domain() as part of alloc_paging() Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` [PATCH v2 9/9] iommu/dart: Remove the force_bypass variable Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-09-27 23:47 ` Jason Gunthorpe
2023-10-16 11:44 ` Janne Grunau
2023-10-16 11:44 ` Janne Grunau
2023-10-25 15:58 ` jgg [this message]
2023-10-25 15:58 ` [PATCH v2 0/9] iommu: Convert dart & iommufd to the new domain_alloc_paging() jgg
2023-10-25 15:58 ` jgg
2023-10-26 7:49 ` Joerg Roedel
2023-10-26 7:49 ` Joerg Roedel
2023-10-26 7:49 ` Joerg Roedel
2023-10-26 10:34 ` Sven Peter
2023-10-26 10:34 ` Sven Peter
2023-10-26 10:34 ` Sven Peter
2023-10-26 14:55 ` Joerg Roedel
2023-10-26 14:55 ` Joerg Roedel
2023-10-26 14:55 ` Joerg Roedel
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=20231025155832.GA1167025@nvidia.com \
--to=jgg@ziepe.ca \
--cc=alyssa@rosenzweig.io \
--cc=asahi@lists.linux.dev \
--cc=baolu.lu@linux.intel.com \
--cc=christophe.leroy@csgroup.eu \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux.dev \
--cc=j@jannau.net \
--cc=kevin.tian@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=marcan@marcan.st \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=robin.murphy@arm.com \
--cc=sven@svenpeter.dev \
--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 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.