From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBg2Y-0002NK-8y for qemu-devel@nongnu.org; Mon, 28 Jul 2014 04:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBg2S-0007pv-Rz for qemu-devel@nongnu.org; Mon, 28 Jul 2014 04:12:14 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:39989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBg2S-0007pk-MD for qemu-devel@nongnu.org; Mon, 28 Jul 2014 04:12:08 -0400 Received: by mail-wi0-f174.google.com with SMTP id d1so3928323wiv.7 for ; Mon, 28 Jul 2014 01:12:06 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53D605CF.1060508@redhat.com> Date: Mon, 28 Jul 2014 10:11:59 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53D4A2C3.8030406@web.de> In-Reply-To: <53D4A2C3.8030406@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/audio/intel-hda: Fix MSI capability address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Gerd Hoffmann Cc: qemu-devel Il 27/07/2014 08:57, Jan Kiszka ha scritto: > From: Jan Kiszka > > According to ICH9 spec, the MSI capability is located at 0x60. This is > important for guest drivers that do not parse the capability chain and > use absolute addresses instead. > > Signed-off-by: Jan Kiszka > --- > hw/audio/intel-hda.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c > index aa49b47..09c4118 100644 > --- a/hw/audio/intel-hda.c > +++ b/hw/audio/intel-hda.c > @@ -1141,7 +1141,7 @@ static int intel_hda_init(PCIDevice *pci) > "intel-hda", 0x4000); > pci_register_bar(&d->pci, 0, 0, &d->mmio); > if (d->msi) { > - msi_init(&d->pci, 0x50, 1, true, false); > + msi_init(&d->pci, 0x60, 1, true, false); > } > > hda_codec_bus_init(DEVICE(pci), &d->codecs, sizeof(d->codecs), > Does this need a compat property? Paolo