search for: reprogram_hpet_evt_channel

Displaying 2 results from an estimated 2 matches for "reprogram_hpet_evt_channel".

2009 Apr 30
0
[PATCH] cpuidle: Fix for timer_deadline==0 case
...ine is possible to be 0, i.e. no soft timer in the queue. This case will cause unexpected large residency percentage in C1 for the purely idle cpu. The fix is if timer_deadline == 0, skip most hpet broadcast enter logic because no broadcast is needed for this cpu. Meanwhile strengthen the check in reprogram_hpet_evt_channel, treating (expire <= 0) as a hint for no need to reprogram hpet. Signed-off-by: Wei Gang <gang.wei@intel.com> diff -r f734a724902b xen/arch/x86/hpet.c --- a/xen/arch/x86/hpet.c Mon Apr 27 18:59:56 2009 +0100 +++ b/xen/arch/x86/hpet.c Thu Apr 30 14:45:01 2009 +0800 @@ -122,10 +122,10 @@ s...
2008 Jul 16
1
[PATCH] Adjust handle_hpet_broadcast to let it run better before broadcast exit
...ently executed debug print line to simplify the serial output. Signed-off-by: Wei Gang <gang.wei@intel.com> diff -r 63317b6c3eab xen/arch/x86/hpet.c --- a/xen/arch/x86/hpet.c Mon Jul 14 15:21:03 2008 +0100 +++ b/xen/arch/x86/hpet.c Wed Jul 16 12:43:52 2008 +0800 @@ -97,8 +97,6 @@ static int reprogram_hpet_evt_channel( delta = expire - now; if ( delta <= 0 ) { - printk(KERN_DEBUG "reprogram: expire(%"PRIx64") < " - "now(%"PRIx64")\n", expire, now); if ( !force ) return -ETIME; } @@ -142,12 +140,10 @@ stat...