From: Russell King <rmk@arm.linux.org.uk>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap@vger.kernel.org, omar.ramirez@ti.com,
ameya.palande@nokia.com, h-kanigeri2@ti.com, x0095840@ti.com,
nm@ti.com, Miguel.Verdu@nokia.com, bshah@ti.com,
imre.deak@nokia.com
Subject: Re: [PATCH 1/1] DSPBRIDGE: cache operation against kernel address instead of user's
Date: Sat, 21 Nov 2009 19:17:25 +0000 [thread overview]
Message-ID: <20091121191724.GA29167@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20091117.084108.193702761.Hiroshi.DOYU@nokia.com>
On Tue, Nov 17, 2009 at 08:41:08AM +0200, Hiroshi DOYU wrote:
> From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> Subject: Re: [PATCH 1/1] DSPBRIDGE: cache operation against kernel address instead of user's
> Date: Fri, 13 Nov 2009 12:12:12 +0200 (EET)
>
> > From: "Doyu Hiroshi (Nokia-D/Helsinki)" <hiroshi.doyu@nokia.com>
> > Subject: [PATCH 1/1] DSPBRIDGE: cache operation against kernel address instead of user's
> > Date: Fri, 6 Nov 2009 13:34:21 +0100
> >
> > > From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> > >
> > > Based on the discussion:
> > > http://www.spinics.net/lists/arm-kernel/msg72810.html
> > >
> > > HACK: export "follow_page()" for dspbridge cache operation
> > >
> > > Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> > > ---
>
> Now there's no need for homebrewed cache function because we use
> kernel address and can pass "virt_addr_valid()" check in
> "dma_cache_maint()".
Note that with the advent of ARMv7/Cortex A9, dma_cache_maint() is going
away - and probably will be gone during the next merge window. There is
no directly equivalent replacement for it - it is being replaced by two
sets of functions, one to be called prior to DMA and another to be called
after DMA has completed.
In the longer run, it is likely that the 'dmac_*_range' and 'outer_*_range'
will probably also be going away, to be replaced by two new per-cpu methods
along the lines of the above.
I think this may throw a spanner in the works for this patch, but it's
necessary to make Cortex A9 work.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
next prev parent reply other threads:[~2009-11-21 19:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 12:34 [PATCH 1/1] DSPBRIDGE: cache operation against kernel address instead of user's Hiroshi DOYU
2009-11-13 10:12 ` Hiroshi DOYU
2009-11-17 6:41 ` Hiroshi DOYU
2009-11-21 19:17 ` Russell King [this message]
2009-11-23 7:30 ` Hiroshi DOYU
2009-11-21 19:18 ` Russell King
2010-07-25 20:10 ` Felipe Contreras
2010-07-29 7:08 ` Hiroshi DOYU
2010-07-29 20:15 ` Felipe Contreras
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=20091121191724.GA29167@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=Hiroshi.DOYU@nokia.com \
--cc=Miguel.Verdu@nokia.com \
--cc=ameya.palande@nokia.com \
--cc=bshah@ti.com \
--cc=h-kanigeri2@ti.com \
--cc=imre.deak@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=omar.ramirez@ti.com \
--cc=x0095840@ti.com \
/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