From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37377 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDdWl-0006qA-3z for qemu-devel@nongnu.org; Wed, 03 Nov 2010 09:37:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDdWj-0007Lz-U4 for qemu-devel@nongnu.org; Wed, 03 Nov 2010 09:37:22 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:47242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDdWj-0007Lb-Gr for qemu-devel@nongnu.org; Wed, 03 Nov 2010 09:37:21 -0400 Date: Wed, 3 Nov 2010 22:37:18 +0900 From: Isaku Yamahata Subject: Re: [Qemu-devel] MSI broken? Message-ID: <20101103133718.GC26077@valinux.co.jp> References: <4CD14173.7000007@redhat.com> <20101103123446.GB26077@valinux.co.jp> <4CD1585B.2010200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CD1585B.2010200@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" On Wed, Nov 03, 2010 at 01:40:59PM +0100, Gerd Hoffmann wrote: > On 11/03/10 13:34, Isaku Yamahata wrote: >> On Wed, Nov 03, 2010 at 12:03:15PM +0100, Gerd Hoffmann wrote: >>> Hi, >>> >>> What is the status if the recently merged MSI support? >>> >>> I'm trying to use it to add msi support to the intel-hda driver (current >>> wip patch attached). Everything works fine up to the point where it >>> comes to delivering the interrupt to the guest. msi_notify pretends to >>> signal the guest: >>> >>> msi_notify:243 intel-hda:30 notify vector 0x0 address: 0xfee01008 data: >>> 0x4151 >>> >>> The guest never ever receives this interrupt though: >>> >>> [root@localhost ~]# grep hda /proc/interrupts >>> 43: 0 PCI-MSI-edge hda_intel >>> >>> Ideas anyone? >> >> Let's track it down futher. >> Were acpi_mem_writel() and apic_send_msi() in hw/apic.c called or not? > > No such function in my tree (savannah/master). > > Looks like some bits needed for msi are not merged yet? Sorry typo. s/acpi/apic/. I'm looking at 7d72e76228351d18a856f1e4f5365b59d3205dc3 of git://git.savannah.nongnu.org/qemu.git > > cheers, > Gerd > -- yamahata