From patchwork Thu Oct 8 15:59:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 35487 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DE7E3B7B74 for ; Fri, 9 Oct 2009 03:41:08 +1100 (EST) Received: from localhost ([127.0.0.1]:55716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mvw38-0006W4-37 for incoming@patchwork.ozlabs.org; Thu, 08 Oct 2009 12:41:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvvP5-0004vj-BP for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvvOw-0004hA-4V for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:38 -0400 Received: from [199.232.76.173] (port=57573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvvOv-0004g3-JF for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60208) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvvOv-0002Kl-2r for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:33 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98FxV21018441; Thu, 8 Oct 2009 11:59:31 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n98FxTRC026831; Thu, 8 Oct 2009 11:59:30 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id E0CE61336D3; Thu, 8 Oct 2009 17:59:26 +0200 (IST) From: Gleb Natapov To: kevin@koconnor.net Date: Thu, 8 Oct 2009 17:59:15 +0200 Message-Id: <1255017566-26220-11-git-send-email-gleb@redhat.com> In-Reply-To: <1255017566-26220-1-git-send-email-gleb@redhat.com> References: <1255017566-26220-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 10/21] Advertise pci irqs as active high in DSDT X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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. Qemu pcbios commit 0c8d4b40a1eec2369c016b9be1c9175607e64a4b Signed-off-by: Gleb Natapov --- src/acpi-dsdt.dsl | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index 490c017..9d6aba9 100644 --- a/src/acpi-dsdt.dsl +++ b/src/acpi-dsdt.dsl @@ -340,7 +340,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) @@ -360,7 +360,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -387,7 +387,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) @@ -407,7 +407,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -434,7 +434,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) @@ -454,7 +454,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP) @@ -481,7 +481,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) @@ -501,7 +501,7 @@ DefinitionBlock ( { Name (PRR0, ResourceTemplate () { - IRQ (Level, ActiveLow, Shared) + IRQ (Level, ActiveHigh, Shared) {1} }) CreateWordField (PRR0, 0x01, TMP)