From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBIPl-0001V6-Fe for qemu-devel@nongnu.org; Sun, 27 Jul 2014 02:58:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBIPf-0003j3-Ik for qemu-devel@nongnu.org; Sun, 27 Jul 2014 02:58:37 -0400 Received: from mout.web.de ([212.227.15.14]:59784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBIPf-0003it-9W for qemu-devel@nongnu.org; Sun, 27 Jul 2014 02:58:31 -0400 Message-ID: <53D4A2C3.8030406@web.de> Date: Sun, 27 Jul 2014 08:57:07 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mkd1mGW5OWKTI2JdVmCVHxODM42LqFGCc" Subject: [Qemu-devel] [PATCH] hw/audio/intel-hda: Fix MSI capability address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mkd1mGW5OWKTI2JdVmCVHxODM42LqFGCc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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), --=20 1.8.1.1.298.ge7eed54 --mkd1mGW5OWKTI2JdVmCVHxODM42LqFGCc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlPUow0ACgkQitSsb3rl5xQ49gCfdO5YwVou2QGzhSK2q3sLwnAJ vVUAnRKHwbaGSoLzJhhB2ksalZe8Yy20 =+FPy -----END PGP SIGNATURE----- --mkd1mGW5OWKTI2JdVmCVHxODM42LqFGCc--