All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: cpufreq@www.linux.org.uk
Subject: Re: cpufreq/linux/arch/arm/mach-sa1100 cpu-sa1100.c, 1.5,
Date: Mon, 30 Aug 2004 15:29:54 +0100	[thread overview]
Message-ID: <20040830152954.A22480@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20040829124936.GA16770@dominikbrodowski.de>; from linux@dominikbrodowski.de on Sun, Aug 29, 2004 at 02:49:36PM +0200

On Sun, Aug 29, 2004 at 02:49:36PM +0200, Dominik Brodowski wrote:
> With regard to PANIC_RESUME_OUTOFSYNC:
> 
> > It's up to the kernel to reset the clock rate itself.  This is nothing
> > new - cpufreq has always done this, so why are we adding this new
> > restriction?
> 
> cpufreq still does this. However not during sysdev-resume state [because
> notifiers can sleep], but later. This means the problematic discrepancy (see
> above) is there, just for a short period of time. If you think it isn't an
> issue, Bruno's patch to remove both flags is perfectly valid, otherwise
> these flags do make some sense.

Typically, the boot loader will have a fixed clock speed and RAM timing
setting.  This means that whenever we resume, we will resume not at the
speed the kernel last set, but what we normally boot at.  If we normally
boot at 206.4MHz, we will resume at 206.4MHz no matter what.

So, with PANIC_RESUME_OUTOFSYNC that seems to mean that we will _always_
panic on resume if cpufreq has been used.  Which kind'a makes cpufreq
completely useless on these platforms.

Obviously given this information, this flag needs to be removed from ARM.
If ARM is the only user, then the flag and associated code needs to be
completely removed.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

  parent reply	other threads:[~2004-08-30 14:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-29 12:49 cpufreq/linux/arch/arm/mach-sa1100 cpu-sa1100.c, 1.5, Dominik Brodowski
2004-08-30 12:19 ` Bruno Ducrot
2004-08-30 13:17   ` Dominik Brodowski
2004-08-30 14:49     ` Bruno Ducrot
2004-08-30 15:01       ` Dominik Brodowski
2004-08-30 15:16         ` Bruno Ducrot
2004-08-30 16:03           ` Dominik Brodowski
2004-08-30 14:29 ` Russell King [this message]
2004-08-30 15:08   ` Dominik Brodowski
2004-08-30 16:16     ` Russell King
2004-08-31 22:23       ` Dave Jones

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=20040830152954.A22480@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=cpufreq@www.linux.org.uk \
    /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.