WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[PATCH] cpuidle: Enable hpet broadcast by default (RE: [Xen-devel] Time

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] cpuidle: Enable hpet broadcast by default (RE: [Xen-devel] Time goes backwards in dom0 in xen-unstable)
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Wed, 15 Apr 2009 22:09:38 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 15 Apr 2009 07:10:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C60B650D.8A1D%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0A882F4D99BBF6449D58E61AAFD7EDD6103D46C5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C60B650D.8A1D%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acm9OHm7fol9+9rvQjKKFejOm6nGzwAH3V9AABGCaz8AAAmLgAADRLEbAAoMT2A=
Thread-topic: [PATCH] cpuidle: Enable hpet broadcast by default (RE: [Xen-devel] Time goes backwards in dom0 in xen-unstable)
cpuidle: Enable hpet broadcast by default

And stop legacy hpet broadcast and limit max C-state to shallower state if RTC 
interrupts are enabled.

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
Signed-off-by: Tian Kevin <kevin.tian@xxxxxxxxx>

On Wednesday, April 15, 2009 5:19 PM, Keir Fraser wrote:
> On 15/04/2009 08:51, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
> 
>> We revised our plan here, after realizing not-negligible effort to
>> enable RTC emulation. Instead we want to turn to an alternative
>> that hpet broadcast is always enabled once available (current
>> situation is to always give up if no MSI delivery support), and
>> then disable it on the fly (disable HPET interrupt and reduce
>> max_cstate to a level not requiring broadcast) once detecting
>> user trying to enable UIE/PIE/AIE on RTC. That way is far
>> simpler and makes cpuidle really available on most platforms
>> with HPET (true for most with VT support), in the meantime
>> not breaking occasional usage on RTC interrupt.
>> 
>> Will you accept such patch which handles mostly about policy? :-)
>> We'll try to send it out today.
> 
> It's got a better chance than RTC emulation. I'll certainly consider it.
> 
>  -- Keir
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: cpuidle_rtc_mitigation.patch
Description: cpuidle_rtc_mitigation.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel