From: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org
Cc: "jroedel-l3A5Bk7waGM@public.gmane.org"
<jroedel-l3A5Bk7waGM@public.gmane.org>,
Robin Murphy <Robin.Murphy-5wv7dgnIgG8@public.gmane.org>,
"iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org"
<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
"thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org"
<laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>,
"Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
<Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
"dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org"
<dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH v5 0/8] Introduce automatic DMA configuration for IOMMU masters
Date: Mon, 1 Dec 2014 15:05:04 +0000 [thread overview]
Message-ID: <20141201150503.GG18466@arm.com> (raw)
In-Reply-To: <2496335.D95hVHbola@wuerfel>
On Mon, Dec 01, 2014 at 01:52:57PM +0000, Arnd Bergmann wrote:
> On Friday 28 November 2014 13:29:38 Will Deacon wrote:
> > Here is v5 of the patches I've previously sent here:
> >
> > RFCv1: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-August/283023.html
> > RFCv2: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/283752.html
> > RFCv3: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/287031.html
> > RFCv4: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/302711.html
> >
> > Changes since RFCv4 include:
> >
> > - Dropped the RFC tag, since has been used by a couple of people now
> >
> > - Dropped the DMA segment configuration from of_dma_configure, as there
> > appear to be assumptions about 64k segments elsewhere in the kernel
> >
> > - Added acks/tested-bys (thanks to everybody who reviewed the series)
> >
> > - A few small fixes for issues found by Marek
> >
> > Arnd: Is this too late for 3.19? We could merge the first 6 patches
> > with no issues, since there aren't any callers of of_iommu_init
> > without patch 7 anyway.
> >
> > Up to you.
>
> I think this looks great overall. My only feedback is the exact same
> comment that Joerg already made:
>
> On Friday 28 November 2014 14:03:36 jroedel-l3A5Bk7waGM@public.gmane.org wrote:
> > Hmm, I don't like the idea of storing private data in iommu_ops. But
> > given that this is already an improvement we can build on later, here is
> > my
> >
> > Acked-by: Joerg Roedel <jroedel-l3A5Bk7waGM@public.gmane.org>
> >
> > To further improve this we should probably introduce a seperate
> > iommu-descriptor data-structure later which then describes a single
> > hardware iommu device.
>
> so I second that and add my
>
> Acked-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Yup, I'll take a look at that as part of a separate series, since I really
want to have different pgsize_bitmaps anyway.
> Now, who should merge this series? I think someone should put all eight
> patches into linux-next now, and if something goes wrong with the last
> two, then we skip them for 3.19.
I think it makes most sense to go via arm-soc, but we'd need rmk's ack
on the last two patches.
Russell, are you ok with that plan?
Will
WARNING: multiple messages have this Message-ID (diff)
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/8] Introduce automatic DMA configuration for IOMMU masters
Date: Mon, 1 Dec 2014 15:05:04 +0000 [thread overview]
Message-ID: <20141201150503.GG18466@arm.com> (raw)
In-Reply-To: <2496335.D95hVHbola@wuerfel>
On Mon, Dec 01, 2014 at 01:52:57PM +0000, Arnd Bergmann wrote:
> On Friday 28 November 2014 13:29:38 Will Deacon wrote:
> > Here is v5 of the patches I've previously sent here:
> >
> > RFCv1: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-August/283023.html
> > RFCv2: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/283752.html
> > RFCv3: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/287031.html
> > RFCv4: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/302711.html
> >
> > Changes since RFCv4 include:
> >
> > - Dropped the RFC tag, since has been used by a couple of people now
> >
> > - Dropped the DMA segment configuration from of_dma_configure, as there
> > appear to be assumptions about 64k segments elsewhere in the kernel
> >
> > - Added acks/tested-bys (thanks to everybody who reviewed the series)
> >
> > - A few small fixes for issues found by Marek
> >
> > Arnd: Is this too late for 3.19? We could merge the first 6 patches
> > with no issues, since there aren't any callers of of_iommu_init
> > without patch 7 anyway.
> >
> > Up to you.
>
> I think this looks great overall. My only feedback is the exact same
> comment that Joerg already made:
>
> On Friday 28 November 2014 14:03:36 jroedel at suse.de wrote:
> > Hmm, I don't like the idea of storing private data in iommu_ops. But
> > given that this is already an improvement we can build on later, here is
> > my
> >
> > Acked-by: Joerg Roedel <jroedel@suse.de>
> >
> > To further improve this we should probably introduce a seperate
> > iommu-descriptor data-structure later which then describes a single
> > hardware iommu device.
>
> so I second that and add my
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
Yup, I'll take a look at that as part of a separate series, since I really
want to have different pgsize_bitmaps anyway.
> Now, who should merge this series? I think someone should put all eight
> patches into linux-next now, and if something goes wrong with the last
> two, then we skip them for 3.19.
I think it makes most sense to go via arm-soc, but we'd need rmk's ack
on the last two patches.
Russell, are you ok with that plan?
Will
next prev parent reply other threads:[~2014-12-01 15:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 13:29 [PATCH v5 0/8] Introduce automatic DMA configuration for IOMMU masters Will Deacon
2014-11-28 13:29 ` Will Deacon
[not found] ` <1417181386-18142-1-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org>
2014-11-28 13:29 ` [PATCH v5 1/8] iommu: provide early initialisation hook for IOMMU drivers Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 2/8] dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 3/8] iommu: add new iommu_ops callback for adding an OF device Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 4/8] iommu: provide helper function to configure an IOMMU for an of master Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 5/8] iommu: fix initialization without 'add_device' callback Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 6/8] dma-mapping: detect and configure IOMMU in of_dma_configure Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 7/8] arm: call iommu_init before of_platform_populate Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-11-28 13:29 ` [PATCH v5 8/8] arm: dma-mapping: plumb our iommu mapping ops into arch_setup_dma_ops Will Deacon
2014-11-28 13:29 ` Will Deacon
2014-12-01 13:52 ` [PATCH v5 0/8] Introduce automatic DMA configuration for IOMMU masters Arnd Bergmann
2014-12-01 13:52 ` Arnd Bergmann
2014-12-01 15:05 ` Will Deacon [this message]
2014-12-01 15:05 ` Will Deacon
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=20141201150503.GG18466@arm.com \
--to=will.deacon-5wv7dgnigg8@public.gmane.org \
--cc=Robin.Murphy-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=linux-lFZ/pmaqli7XmaaqVzeoHQ@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 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.