From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support
Date: Tue, 5 Jul 2011 13:10:14 +0200 [thread overview]
Message-ID: <201107051310.14405.arnd@arndb.de> (raw)
In-Reply-To: <CAGsJ_4wf0Lhe2yHg1fE2QAF40=J6ZoubpfLFWQ6X9o3db0O8LQ@mail.gmail.com>
On Tuesday 05 July 2011, Barry Song wrote:
> > If your hardware can do that, you can replace the msleep() with a
> > single readl or a readl()/msleep(1) loop?
>
> i can't agree more. if there is such a register in chip, we would have
> used it. ic guys confirmed there isn't such a register. so..delay...
Ok, fair enough. Maybe add a comment then to provide an explanation
why you are waiting for exactly 10ms. This will show up when people
try to optimize boot time, so it's good to know for the reader if it
can be made shorter or not.
Arnd
WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: Barry Song <21cnbao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
workgroup.linux-kQvG35nSl+M@public.gmane.org,
weizeng.he-kQvG35nSl+M@public.gmane.org,
tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support
Date: Tue, 5 Jul 2011 13:10:14 +0200 [thread overview]
Message-ID: <201107051310.14405.arnd@arndb.de> (raw)
In-Reply-To: <CAGsJ_4wf0Lhe2yHg1fE2QAF40=J6ZoubpfLFWQ6X9o3db0O8LQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Tuesday 05 July 2011, Barry Song wrote:
> > If your hardware can do that, you can replace the msleep() with a
> > single readl or a readl()/msleep(1) loop?
>
> i can't agree more. if there is such a register in chip, we would have
> used it. ic guys confirmed there isn't such a register. so..delay...
Ok, fair enough. Maybe add a comment then to provide an explanation
why you are waiting for exactly 10ms. This will show up when people
try to optimize boot time, so it's good to know for the reader if it
can be made shorter or not.
Arnd
next prev parent reply other threads:[~2011-07-05 11:10 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 3:32 [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support Barry Song
2011-06-29 21:29 ` Arnd Bergmann
2011-06-29 21:29 ` Arnd Bergmann
2011-06-30 3:39 ` Barry Song
2011-06-30 3:39 ` Barry Song
2011-06-30 7:19 ` Barry Song
2011-06-30 7:19 ` Barry Song
2011-06-30 10:36 ` Arnd Bergmann
2011-06-30 10:36 ` Arnd Bergmann
2011-06-30 15:03 ` Rob Herring
2011-06-30 15:03 ` Rob Herring
2011-07-01 0:04 ` Barry Song
2011-07-01 0:04 ` Barry Song
2011-07-01 16:26 ` Arnd Bergmann
2011-07-01 16:26 ` Arnd Bergmann
2011-07-04 14:59 ` Grant Likely
2011-07-04 14:59 ` Grant Likely
2011-07-01 6:20 ` Barry Song
2011-07-01 6:20 ` Barry Song
2011-07-01 16:19 ` Arnd Bergmann
2011-07-01 16:19 ` Arnd Bergmann
2011-07-02 12:25 ` Russell King - ARM Linux
2011-07-02 12:25 ` Russell King - ARM Linux
2011-07-02 19:34 ` Arnd Bergmann
2011-07-02 19:34 ` Arnd Bergmann
2011-07-04 2:55 ` Barry Song
2011-07-04 2:55 ` Barry Song
2011-07-04 14:53 ` Arnd Bergmann
2011-07-04 14:53 ` Arnd Bergmann
2011-07-05 1:32 ` Barry Song
2011-07-05 1:32 ` Barry Song
2011-07-05 11:10 ` Arnd Bergmann [this message]
2011-07-05 11:10 ` Arnd Bergmann
2011-07-05 8:34 ` Barry Song
2011-07-05 8:34 ` Barry Song
2011-07-06 2:10 ` Barry Song
2011-07-06 2:10 ` Barry Song
2011-07-06 5:30 ` Grant Likely
2011-07-06 5:30 ` Grant Likely
2011-07-06 5:58 ` Barry Song
2011-07-06 5:58 ` Barry Song
2011-07-06 6:01 ` Barry Song
2011-07-06 6:01 ` Barry Song
2011-07-06 6:28 ` Grant Likely
2011-07-06 6:28 ` Grant Likely
2011-07-06 7:03 ` Barry Song
2011-07-06 7:03 ` Barry Song
2011-07-06 7:40 ` Arnd Bergmann
2011-07-06 7:40 ` Arnd Bergmann
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=201107051310.14405.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.