From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mtest: Disable dcache during test
Date: Mon, 3 Sep 2012 23:14:25 +0200 (CEST) [thread overview]
Message-ID: <2095389136.3441220.1346706865728.JavaMail.root@advansee.com> (raw)
In-Reply-To: <20120903185014.624f6939@lilith>
Hi Albert,
On Monday, September 3, 2012 6:50:14 PM, Albert ARIBAUD wrote:
> Hi Beno?t,
>
> On Mon, 3 Sep 2012 16:25:15 +0200 (CEST), Beno?t Th?baudeau
> <benoit.thebaudeau@advansee.com> wrote:
>
> > Dear Wolfgang Denk,
> >
> > On Sunday, September 2, 2012 6:30:23 PM, Wolfgang Denk wrote:
> > > Dear Beno?t Th?baudeau,
> > >
> > > In message
> > > <1725235724.2300239.1344694624384.JavaMail.root@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.
> >
> > OK, but do you agree with the following that Mike and me agreed on
> > after that?
> > http://lists.denx.de/pipermail/u-boot/2012-August/130650.html
> > http://lists.denx.de/pipermail/u-boot/2012-August/130726.html
> > http://patchwork.ozlabs.org/patch/176909/
>
> I did already reply to this, but since the agreement is brought back,
> I
> think I should re-state my opinion: such a warning line will most
> likely
> be overlooked, thus has little value. People using mtest should know
> that they must check/set dcache state before running mtest.
If this line is overlooked, it's the same as not having it. If it is not
overlooked, it is useful both to detail the test conditions and as a reminder
not to do stupid things. This line does not prevent users from doing any manual
dcache check/enable/disable operation they want before running mtest. All in
all, adding this line can only be beneficial.
Best regards,
Beno?t
next prev parent reply other threads:[~2012-09-03 21:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 19:16 [U-Boot] [PATCH] mtest: Disable dcache during test Benoît Thébaudeau
2012-08-11 3:18 ` Mike Frysinger
2012-08-11 14:17 ` Benoît Thébaudeau
2012-08-11 17:50 ` Mike Frysinger
2012-08-11 18:49 ` Benoît Thébaudeau
2012-09-02 16:30 ` Wolfgang Denk
2012-09-03 14:25 ` Benoît Thébaudeau
2012-09-03 16:50 ` Albert ARIBAUD
2012-09-03 21:14 ` Benoît Thébaudeau [this message]
2012-09-03 23:30 ` Graeme Russ
2012-09-04 6:41 ` Wolfgang Denk
2012-09-04 6:43 ` Graeme Russ
2012-09-04 7:23 ` Wolfgang Denk
[not found] <CANYL96C2=fYHoTAp0SQird-Yz1W2JPq22U=3q4ZFKgwomXxODA@mail.gmail.com>
2012-08-11 20:05 ` Benoît Thébaudeau
2012-08-11 20:15 ` Mike Frysinger
2012-08-11 20:25 ` Benoît Thébaudeau
2012-08-14 6:27 ` Albert ARIBAUD
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=2095389136.3441220.1346706865728.JavaMail.root@advansee.com \
--to=benoit.thebaudeau@advansee.com \
--cc=u-boot@lists.denx.de \
/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