debuggers.hg

changeset 20903:66587cc5f1e1

x86: Polarity-switch method only effective in non-directed EOI case.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 26 15:54:09 2010 +0000 (2010-01-26)
parents 8e1385f1e8a7
children 2636e5619708
files xen/arch/x86/io_apic.c
line diff
     1.1 --- a/xen/arch/x86/io_apic.c	Tue Jan 26 15:53:52 2010 +0000
     1.2 +++ b/xen/arch/x86/io_apic.c	Tue Jan 26 15:54:09 2010 +0000
     1.3 @@ -1529,7 +1529,7 @@ static void mask_and_ack_level_ioapic_ir
     1.4         !io_apic_level_ack_pending(irq))
     1.5          move_native_irq(irq);
     1.6  
     1.7 -    if (!(v & (1 << (i & 0x1f)))) {
     1.8 +    if (!directed_eoi_enabled && !(v & (1 << (i & 0x1f)))) {
     1.9          atomic_inc(&irq_mis_count);
    1.10          spin_lock(&ioapic_lock);
    1.11          __edge_IO_APIC_irq(irq);