public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Christoph Fritz <chf.fritz@googlemail.com>
To: Christian Riesch <christian.riesch@gmail.com>
Cc: Marius Achilles <M.Achilles@phytec.de>,
	Joakim Tjernlund <joakim.tjernlund@transmode.se>,
	Artem Bityutskiy <dedekind1@gmail.com>,
	linux-mtd@lists.infradead.org,
	Andrea Adami <andrea.adami@gmail.com>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] mtd: cfi_cmdset_0001 - fixup for PC28F512P33TFA
Date: Mon, 07 Apr 2014 11:54:14 +0200	[thread overview]
Message-ID: <1396864454.3285.160.camel@lovely> (raw)
In-Reply-To: <080F496E4E3B84A0EEF7E915@[172.22.2.41]>

On Mon, 2014-04-07 at 10:41 +0200, Christian Riesch wrote:
> > The board is back on my desk and I did some further promising tests.
> 
> Since the board is "on your desk", I guess you did the test at room 
> temperature, right? Your desk is not cooled down to -40°C, right?

Further tests, as done with the disabled suspend erase patch, will be in
a climatic exposure test cabinet. Here on my desk I use massive amounts
of cooling spray. Its tin is labeled for cooling down to max -35°C.

> At first sight I thought it was quite strange that a delay of 1000us does 
> not solve the problem, whereas it works fine with 1024us. But then I had a 
> look at the implementation of cfi_udelay(): Actually, 
> cfi_udelay(900)/cond_resched() becomes udelay(900), cfi_udelay(1000) 
> becomes msleep(1), and cfi_udelay(1024) becomes msleep(2).

Nice catch! According to timers-howto.txt [1] usleep_range() should be
used here because:

    msleep(1~20) may not do what the caller intends, and
    will often sleep longer (~20 ms actual sleep for any
    value given in the 1~20ms range)

[1] https://www.kernel.org/doc/Documentation/timers/timers-howto.txt

> > Preferably I would go with a cleaned up version of patch "TESTHACK 12",
> > after some more stress testings have been passed. What do you think?
> 
> You should thoroughly test it at -40°C. This temperature required the 
> largest delays for the M29EW.

I'll try to kick of some tests with usleep_range() in a climatic
exposure test cabinet the next days.

> > I now also have a contact to Micron, so I hope they can shed some light
> > on this issue.
> 
> I am looking forward to their response ;-)

I also invited them to this open discussion.

Thanks
  -- Christoph

  reply	other threads:[~2014-04-07  9:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 17:32 [PATCH] mtd: cfi_cmdset_0001 - fixup for PC28F512P33TFA Christoph Fritz
2014-03-31 20:31 ` Joakim Tjernlund
2014-03-31 22:04   ` Christoph Fritz
2014-04-01  8:29     ` Joakim Tjernlund
     [not found]     ` <OFA7BCC382.7C5EA8B7-ONC1257CAD.002CA0C1-C1257CAD.002EAA92@LocalDomain>
2014-04-01 11:15       ` Joakim Tjernlund
2014-04-01 15:09         ` Christoph Fritz
2014-04-01 19:13           ` Joakim Tjernlund
2014-04-01 23:10             ` Christoph Fritz
2014-04-02  7:25               ` Joakim Tjernlund
2014-04-02  9:04                 ` Christian Riesch
2014-04-04 21:17                   ` Christoph Fritz
2014-04-07  8:41                     ` Christian Riesch
2014-04-07  9:54                       ` Christoph Fritz [this message]
     [not found]                 ` <CAAQYJAvRWt7fEyFbYf9UrK4f5TZDu48dyiVwSfm=MXZnzk5E8A@mail.gmail.com>
2014-04-02  9:18                   ` Christoph Fritz

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=1396864454.3285.160.camel@lovely \
    --to=chf.fritz@googlemail.com \
    --cc=M.Achilles@phytec.de \
    --cc=andrea.adami@gmail.com \
    --cc=christian.riesch@gmail.com \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=joakim.tjernlund@transmode.se \
    --cc=linux-mtd@lists.infradead.org \
    /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