Received: from [140.186.70.92] (port=39999 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDcbJ-0004HB-Mh for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:38:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDcYF-0005zz-5j for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:34:52 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:37209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDcYE-0005zE-Pu for qemu-devel@nongnu.org; Wed, 03 Nov 2010 08:34:51 -0400 Date: Wed, 3 Nov 2010 21:34:46 +0900 From: Isaku Yamahata Subject: Re: [Qemu-devel] MSI broken? Message-ID: <20101103123446.GB26077@valinux.co.jp> References: <4CD14173.7000007@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CD14173.7000007@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 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? -- yamahata