
25 Apr
2008
25 Apr
'08
1:15 p.m.
In message 1209119284.3656.5.camel@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:
- 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.
- 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@denx.de
"We don't have to protect the environment -- the Second Coming is at
hand." - James Watt