Displaying 2 results from an estimated 2 matches for "hpet_broadcast_init".
Did you mean:
hpet_broadcast_exit
2011 Feb 10
4
[PATCH] x86: suppress HPET broadcast initialization in the presence of ARAT
...lly caused S3
resume issues.
A question would be whether HPET legacy interrupts should be forced
off in this case (rather than leaving whatever came from firmware).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -557,6 +557,9 @@ void hpet_broadcast_init(void)
u32 hpet_id, cfg;
int i;
+ if ( boot_cpu_has(X86_FEATURE_ARAT) )
+ return;
+
if ( irq_channel == NULL )
{
irq_channel = xmalloc_array(int, nr_irqs);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.c...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...p, cpu_present_map, cpu_possible_map);
/* Enable IRQ to receive IPI (needed for ITC sync). */
local_irq_enable();
--- 2009-07-10.orig/xen/arch/x86/hpet.c 2009-05-27 13:54:05.000000000 +0200
+++ 2009-07-10/xen/arch/x86/hpet.c 2009-07-15 09:58:49.000000000 +0200
@@ -590,7 +590,7 @@ void hpet_broadcast_init(void)
legacy_hpet_event.flags = 0;
spin_lock_init(&legacy_hpet_event.lock);
- for_each_cpu(i)
+ for_each_possible_cpu(i)
per_cpu(cpu_bc_channel, i) = &legacy_hpet_event;
if ( !force_hpet_broadcast )
--- 2009-07-10.orig/xen/arch/x86/nmi.c 2009-06-19 11:11:23...