From owner-freebsd-xen@FreeBSD.ORG Wed May 13 16:01:34 2015 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09E10822 for ; Wed, 13 May 2015 16:01:34 +0000 (UTC) Received: from mx143.netapp.com (mx143.netapp.com [216.240.21.24]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx143.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B7DAF10AE for ; Wed, 13 May 2015 16:01:33 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.13,421,1427785200"; d="asc'?scan'208";a="41780589" Received: from hioexcmbx06-prd.hq.netapp.com ([10.122.105.39]) by mx143-out.netapp.com with ESMTP; 13 May 2015 08:59:13 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx06-prd.hq.netapp.com (10.122.105.39) with Microsoft SMTP Server (TLS) id 15.0.995.29; Wed, 13 May 2015 08:59:13 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::f07f:691d:89d:53b7%21]) with mapi id 15.00.0995.031; Wed, 13 May 2015 08:59:13 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 "interrupt storm detected on "irq16:"; throttling interrupt source" Thread-Topic: Xen dom0 "interrupt storm detected on "irq16:"; throttling interrupt source" Thread-Index: AQHQjVWqWfmhKLLkCEyxYLJkTsnG9Z16D22AgABSLoCAABHdgIAAEraA Date: Wed, 13 May 2015 15:59:12 +0000 Message-ID: <68CF270E-E996-4264-8A66-2C2DF6483EFD@netapp.com> References: <55531131.7040404@citrix.com> <65D7289A-9261-4F02-88E5-B2D137C268C1@netapp.com> <5553651D.3000400@citrix.com> In-Reply-To: <5553651D.3000400@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.2100) x-originating-ip: [10.120.60.34] Content-Type: multipart/signed; boundary="Apple-Mail=_C749B196-BE62-4808-A593-54E7AFCB2668"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 16:01:34 -0000 --Apple-Mail=_C749B196-BE62-4808-A593-54E7AFCB2668 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I'll test Friday, thanks. On 2015-5-13, at 16:52, Roger Pau Monn=E9 wrote: >=20 > El 13/05/15 a les 15.48, Eggert, Lars ha escrit: >> isci0: port = 0x6000-0x60ff mem 0xde07c000-0xde07ffff,0xddc00000-0xddffffff irq 16 at = device 0.0 on pci10 >> isci0: attempting to allocate 2 MSI-X vectors (2 supported) >> isci: 1:000089 ISCI bus_alloc_resource failed >=20 > This device is sharing the same IRQ#16 with ehci0, and I have a = feeling > it's not properly setting up it's interrupt sources. First, FreeBSD > Dom0 still doesn't support MSI-X (only MSI), but isci doesn't check = the > errors returned by pci_alloc_msix. I have a patch for FreeBSD which > might solve it, however I don't have any similar box I can use to test > it, would you mind giving it a spin? >=20 > Thanks, Roger. >=20 > --- > diff --git a/sys/x86/xen/xen_msi.c b/sys/x86/xen/xen_msi.c > index 0f678b1..181b956 100644 > --- a/sys/x86/xen/xen_msi.c > +++ b/sys/x86/xen/xen_msi.c > @@ -114,6 +114,7 @@ int > xen_msix_alloc(device_t dev, int *irq) > { >=20 > + *irq =3D -1; > return (ENXIO); > } >=20 >=20 --Apple-Mail=_C749B196-BE62-4808-A593-54E7AFCB2668 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlVTdM8ACgkQIWcjmsUTWRoFcwCgolFlcHcWAb9SWuV+hEAuAUK9 7roAn188KeSY3DlpcOqoWLVmln1qF5Bq =45Xq -----END PGP SIGNATURE----- --Apple-Mail=_C749B196-BE62-4808-A593-54E7AFCB2668--