From fc6a77e77d0c2f24950b4fee97d27693a1e4b76d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 8 Oct 2009 21:33:26 -0400 Subject: [PATCH] Always create PCI interrupt override acpi tables. This is what qemu pcbios does since commit da5ff65dc9473e3f069736d38b9a189ea14a67eb. Qemu implements PCI interrupts as active high, but OSes assume that they are active low as per PCI spec. Qemu works without override only because ioapic there doesn't implement polarity bit. Signed-off-by: Gleb Natapov --- src/acpi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/acpi.c b/src/acpi.c index dafd8c8..eed5ee4 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -196,12 +196,8 @@ struct madt_io_apic * lines start */ } PACKED; -#if CONFIG_KVM /* IRQs 5,9,10,11 */ #define PCI_ISA_IRQ_MASK 0x0e20 -#else -#define PCI_ISA_IRQ_MASK 0x0000 -#endif struct madt_intsrcovr { APIC_HEADER_DEF -- 2.39.5