From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755309AbcBHUEg (ORCPT ); Mon, 8 Feb 2016 15:04:36 -0500 Received: from sauhun.de ([89.238.76.85]:50363 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754457AbcBHUEe (ORCPT ); Mon, 8 Feb 2016 15:04:34 -0500 Date: Mon, 8 Feb 2016 21:04:30 +0100 From: Wolfram Sang To: Geert Uytterhoeven Cc: linux-renesas-soc@vger.kernel.org, "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: Salvator-X ravb failure with v4.5-rc3 due to irqchip power down Message-ID: <20160208200430.GB1997@tetsubishi> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p4qYPpj5QlsIQJ0K" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --p4qYPpj5QlsIQJ0K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > The real problem is that the PHY interrupt is wired to an on-chip GPIO > controller, which is disabled by PM Runtime if no GPIOs are in use, and > interrupts are not taken into account (the irqchip subsystem is not (yet) PM > Runtime aware) for GPIO use. > > Adding a call to > > pm_runtime_get_sync(dev); > > to gpio_rcar_probe() fixes the problem, but keeps the GPIO modules enabled > all the time. > > IIRC, we have a similar issue with HDMI on r8a7791/koelsch... Exactly, the interrupt for 'EDID read done' never arrived because of this. --p4qYPpj5QlsIQJ0K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWuPTNAAoJEBQN5MwUoCm2zRwP/RPSYPc/rLcf5P4JEjzLcock gZZTAJtpewC7FqTlbdvPkEXr3IbU2n+yp7kmUVOMFk1PV/RvzttUgNte6ySPUrpG jmzfUSPZDMkeSQKPhyvKSYvhvSoNFguQcv7lTm8k3XuvCGofhdstHPqrKOIds3ed 6nlioLNouvjK2wf/MlTGvQnrQ683fgKqaTBch5UG8mH4MEl5yAsLoI/4RqTdHzK7 dDBFND/PoHqZJS6oVU2kWZjsXvxYwsdnzKjxvO8zjNX9pVmtyFGZ/fEK1gDu8IhA 2rPVXFi8X6weqhwfLpyxuiTnBMlAuA0Dvd8ukGXBI27bMU6ieblRtW5T9BAVf50I Kv/W741q5WvxS5SotfPAgQgk/Bd5hISIfMjXcCxUHqKIbOBfXtl2k1ohCUNSJKAw UjgIX+P9nUMVnWtiDPIH606KfqT9hTosOF8MxsQhzBztpsM4PjSAuqarO6ouUoP0 TNpShPE3taWICmwS3ta/CrbJ/C8IaOYzCXreYa2s2YcZTpzDEDMtEpy5J3C5KvWZ pqoVbZhaqQ4YjUAgzDpJ8XWnoUIP5rGM+c9vRU/OetCGlSyQ+DPjXXx9k/nCTQF4 jqYW22ijLzFLWwYYARrWhylibc2cFd4o1Nw2zBJV2smK3HvIZrRlGA3/mItdYVvT p1MVlLmZxyTRlAr5UuEN =UuD0 -----END PGP SIGNATURE----- --p4qYPpj5QlsIQJ0K--