[U-Boot-Users] [PATCH][RFC] lib_ppc: make the flush_cache stronger
Wolfgang Denk
wd at denx.de
Fri Apr 25 13:15:48 CEST 2008
In message <1209119284.3656.5.camel at localhost.localdomain> you wrote:
>
> > On which processors did you test the changes? I have some unclear
> > memories of dcbf having problems on for example MPC8xx ?
>
> on 83xx parts.
> I remember the 601 processor not support the dcbf.
OK, so cannot use the patch you suggested.
> > > We have two options:
> > >
> > > 1. Separate functions for them like linux kernel.
> > > A. clean dcache (dcbst) for DMA_TO_DEVICE
> > > B. invalidate dcache (dcbi) for DMA_FROM_DEVICE
> > > C. flush dcache (dcbf) for DMA_BIDIRECTIONAL.
> > > 2. Make current flush_cache stronger semanctic.
> > > use the dcbf instead of dcbst.
> > >
> > > Which one is better? or you have better option?
> > > Please suggest.
> >
> > We discussed this a bit on IRC; Kumar suggested to go for 1., and I
> > agree.
>
> Where is the IRC? Could you point it to me?
That's #u-boot at irc.freenode.org
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"We don't have to protect the environment -- the Second Coming is at
hand." - James Watt
More information about the U-Boot
mailing list