From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 1/3] driver core: Add API to wait for deferred probe to complete during init Date: Fri, 10 May 2013 10:30:07 +0100 Message-ID: <20130510093007.GL3200@sirena.org.uk> References: <1368076726-11492-1-git-send-email-skannan@codeaurora.org> <1368076726-11492-2-git-send-email-skannan@codeaurora.org> <20130509135017.GD3200@sirena.org.uk> <20130509141444.GV18614@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HLsZ5Z1opAQvdr2J" Return-path: Received: from cassiel.sirena.org.uk ([80.68.93.111]:43333 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745Ab3EJJan (ORCPT ); Fri, 10 May 2013 05:30:43 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Grant Likely Cc: Russell King - ARM Linux , Mike Turquette , Ming Lei , "linux-arm-msm@vger.kernel.org" , Stephen Boyd , Linux Kernel Mailing List , Saravana Kannan , Greg Kroah-Hartman , Liam Girdwood , "linux-arm-kernel@lists.infradead.org" --HLsZ5Z1opAQvdr2J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 09, 2013 at 05:39:03PM +0100, Grant Likely wrote: > +1. You can /minimize/ up-down cycles with the kind of optimization > that is being attempted here, but the driver still *must* deal with > bringing resources back up if they get requested "later than you would > otherwise like". Now that I think about it we should probably have a debug option like the shared IRQ testing one which does actually disable all resources as soon as the kernel gains control of them in order to help with test coverage for this. --HLsZ5Z1opAQvdr2J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRjL4cAAoJELSic+t+oim9Wy4P/3iT9w1V4E0k+yOyhkOWpr4X Xx7djaLRTi0STCqeyGJcJIeWKPfFfKUd2xutVYZ9jeMo973rFZGoO5MlIAaBT5SQ diyIpFZ0X/P1kA7oKP9HMAUbg99LSpOcoiqX1mFaarpNwt/r0d4/3atFhp5N9zEe xDv25bNjCLEo8mgISmsjUJtJYkLg9PZt19AcL2k+XWDSlGkH7EuVil54Q6GJP82v 1NWjUSnd7BoHqwyOBnJKtHS8h+i4MRWnq7aCfcpTlrQPi33TTW8TkfxGbXspKs4u qWHNI+rpBXHNg0s4cO+1sBAFyUd/rpg5juyNwmuiaOOzSRejVFItVFnV4J8jKYxy qbK/dSGoxR/eDGGghAZoLGfeudbmTumAI3/4xeex7PSGRpsULH64i4S8NXRNhG8L Pws8zZ4fSvk5f2IKuvfAxbIPft/3Jk+2V8rkuDt2uHNzi4ctRekCWd/7K9WcX186 H41Zu376gZO6XFve6zBExpRiGEhKPj+1ReNruvHbtLp+ZXCDYkB5s7XhfqHM/gxe 6v/wd/OfN8v5D8rPlc2xj5D21CU/F20/O7TkBY+d4PQhhHG2j8sA5CgGxl2oPvQU bN/IoqqkxPKJ/WqgHk+arCN9P30TVwPrHuys/Q8EdlvUxV6QqMBSBdp3el0xthUQ 09+O3HkVjRzYw+cDfJRu =PbeG -----END PGP SIGNATURE----- --HLsZ5Z1opAQvdr2J-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@kernel.org (Mark Brown) Date: Fri, 10 May 2013 10:30:07 +0100 Subject: [PATCH 1/3] driver core: Add API to wait for deferred probe to complete during init In-Reply-To: References: <1368076726-11492-1-git-send-email-skannan@codeaurora.org> <1368076726-11492-2-git-send-email-skannan@codeaurora.org> <20130509135017.GD3200@sirena.org.uk> <20130509141444.GV18614@n2100.arm.linux.org.uk> Message-ID: <20130510093007.GL3200@sirena.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, May 09, 2013 at 05:39:03PM +0100, Grant Likely wrote: > +1. You can /minimize/ up-down cycles with the kind of optimization > that is being attempted here, but the driver still *must* deal with > bringing resources back up if they get requested "later than you would > otherwise like". Now that I think about it we should probably have a debug option like the shared IRQ testing one which does actually disable all resources as soon as the kernel gains control of them in order to help with test coverage for this. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: