From: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Cc: jroedel-l3A5Bk7waGM@public.gmane.org,
arnd-r2nGTMty4D4@public.gmane.org,
Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org,
Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org
Subject: [PATCH 0/2] Kill off pgsize_bitmap field from struct iommu_ops
Date: Fri, 6 Mar 2015 11:34:46 +0000 [thread overview]
Message-ID: <1425641688-26438-1-git-send-email-will.deacon@arm.com> (raw)
Hi all,
These patches move the pgsize_bitmap field out of iommu_ops and into
the iommu_domain structure, as there are systems containing multiple
instances of a given IOMMU (e.g. the ARM SMMU) with different page size
support on the individual devices.
Once that's done, we can get back to treating the iommu_ops as constant,
since they just contain function pointers.
Comments welcome,
Will
--->8
Robin Murphy (1):
iommu: of: enforce const-ness of struct iommu_ops
Will Deacon (1):
iommu: move pgsize_bitmap from struct iommu_ops to struct iommu_domain
arch/arm/include/asm/dma-mapping.h | 2 +-
arch/arm/mm/dma-mapping.c | 6 +++---
arch/arm64/include/asm/dma-mapping.h | 3 ++-
drivers/iommu/amd_iommu.c | 2 +-
drivers/iommu/arm-smmu.c | 12 +++++-------
drivers/iommu/exynos-iommu.c | 3 ++-
drivers/iommu/intel-iommu.c | 2 +-
drivers/iommu/iommu.c | 16 ++++++++--------
drivers/iommu/ipmmu-vmsa.c | 2 +-
drivers/iommu/msm_iommu.c | 3 ++-
drivers/iommu/of_iommu.c | 12 ++++++------
drivers/iommu/omap-iommu.c | 3 ++-
drivers/iommu/rockchip-iommu.c | 2 +-
drivers/iommu/shmobile-iommu.c | 2 +-
drivers/iommu/tegra-gart.c | 2 +-
drivers/iommu/tegra-smmu.c | 3 +--
drivers/of/platform.c | 2 +-
drivers/vfio/vfio_iommu_type1.c | 2 +-
include/linux/dma-mapping.h | 2 +-
include/linux/iommu.h | 6 +-----
include/linux/of_iommu.h | 8 ++++----
21 files changed, 46 insertions(+), 49 deletions(-)
--
2.1.4
next reply other threads:[~2015-03-06 11:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 11:34 Will Deacon [this message]
[not found] ` <1425641688-26438-1-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org>
2015-03-06 11:34 ` [PATCH 1/2] iommu: move pgsize_bitmap from struct iommu_ops to struct iommu_domain Will Deacon
[not found] ` <1425641688-26438-2-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org>
2015-03-06 11:56 ` Laurent Pinchart
2015-03-06 11:59 ` Will Deacon
2015-03-06 11:57 ` Laurent Pinchart
2015-03-06 12:34 ` Will Deacon
2015-03-06 12:24 ` Marek Szyprowski
2015-03-07 16:17 ` Daniel Kurtz
2015-03-11 8:38 ` Thierry Reding
2015-03-06 11:34 ` [PATCH 2/2] iommu: of: enforce const-ness of struct iommu_ops Will Deacon
[not found] ` <1425641688-26438-3-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org>
2015-03-11 8:43 ` Thierry Reding
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=1425641688-26438-1-git-send-email-will.deacon@arm.com \
--to=will.deacon-5wv7dgnigg8@public.gmane.org \
--cc=Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=jroedel-l3A5Bk7waGM@public.gmane.org \
--cc=laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox