Received: from eggs.gnu.org ([2001:4830:134:3::10]:54404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMGym-0008DA-7P for Qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:35:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMGyh-0003LV-63 for Qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:35:36 -0400 Received: from aussmtpmrkps320.us.dell.com ([143.166.224.254]:9556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMGyg-0003LL-T2 for Qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:35:30 -0400 From: Bret Ketchum Date: Wed, 18 Sep 2013 12:35:27 +0000 Message-ID: References: <20130910172934.GB3913@redhat.com> <20130910174946.GB4065@redhat.com> <8b90976a8d824414a10e656ebbc67202@mspexmb1.Beer.Town> <1379336124.28744.17.camel@nilsson.home.kraxel.org> <1379344529.28744.35.camel@nilsson.home.kraxel.org> <827924efb2d643a88405433b94e9c3f6@mspexmb1.Beer.Town> <20130917164401.GC20672@redhat.com> In-Reply-To: <20130917164401.GC20672@redhat.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] Q35 FreeBSD install status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Gerd Hoffmann , "Qemu-devel@nongnu.org" For those following along. The mptable I presented was an old table, up= dating to SeaBIOS 1.7.3 fixed that but still no interrupts. However, it app= ears FreeBSD has trouble parsing the ACPI tables presented via q35-acpi-dsd= t.aml as it does not create the sysresource devices associated with ACPI. A= work around until I uncover the parsing issue it to revert to using the mp= table to wire PCI interrupts via 'debug.acpi.disabled=3Dpci_link'. FreeBSD = will whine about failing to force attach of GSIs but thus far all seems to = be well with the world. I've yet to check but I suspect the parsing issue i= s also root cause of uhci/ehci missing interrupts. -----Original Message----- From: Michael S. Tsirkin [mailto:mst@redhat.com]=20 Sent: Tuesday, September 17, 2013 11:44 AM To: Bret Ketchum Cc: Gerd Hoffmann; Qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Q35 FreeBSD install status Could be MPT is not parsed correctly? I see that we put 0 in the ID in bios code. Could you dump the MPT and send it on list? On Tue, Sep 17, 2013 at 03:25:38PM +0000, Bret Ketchum wrote: >=20 > The emulated e1000 uses legacy interrupts. I'm wondering if someone c= an help me understand the mptable (used by FreeBSD to route interrupts and = defined in Intel's MP spec): >=20 > Bus: Bus ID Type > 0 PCI > 1 ISA >=20 > I/O APICs: APIC ID Version State Address > 0 0x11 usable 0xfec00000 >=20 > I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID = PIN# > INT active-hi conforms 0 31:A 2 = 10 > INT active-hi conforms 0 3:A 2 = 11 >=20 >=20 > The interrupts associated with the PCI bus where e1000 hangs suggest= there is an APIC with an ID of 2 but there is only one APIC (with an ID o= f 0).=20 >=20 > -----Original Message----- > From: Gerd Hoffmann [mailto:kraxel@redhat.com]=20 > Sent: Monday, September 16, 2013 10:15 AM > To: Bret Ketchum > Cc: Qemu-devel@nongnu.org; mst@redhat.com > Subject: Re: [Qemu-devel] Q35 FreeBSD install status >=20 > On Mo, 2013-09-16 at 12:57 +0000, Bret Ketchum wrote: > > Tried that - looks like FreeBSD expects to use MSI for AHCI devices= which does not appear to be supported in q35. >=20 > It is supported and linux has no problems using ahci with msi. >=20 > Given that e1000 seems to have interrupt problems too I wouldn't be surpr= ised if both issues have the same root cause. Might be something in the se= abios acpi tables. Or a bug in FreeBSD. >=20 > cheers, > Gerd >=20 >=20 >=20