From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH] PCI: Mark INTx masking support of Chelsio T310 10GbE NIC as broken Date: Mon, 28 May 2012 15:29:58 +0200 Message-ID: <4FC37DD6.7090000@web.de> References: <4FBF90E5.8030800@siemens.com> <20120528123934.GB21778@redhat.com> <4FC374CD.5000509@web.de> <20120528132109.GB22623@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB9AA42A9FC14B52246BE44AE" Cc: "linux-pci@vger.kernel.org" , Bjorn Helgaas , Alexey Kardashevskiy , Linux Kernel Mailing List , Alex Williamson , Benjamin Herrenschmidt , David Gibson , Alexander Graf , kvm To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20120528132109.GB22623@redhat.com> Sender: linux-pci-owner@vger.kernel.org List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB9AA42A9FC14B52246BE44AE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-05-28 15:21, Michael S. Tsirkin wrote: > On Mon, May 28, 2012 at 02:51:25PM +0200, Jan Kiszka wrote: >> On 2012-05-28 14:39, Michael S. Tsirkin wrote: >>> On Fri, May 25, 2012 at 11:02:13AM -0300, Jan Kiszka wrote: >>>> According to Alexey, the T310 does not properly support INTx masking= as >>>> it fails to keep the PCI_STATUS_INTERRUPT bit updated once the inter= rupt >>>> is masked. Mark this adapter as broken so that pci_intx_mask_support= ed >>>> won't report it as compatible. >>>> >>>> Reported-by: Alexey Kardashevskiy >>>> Signed-off-by: Jan Kiszka >>> >>> >>> Just a thought: would be nice to have a way to discover >>> the quirk was activated. Add an attribute so that >>> userspace can detect and report this properly to users? >>> Or just log a warning message ... >> >> pr_notice_once? >=20 > OK IMO. >=20 >> A flag for userspace would be significantly more >> complicated (and not PCI layer hands). >=20 > Why not? I meant e.g. an attribute in pci-sysfs. Possible. But what is the preferred way of doing this? Are there any precedences? Jan --------------enigB9AA42A9FC14B52246BE44AE 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.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/DfdYACgkQitSsb3rl5xSVfACfebwPII9PPy5fmXRH0rBr4fWI djIAoLIFcpLgdi3EJZZ23uTqdr5XvyjA =5cfg -----END PGP SIGNATURE----- --------------enigB9AA42A9FC14B52246BE44AE--