All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>,
	Gang Wei <gang.wei@intel.com>,
	xen-devel@lists.xensource.com
Cc: Ke Yu <ke.yu@intel.com>
Subject: Re: please revert c/s 17686
Date: Fri, 13 Jun 2008 08:45:59 +0100	[thread overview]
Message-ID: <485241D7.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C477E0D8.19C22%keir.fraser@eu.citrix.com>

>>> Keir Fraser <keir.fraser@eu.citrix.com> 13.06.08 09:31 >>>
>On 13/6/08 03:08, "Wei, Gang" <gang.wei@intel.com> wrote:
>
>> Ok. Without hpet_broadcast, C3 can't work now.
>> 
>> First, we need to add check for mechanism readiness before entering C3
>> to avoid sleeping forever as you mentioned.
>> 
>> Second, there are 3 options to reenable C3.
>>   - Use pit_broadcast. Straightforward, may have some impacts on
>> tick-less effect.
>>   - Emulate RTC with legacy HPET. Need back porting from latest Linux
>> kernel.
>>   - Enable FSB delivery for HPET interrupt. Not all models support this
>> mode.
>> 
>> We would like to go with pit_broadcast first to ensure the C3 usability,
>> and look at other options later.
>
>Will you keep the 10ms tick in this case? If that's acceptable it should be
>a simple patch.

I think it would be nice it the tick was enabled only when at least one
CPU actually is about to enter or in C3. And I'm not certain whether
it wouldn't be possible to use a larger value than 10ms - at least in the
case where all CPUs are in C3 (but I see that this case doesn't really
seem to be expected anyway, given the warning handle_hpet_broadcast()
generates when the current CPU is in the channel's mask; I'm also
unclear about how the warning is avoided when the CPU currently in
charge of handling the timer interrupt is to enter C3 - maybe I'm
overlooking a place where the affinity get changed).

Jan

  reply	other threads:[~2008-06-13  7:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 13:28 please revert c/s 17686 Jan Beulich
2008-06-12 13:56 ` Keir Fraser
2008-06-12 14:01   ` Jan Beulich
2008-06-12 16:22 ` Keir Fraser
2008-06-13  2:08   ` Wei, Gang
2008-06-13  7:31     ` Keir Fraser
2008-06-13  7:45       ` Jan Beulich [this message]
2008-06-13  7:51         ` Keir Fraser
2008-06-13  8:06           ` Wei, Gang
2008-06-13  8:12             ` Jan Beulich
2008-06-13  8:24               ` Keir Fraser
2008-06-13 13:12                 ` Wei, Gang

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=485241D7.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=gang.wei@intel.com \
    --cc=ke.yu@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.