Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbvnP-0007Je-E2 for qemu-devel@nongnu.org; Fri, 14 Aug 2009 08:22:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbvnK-0007HT-Hd for qemu-devel@nongnu.org; Fri, 14 Aug 2009 08:22:10 -0400 Received: from [199.232.76.173] (port=47017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbvnK-0007HQ-Dy for qemu-devel@nongnu.org; Fri, 14 Aug 2009 08:22:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:41895) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbvnJ-0006Fi-RD for qemu-devel@nongnu.org; Fri, 14 Aug 2009 08:22:06 -0400 From: Gerd Hoffmann Date: Fri, 14 Aug 2009 14:21:53 +0200 Message-Id: <1250252518-29300-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1250252518-29300-1-git-send-email-kraxel@redhat.com> References: <1250252518-29300-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/6] kvm: bios: advertise pci irqs as active high List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Avi Kivity , Gerd Hoffmann From: Avi Kivity now that kvm emulates the ioapic polarity correctly, we must describe the polarity correctly in the acpi tables. otherwise pci interrupts won't be delivered correctly. Signed-off-by: Avi Kivity Signed-off-by: Gerd Hoffmann --- acpi-dsdt.dsl | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/acpi-dsdt.dsl b/acpi-dsdt.dsl index 7bff30a..76ff100 100644 --- a/acpi-dsdt.dsl +++ b/acpi-dsdt.dsl @@ -441,7 +441,7 @@ DefinitionBlock ( Name(_HID, EISAID("PNP0C0F")) // PCI interrupt link Name(_UID, 1) Name(_PRS, ResourceTemplate(){ - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {3,4,5,6,7,9,10,11,12} }) Method (_STA, 0, NotSerialized) @@ -461,7 +461,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -488,7 +488,7 @@ DefinitionBlock ( Name(_HID, EISAID("PNP0C0F")) // PCI interrupt link Name(_UID, 2) Name(_PRS, ResourceTemplate(){ - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {3,4,5,6,7,9,10,11,12} }) Method (_STA, 0, NotSerialized) @@ -508,7 +508,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -535,7 +535,7 @@ DefinitionBlock ( Name(_HID, EISAID("PNP0C0F")) // PCI interrupt link Name(_UID, 3) Name(_PRS, ResourceTemplate(){ - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {3,4,5,6,7,9,10,11,12} }) Method (_STA, 0, NotSerialized) @@ -555,7 +555,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -582,7 +582,7 @@ DefinitionBlock ( Name(_HID, EISAID("PNP0C0F")) // PCI interrupt link Name(_UID, 4) Name(_PRS, ResourceTemplate(){ - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {3,4,5,6,7,9,10,11,12} }) Method (_STA, 0, NotSerialized) @@ -602,7 +602,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) -- 1.6.2.5