Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932321AbcC3QqN (ORCPT ); Wed, 30 Mar 2016 12:46:13 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:12566 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932202AbcC3QqL (ORCPT ); Wed, 30 Mar 2016 12:46:11 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Wed, 30 Mar 2016 09:44:54 -0700 Subject: Re: [PATCH] regulator: Fix deadlock during regulator registration To: Mark Brown References: <1459354153-6352-1-git-send-email-jonathanh@nvidia.com> <20160330161831.GE2350@sirena.org.uk> CC: Liam Girdwood , Javier Martinez Canillas , , From: Jon Hunter Message-ID: <56FC02CD.60107@nvidia.com> Date: Wed, 30 Mar 2016 17:46:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160330161831.GE2350@sirena.org.uk> X-Originating-IP: [10.21.132.115] X-ClientProxiedBy: UKMAIL102.nvidia.com (10.26.138.15) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2281 Lines: 40 On 30/03/16 17:18, Mark Brown wrote: > * PGP Signed by an unknown key > > On Wed, Mar 30, 2016 at 05:09:13PM +0100, Jon Hunter wrote: > >> INFO: task swapper/0:1 blocked for more than 120 seconds. >> Not tainted 4.6.0-rc1-00001-g5e3ca2b-dirty #290 >> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. >> swapper/0 D c07daeac 0 1 0 0x00000000 >> [] (__schedule) from [] (schedule+0x50/0xc0) >> [] (schedule) from [] (schedule_preempt_disabled+0x24/0x40) > > Please don't paste entire backlogs into changelogs, they're *enormous*, > mostly noise and obscure any actual content that's in there through > denial of service. If they're useful then include edited subsets that > highlight the relevant sections of the backtrace so your changelog is > more legible. Ok, no problem. Are you happy with the patch otherwise? If so, do you want me to resend or do you wish to trim the backlog? I think that this part is interesting ... INFO: task swapper/0:1 blocked for more than 120 seconds. Not tainted 4.6.0-rc1-00001-g5e3ca2b-dirty #290 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. swapper/0 D c07daeac 0 1 0 0x00000000 [] (__schedule) from [] (schedule+0x50/0xc0) [] (schedule) from [] (schedule_preempt_disabled+0x24/0x40) [] (schedule_preempt_disabled) from [] (__mutex_lock_slowpath+0x17c/0x3e4) [] (__mutex_lock_slowpath) from [] (mutex_lock+0xc/0x24) [] (mutex_lock) from [] (regulator_dev_lookup+0x130/0x208) [] (regulator_dev_lookup) from [] (regulator_resolve_supply+0x94/0x2bc) [] (regulator_resolve_supply) from [] (class_for_each_device+0x54/0xa8) [] (class_for_each_device) from [] (regulator_register+0x8cc/0xd10) [] (regulator_register) from [] (devm_regulator_register+0x40/0x74) [] (devm_regulator_register) from [] (palmas_smps_registration+0x254/0x3fc) [] (palmas_smps_registration) from [] (palmas_regulators_probe+0x368/0x424) [] (palmas_regulators_probe) from [] (platform_drv_probe+0x50/0xb0) ... Jon