[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Polarity-switch method only effective in non-directed EOI case.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1264521249 0
# Node ID 66587cc5f1e1217c54a5483ce68b9ae6dbeca44a
# Parent  8e1385f1e8a7fcb9d686cf31d5a74d988e325cd4
x86: Polarity-switch method only effective in non-directed EOI case.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/x86/io_apic.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8e1385f1e8a7 -r 66587cc5f1e1 xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c    Tue Jan 26 15:53:52 2010 +0000
+++ b/xen/arch/x86/io_apic.c    Tue Jan 26 15:54:09 2010 +0000
@@ -1529,7 +1529,7 @@ static void mask_and_ack_level_ioapic_ir
        !io_apic_level_ack_pending(irq))
         move_native_irq(irq);
 
-    if (!(v & (1 << (i & 0x1f)))) {
+    if (!directed_eoi_enabled && !(v & (1 << (i & 0x1f)))) {
         atomic_inc(&irq_mis_count);
         spin_lock(&ioapic_lock);
         __edge_IO_APIC_irq(irq);

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.