From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
Cc: gabriele.paoloni-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
john.garry-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
will.deacon-5wv7dgnIgG8@public.gmane.org,
shameerali.kolothum.thodi-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v2 4/4] iommu/dma: Make PCI window reservation generic
Date: Wed, 22 Mar 2017 16:19:47 +0100 [thread overview]
Message-ID: <20170322151947.GE7315@8bytes.org> (raw)
In-Reply-To: <3876a855b7b5ba4684ac3e3af632b817d224c753.1489683129.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
On Thu, Mar 16, 2017 at 05:00:19PM +0000, Robin Murphy wrote:
> Now that we're applying the IOMMU API reserved regions to our IOVA
> domains, we shouldn't need to privately special-case PCI windows, or
> indeed anything else which isn't specific to our iommu-dma layer.
> However, since those aren't IOMMU-specific either, rather than start
> duplicating code into IOMMU drivers let's transform the existing
> function into an iommu_get_resv_regions() helper that they can share.
>
> Signed-off-by: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
> ---
>
> Notes:
> v2:
> - New
>
> drivers/iommu/arm-smmu-v3.c | 2 ++
> drivers/iommu/arm-smmu.c | 2 ++
> drivers/iommu/dma-iommu.c | 38 ++++++++++++++++++++++++++++----------
> include/linux/dma-iommu.h | 5 +++++
> 4 files changed, 37 insertions(+), 10 deletions(-)
Applied patches 2-4 to my arm/core branch, thanks.
WARNING: multiple messages have this Message-ID (diff)
From: joro@8bytes.org (Joerg Roedel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/4] iommu/dma: Make PCI window reservation generic
Date: Wed, 22 Mar 2017 16:19:47 +0100 [thread overview]
Message-ID: <20170322151947.GE7315@8bytes.org> (raw)
In-Reply-To: <3876a855b7b5ba4684ac3e3af632b817d224c753.1489683129.git.robin.murphy@arm.com>
On Thu, Mar 16, 2017 at 05:00:19PM +0000, Robin Murphy wrote:
> Now that we're applying the IOMMU API reserved regions to our IOVA
> domains, we shouldn't need to privately special-case PCI windows, or
> indeed anything else which isn't specific to our iommu-dma layer.
> However, since those aren't IOMMU-specific either, rather than start
> duplicating code into IOMMU drivers let's transform the existing
> function into an iommu_get_resv_regions() helper that they can share.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
>
> Notes:
> v2:
> - New
>
> drivers/iommu/arm-smmu-v3.c | 2 ++
> drivers/iommu/arm-smmu.c | 2 ++
> drivers/iommu/dma-iommu.c | 38 ++++++++++++++++++++++++++++----------
> include/linux/dma-iommu.h | 5 +++++
> 4 files changed, 37 insertions(+), 10 deletions(-)
Applied patches 2-4 to my arm/core branch, thanks.
next prev parent reply other threads:[~2017-03-22 15:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 17:00 [PATCH v2 0/4] IOMMU reserved region tweaks Robin Murphy
2017-03-16 17:00 ` Robin Murphy
[not found] ` <cover.1489683129.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2017-03-16 17:00 ` [PATCH v2 1/4] iommu: Disambiguate MSI region types Robin Murphy
2017-03-16 17:00 ` Robin Murphy
[not found] ` <a56c76f7276a12120ecd0675be4c69de58aec8ff.1489683129.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2017-03-22 15:16 ` Joerg Roedel
2017-03-22 15:16 ` Joerg Roedel
2017-03-16 17:00 ` [PATCH v2 2/4] iommu/dma: Don't reserve PCI I/O windows Robin Murphy
2017-03-16 17:00 ` Robin Murphy
2017-03-16 17:00 ` [PATCH v2 3/4] iommu/dma: Handle IOMMU API reserved regions Robin Murphy
2017-03-16 17:00 ` Robin Murphy
2017-03-16 17:00 ` [PATCH v2 4/4] iommu/dma: Make PCI window reservation generic Robin Murphy
2017-03-16 17:00 ` Robin Murphy
[not found] ` <3876a855b7b5ba4684ac3e3af632b817d224c753.1489683129.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2017-03-22 15:19 ` Joerg Roedel [this message]
2017-03-22 15:19 ` 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=20170322151947.GE7315@8bytes.org \
--to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
--cc=gabriele.paoloni-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=john.garry-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=robin.murphy-5wv7dgnIgG8@public.gmane.org \
--cc=shameerali.kolothum.thodi-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=will.deacon-5wv7dgnIgG8@public.gmane.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.