All of lore.kernel.org
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: Duration of mdelay and udelay depends on MPU frequency in SMP
Date: Thu, 12 May 2011 12:12:32 +0530	[thread overview]
Message-ID: <4DCB8158.8060507@ti.com> (raw)
In-Reply-To: <BANLkTimVPnzMCL=NMb7hDkL97nJ=XdFExw@mail.gmail.com>

On 5/5/2011 12:23 PM, Saquib wrote:
> Hi All,
>
> Can anyone please help me to understand and fix this issue?
>
> When CPU frequency is "1008MHz", duration of delay was close to
> theoretical value, however, when "300MHz", it was close to about 4 times
> the theoretical value.
>
> I tested it on OMAP4(SMP) blaze board.
 >
It's a well known problem if the udelay() is based of global lpj.
You can read more here [1]

Regards
Santosh
[1] http://eeek.borgchat.net/lists/arm-kernel/msg120702.html

  reply	other threads:[~2011-05-12  6:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  6:49 Duration of mdelay and udelay depends on MPU frequency in SMP Saquib
2011-05-05  6:53 ` Saquib
2011-05-12  6:42   ` Santosh Shilimkar [this message]
2011-06-10 22:19     ` Menon, Nishanth
2011-06-10 22:19       ` Menon, Nishanth
2011-06-14  3:24       ` Stephen Boyd
2011-06-14  3:24         ` Stephen Boyd
2011-06-14  4:19         ` Menon, Nishanth
2011-06-14  4:19           ` Menon, Nishanth

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=4DCB8158.8060507@ti.com \
    --to=santosh.shilimkar@ti.com \
    --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.