All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Mark van Dijk <lists+xen@internecto.net>
Cc: Jan Beulich <JBeulich@suse.com>, xen-devel@lists.xen.org
Subject: Re: Kernel crash with acpi_processor, cpu_idle and intel_idle =y
Date: Tue, 31 Jul 2012 09:42:24 -0400	[thread overview]
Message-ID: <20120731134224.GE4789@phenom.dumpdata.com> (raw)
In-Reply-To: <20120731135848.7298a046@internecto.net>

On Tue, Jul 31, 2012 at 01:58:48PM +0200, Mark van Dijk wrote:
> Message 501657C70200007800091357@nat28.tlf.novell.com contained:
> >The first thing intel_idle_init() does is check
> >boot_option_idle_override, and I thought this got forced to
> >something other than IDLE_NO_OVERRIDE by the Xen code.
> >But at least in the current kernel that doesn't seem to be
> >the case anymore, and thus I suppose that it's dying on the
> >subsequent
> >
> >	retval = cpuidle_register_driver(&intel_idle_driver);
> >	if (retval) {
> >		printk(KERN_DEBUG PREFIX "intel_idle yielding to %s",
> >			cpuidle_get_driver()->name);
> >		return retval;
> >	}
> >
> >since cpuidle_get_driver() is presumably returning NULL (after
> >all xen_arch_setup() does call disable_cpuidle()).
> 
> This is way beyond my knowledge. I'm no programmer so unfortunately I
> can't say anything about it.
> 
> Not using INTEL_IDLE is no problem, in fact, I now understand that
> INTEL_IDLE is not (should not) even used with Xen.

Sure, but it should be smart enought not to crash. Can you please try the
patch I sent in the other email.
> 
> But I have to ask whether we can look at the other issue a bit more,
> regarding CPU states and how I can get states C4-C7 to work.

You seem to be using MWAIT states, which is what the C4-C7 are.
> 
> Perhaps you can tell me whether the BIOS options "ACPI T-state",
> "C3 Auto Demotion" and "C1 Auto Demotion" should be disabled. I think
> they should be, as I read it this sets respectively C4-C7 to C3, and
> C3-C2 to C1 right? I have (and had) those disabled, when I enabled them
> the output from xenpm did not differ.

I am not sure what those do. What did the manual say that they are doing?

BTW, C4-C7 are basically C3 states with MWAIT - and from your pastebins
you seem to have those enabled.

> 
> Much obliged,
> 
> Mark.
> 
> -- 
> Stay in touch,
> Mark van Dijk.              ,--------------------------------
> ---------------------------'        Tue Jul 31 11:28 UTC 2012
> Today is Boomtime, the 66th day of Confusion in the YOLD 3178

  reply	other threads:[~2012-07-31 13:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22 16:16 Kernel crash with acpi_processor, cpu_idle and intel_idle =y Mark van Dijk
2012-07-23 14:20 ` Konrad Rzeszutek Wilk
2012-07-26  0:25   ` Mark van Dijk
2012-07-26  7:15     ` Jan Beulich
2012-07-26 14:05     ` Konrad Rzeszutek Wilk
2012-07-26 14:57       ` Jan Beulich
2012-07-26 14:55         ` Konrad Rzeszutek Wilk
2012-07-28 12:55           ` Mark van Dijk
2012-07-30  7:45             ` Jan Beulich
2012-07-31 11:58               ` Mark van Dijk
2012-07-31 13:42                 ` Konrad Rzeszutek Wilk [this message]
2012-07-31 13:40               ` Konrad Rzeszutek Wilk
2012-07-31 21:50                 ` Mark van Dijk
2012-07-31 23:42                   ` Konrad Rzeszutek Wilk
2012-07-31 23:59                 ` Mark van Dijk
2012-07-31 23:55                   ` Konrad Rzeszutek Wilk
2012-08-01  0:25                     ` Mark van Dijk
2012-07-23 14:28 ` Jan Beulich
2012-07-26  0:30   ` Mark van Dijk

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=20120731134224.GE4789@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=lists+xen@internecto.net \
    --cc=xen-devel@lists.xen.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.