[U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

Marek Vasut
2011-09-05T19:50:07Z

> Le 02/09/2011 13:57, Marek Vasut a ?crit :
> > On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote:
> > > On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote:
> > > > On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote:
> > > > > Hi Hong,
> > > > >
> > > > > On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote:
> > > > > > Hi Marek,
> > > > > >
> > > > > > On 08/11/2011 12:47 PM, Marek Vasut wrote:
> > > > > > > On Thursday, August 11, 2011 05:27:37 AM Hong Xu wrote:
> > > > > > > > Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache
> > > > > > > > operations into this file.
> > > > > > > >
> > > > > > > > Signed-off-by: Hong Xu<hong.xu@atmel.com>
> > > > > > > > ---
> > > > > > > >
> > > > > > > > V2:
> > > > > > > > ??? Fixed a typo when CONFIG_SYS_DCACHE_OFF is defined
> > > > > > > >
> > > > > > > > V3:
> > > > > > > > ??? Undo changes in include/configs/at91sam9260ek.h
> > > > > > > > ??? It's for testing purpose
> > > > > > > > ???
> > > > > > > > arch/arm/cpu/arm926ejs/Makefile |? ? ? 2 +-
> > > > > > > > arch/arm/cpu/arm926ejs/cache.c? |? 142
> > > > > > > >
> > > > > > > > +++++++++++++++++++++++++++++++++++++++ 2 files changed,
> > > > > > > > 143 insertions(+), 1 deletions(-)
> > > > > > > >
> > > > > > > > create mode 100644 arch/arm/cpu/arm926ejs/cache.c
> > > > >
> > > > > What is the status for this patch ?
> > > > >
> > > > > I have failed to find any trace for this patch in patchwork or
> > > > > in the arm git repository...
> > > >
> > > > We discussed this should be moved to arch/arm/cpu/armv5 (Aneesh
> > > > V's idea ... I dunno what's this guys' full name ;-D). I tested
> > > > this patch on certain type of CPU and it works really good. I'd be
> > > > really glad if we got this mainline!
> > >
> > > Yes. Moreover some drivers (as mvgbe) really needs such functions to
> > > fix the DMA operations when D-cache is enabled.
> >
> > I have some fixes already queued, yes.
> >
> > >
> > > Simon
>
> Hi folks,
>
> I'm trying to locate the latest version of this set's patches in
> patchwork and I can't find them at all in any state. What am I missing?

Hi Albert,

you're missing the move from cpu/arm926ejs to cpu/armv5/ . Though I'd prefer to have it in arm926 for now as we still didn't verify the other cores are ok with it (I changed my opinion just recently). For example, xscale isn't. So maybe we can pick the patches as they are.

Cheers!
>
> Amicalement,
> --
> Albert.