From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVprL-0000vB-P7 for qemu-devel@nongnu.org; Sun, 21 Sep 2014 18:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVprF-0003Dr-Kc for qemu-devel@nongnu.org; Sun, 21 Sep 2014 18:43:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVprF-00035a-DC for qemu-devel@nongnu.org; Sun, 21 Sep 2014 18:43:53 -0400 Message-ID: <541F5493.20508@redhat.com> Date: Mon, 22 Sep 2014 00:43:31 +0200 From: Laszlo Ersek MIME-Version: 1.0 References: <20140915145005.GM1825@ERROL.INI.CMU.EDU> <5416FF41.7010800@redhat.com> <20140915150754.GO1825@ERROL.INI.CMU.EDU> <5417299C.7020107@redhat.com> <20140921221055.GB1695@ERROL.INI.CMU.EDU> In-Reply-To: <20140921221055.GB1695@ERROL.INI.CMU.EDU> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gabriel L. Somlo" Cc: edk2-devel@lists.sourceforge.net, agraf@suse.de, qemu-devel@nongnu.org, Gerd Hoffmann , reza.jelveh@tuhh.de, Paolo Bonzini On 09/22/14 00:10, Gabriel L. Somlo wrote: > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11) > dmsg_bios.log: ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11) > > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKA] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKE] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKF] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 11) *0, disabled. > dmsg_ovmf.log: ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 11) *0, disabled. I mentioned earlier that grepping OvmfPkg for PCI_LIB_ADDRESS would be necessary. See PciInitialization() in "OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c". // // Bus 0, Device 1, Function 0 - PCI to ISA Bridge // PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00); PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x0b); // LNKB routing target PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0a); // LNKC routing target PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x0a); // LNKD routing target This is not appropriate for q35. See "ICH9 PCI to ISA irq remapping" in qemu's "q35-acpi-dsdt.dsl" file, vs. "PIIX PCI to ISA irq remapping" in "acpi-dsdt.dsl". The above was added in 05c89c7f. Thanks Laszlo