From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: [imx27 - mcp251x] MCP251x does not work in static ? Date: Thu, 11 Apr 2013 10:39:17 +0200 Message-ID: <516676B5.6090903@pengutronix.de> References: <51656B9B.80907@pengutronix.de> <5165857D.1050303@pengutronix.de> <51666B21.10109@pengutronix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2LRFLPJVIUUMCVSXDAWCV" Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:46339 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751514Ab3DKIja (ORCPT ); Thu, 11 Apr 2013 04:39:30 -0400 In-Reply-To: Sender: linux-can-owner@vger.kernel.org List-ID: To: Mylene Josserand Cc: linux-can@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LRFLPJVIUUMCVSXDAWCV Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 04/11/2013 10:04 AM, Mylene Josserand wrote: >>> root@navocap:~# ifconfig can0 up >>> genirq: Threaded irq requested with handler=3DNULL and !ONESHOT for i= rq 201 >>> mcp251x spi0.0: failed to acquire irq 201 >> >> It's a bug in the driver....which was introduced in v3.5[1]. I'm looki= ng >> for a fix. >> >> Marc >> >> [1] 1c6c695 genirq: Reject bogus threaded irq requests >> >=20 > Okay. >=20 > In this > http://markmail.org/thread/uc2adurel247yitp#query:+page:1+mid:uc2adurel= 247yitp+state:results=20 > and this=20 > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=3D44&t=3D7027&start=3D= 150=20 > posts, they set the irq_flags to IRQF_ONESHOT. >=20 > I have tested it and I did not have the error anymore. Maybe it is not = a=20 > good way to fix that ? (I don't know what is a "one shot" IRQ) but in=20 > case it could help. > However, it did not fix my static-mcp251x boot hang. Can you test my patch and give me a Tested-by? Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | ------enig2LRFLPJVIUUMCVSXDAWCV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFmdrwACgkQjTAFq1RaXHPIugCcCe3nXAotiez8vRAvHuaWq3+H WZsAnj6t7xwqAczeXhGeFcRFGnm2iN/v =Ab3n -----END PGP SIGNATURE----- ------enig2LRFLPJVIUUMCVSXDAWCV--