Displaying 1 result from an estimated 1 matches for "xen_apic_icr_read".
2011 Aug 22
0
[PATCH] tone down the WARN_ON about unexpected APIC writes
...24,9 @@ static u32 xen_apic_read(u32 reg)
 
 static void xen_apic_write(u32 reg, u32 val)
 {
-	/* Warn to see if there''s any stray references */
-	WARN_ON(1);
+	printk(KERN_WARNING "xen: unexpected APIC write %#x to reg %#x\n",
+	       val, reg);
+	dump_stack();
 }
 
 static u64 xen_apic_icr_read(void)
@@ -735,8 +736,9 @@ static u64 xen_apic_icr_read(void)
 
 static void xen_apic_icr_write(u32 low, u32 id)
 {
-	/* Warn to see if there''s any stray references */
-	WARN_ON(1);
+	printk(KERN_WARNING "xen: unexpected APIC ICR write %#x %#x\n",
+	       id, low);
+	dump_stack()...