search for: hpet_event_channel

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

2009 Apr 30
0
[PATCH] cpuidle: Fix for timer_deadline==0 case
...(KERN_DEBUG "reprogram: expire < 0\n"); - return -ETIME; + printk(KERN_DEBUG "reprogram: expire <= 0\n"); + return 0; } delta = expire - now; @@ -625,6 +625,9 @@ void hpet_broadcast_enter(void) int cpu = smp_processor_id(); struct hpet_event_channel *ch = per_cpu(cpu_bc_channel, cpu); + if ( this_cpu(timer_deadline) == 0 ) + return; + if ( !ch ) ch = hpet_get_channel(cpu); BUG_ON( !ch ); Jimmy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xenso...
2011 Mar 28
0
[xen-unstable test] 6714: regressions - FAIL
...Signed-off-by: Keir Fraser <keir@xen.org> changeset: 23096:a65612bcbb92 user: Jan Beulich <jbeulich@novell.com> date: Fri Mar 25 09:03:17 2011 +0000 x86/hpet: eliminate cpumask_lock According to the (now getting removed) comment in struct hpet_event_channel, this was to prevent accessing a CPU''s timer_deadline after it got cleared from cpumask. This can be done without a lock altogether - hpet_broadcast_exit() can simply clear the bit, and handle_hpet_broadcast() can read timer_deadline before looking at the mask a second time...