[U-Boot] [PATCH] mtest: Disable dcache during test

Wolfgang Denk wd at denx.de
Sun Sep 2 18:30:23 CEST 2012


Dear Benoît Thébaudeau,

In message <1725235724.2300239.1344694624384.JavaMail.root at advansee.com> you wrote:
> 
> On 08/11/2012 05:18 AM, Mike Frysinger wrote:
...
> > if you want dcache disabled, then why don't you run `dcache off`
> > first ?  i
> > think it's useful to be able to do both, and forcing it one way is
> > wrong.
> > 
> > thus, NAK from me.
> > -mike
> 
> Because you will very likely trust mtest and forget about running `dcache off`
> first, so you may then be happy about falsely positive mtest results. Moreover,
> I can't find any sense or usefulness in running mtest with dcache enabled.

I agree with Mike.

"UNIX was not designed to stop you from doing stupid things,  because
that would also stop you from doing clever things."       - Doug Gwyn

So NAK from me, too.

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
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offence.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5


More information about the U-Boot mailing list