All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH] ARM: tegra30: make the wait time of CPU power up to proportional to HZ
Date: Mon, 07 Jan 2013 10:41:57 -0700	[thread overview]
Message-ID: <50EB08E5.8080503@wwwdotorg.org> (raw)
In-Reply-To: <1357527374-31055-1-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 01/06/2013 07:56 PM, Joseph Lo wrote:
> It would rather to use the API of time_to_jiffies than a constant number
> of jiffies for the wait time of CPU power up.
> 
> Based on the work by:
> Sang-Hun Lee <sanlee-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Applied to Tegra's for-3.9/soc branch.

> diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c

> -		timeout = jiffies + 5*HZ;
> +		timeout = jiffies + msecs_to_jiffies(50);

I did just want to confirm though; I think that changes the timeout from
5 seconds to 50mS and similarly for the other change. I assume that was
intended? The code certainly seemed to work just fine with this change
when I tested it.

WARNING: multiple messages have this Message-ID (diff)
From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: tegra30: make the wait time of CPU power up to proportional to HZ
Date: Mon, 07 Jan 2013 10:41:57 -0700	[thread overview]
Message-ID: <50EB08E5.8080503@wwwdotorg.org> (raw)
In-Reply-To: <1357527374-31055-1-git-send-email-josephl@nvidia.com>

On 01/06/2013 07:56 PM, Joseph Lo wrote:
> It would rather to use the API of time_to_jiffies than a constant number
> of jiffies for the wait time of CPU power up.
> 
> Based on the work by:
> Sang-Hun Lee <sanlee@nvidia.com>

Applied to Tegra's for-3.9/soc branch.

> diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c

> -		timeout = jiffies + 5*HZ;
> +		timeout = jiffies + msecs_to_jiffies(50);

I did just want to confirm though; I think that changes the timeout from
5 seconds to 50mS and similarly for the other change. I assume that was
intended? The code certainly seemed to work just fine with this change
when I tested it.

  parent reply	other threads:[~2013-01-07 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07  2:56 [PATCH] ARM: tegra30: make the wait time of CPU power up to proportional to HZ Joseph Lo
2013-01-07  2:56 ` Joseph Lo
     [not found] ` <1357527374-31055-1-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-01-07 17:41   ` Stephen Warren [this message]
2013-01-07 17:41     ` Stephen Warren
     [not found]     ` <50EB08E5.8080503-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-01-08  1:24       ` Joseph Lo
2013-01-08  1:24         ` Joseph Lo

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=50EB08E5.8080503@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.