From: "Koul, Vinod" <vinod.koul@intel.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>,
Alexey Dobriyan <adobriyan@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Dan <dan.j.williams@intel.com>
Cc: Boojin Kim <boojin.kim@samsung.com>,
linux-kernel@vger.kernel.org,
"'Kukjin Kim'" <kgene.kim@samsung.com>
Subject: Re: [PATCH] DMA: PL330: add missing header
Date: Thu, 25 Aug 2011 20:08:08 +0530 [thread overview]
Message-ID: <1314283088.1606.50.camel@vkoul-udesk3> (raw)
In-Reply-To: <1314097039.22120.160.camel@vkoul-udesk3>
On Tue, 2011-08-23 at 16:27 +0530, Koul, Vinod wrote:
> On Tue, 2011-08-23 at 10:39 +0100, Russell King - ARM Linux wrote:
> > On Tue, Aug 23, 2011 at 02:02:47PM +0530, Koul, Vinod wrote:
> > > On Tue, 2011-08-23 at 09:23 +0100, Russell King - ARM Linux wrote:
> > > > On Tue, Aug 23, 2011 at 01:45:42PM +0530, Koul, Vinod wrote:
> > > > > Russell had fixed compilation of pl330 driver, and was supposed to send
> > > > > the fix to Linus as part of his fixes. If thats not done I can send it
> > > > > for next -rc
> > > >
> > > > That was for amba-pl08x.c, not pl330.c
> > > Okay, thanks.
> > > I will send the patch for dmaengine.h to Linus for next -rc
> >
> > If you read the original commit, you'll find that scatterlist.h was
> > explicitly removed from dmaengine.h:
> >
> > net: remove mm.h inclusion from netdevice.h
> >
> > Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked ma
> >
> > To prevent mm.h inclusion via other channels also extract "enum dma_data_dir
> > definition into separate header. This tiny piece is what gluing netdevice.h
> > via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
> > Removal of mm.h from scatterlist.h was tried and was found not feasible
> > on most archs, so the link was cutoff earlier.
> >
> > Hope people are OK with tiny include file.
> >
> > Note, that mm_types.h is still dragged in, but it is a separate story.
> >
> > Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> >
> > So adding scatterlist.h back into dmaengine.h may not be the best idea.
> Yes, looks like that maybe the case.
>
> It's rather unfortunate that neither Dan nor me were copied on changes
> done on dmaengine drivers and headers :(
Anyway now we have added the new API of dmaengine_prep_slave_single()
which needs scatterlist.h, any attempt to remove scatterlist wont work.
Either we have to include this in dmaengine.h or any other driver (like
netdevice.h) which includes dmaengine.h
--
~Vinod
prev parent reply other threads:[~2011-08-25 14:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-23 5:57 Boojin Kim
2011-08-23 6:32 ` Koul, Vinod
2011-08-23 7:19 ` Boojin Kim
2011-08-23 8:15 ` Koul, Vinod
2011-08-23 8:23 ` Russell King - ARM Linux
2011-08-23 8:32 ` Koul, Vinod
2011-08-23 9:39 ` Russell King - ARM Linux
2011-08-23 10:57 ` Koul, Vinod
2011-08-25 14:38 ` Koul, Vinod [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=1314283088.1606.50.camel@vkoul-udesk3 \
--to=vinod.koul@intel.com \
--cc=adobriyan@gmail.com \
--cc=boojin.kim@samsung.com \
--cc=dan.j.williams@intel.com \
--cc=davem@davemloft.net \
--cc=kgene.kim@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
/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
all inboxes | Powered by JetHome®