From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57132 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDceG-0006Br-Cr for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDceF-0007Ah-H1 for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:41:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDceF-0007A8-AB for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:41:03 -0400 Message-ID: <4CD1585B.2010200@redhat.com> Date: Wed, 03 Nov 2010 13:40:59 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] MSI broken? References: <4CD14173.7000007@redhat.com> <20101103123446.GB26077@valinux.co.jp> In-Reply-To: <20101103123446.GB26077@valinux.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: "qemu-devel@nongnu.org" 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? cheers, Gerd