The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	Andi Kleen <ak@suse.de>, Chuck Ebbert <cebbert@redhat.com>,
	Dave Jones <davej@redhat.com>, Len Brown <lenb@kernel.org>,
	"Langsdorf, Mark" <mark.langsdorf@amd.com>
Subject: Re: [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E
Date: Wed, 26 Sep 2007 17:06:51 +0200	[thread overview]
Message-ID: <200709261706.52761.rjw@sisk.pl> (raw)
In-Reply-To: <20070926083107.GB10713@elte.hu>

On Wednesday, 26 September 2007 10:31, Ingo Molnar wrote:
> 
> * Rafael J. Wysocki <rjw@sisk.pl> wrote:
> 
> > On Tuesday, 25 September 2007 22:55, Thomas Gleixner wrote:
> > > On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote:
> > > > I have reworked the patch a bit so that it applies on top of 2.6.23-rc8-mm1
> > > > and compiles (my version is attached).
> > > > 
> > > > With this patch applied, the kernel boots correctly on the nx6325.
> > > 
> > > I know. It's basically enforced "noapictimer". 
> > > 
> > > But this still does not explain why your nasty box booted current
> > > mainline with "apicmaintimer" on the kernel command line.
> > 
> > Now it doesn't do that any more.
> > 
> > As I wrote in the other thread, I think that _sometimes_ the CPU 
> > doesn't enter the C1E state (or how it's called) and then the box 
> > boots and works.
> 
> Can you see any correlation between being on AC or on battery and this 
> bug occuring?

No.  All tests were done with the AC power supply plugged in.

> Sometimes the BIOS might even do C states depending on  
> whether the box was booted up on AC or on battery. (and sometimes the 
> kernel calibrates things differently when booting up on battery [lower 
> speed] - so this can have an effect too.)

On my box there are hidden history effects related to other things too (eg.
sometimes after a fresh boot the processor generates lots of ACPI events
such that it takes 25% of CPU power to handle them alone).

Greetings,
Rafael

      reply	other threads:[~2007-09-26 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 19:37 [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E Thomas Gleixner
2007-09-25 20:55 ` Rafael J. Wysocki
2007-09-25 20:55   ` Thomas Gleixner
2007-09-25 21:32     ` Rafael J. Wysocki
2007-09-26  8:31       ` Ingo Molnar
2007-09-26 15:06         ` Rafael J. Wysocki [this message]

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=200709261706.52761.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=cebbert@redhat.com \
    --cc=davej@redhat.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.langsdorf@amd.com \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=torvalds@osdl.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