Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751809AbdGaAzO (ORCPT ); Sun, 30 Jul 2017 20:55:14 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:61562 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751760AbdGaAzL (ORCPT ); Sun, 30 Jul 2017 20:55:11 -0400 X-IronPort-AV: E=Sophos;i="5.40,439,1496070000"; d="scan'208";a="252870011" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87bmo1jus9.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Tony Lindgren Cc: Rob Herring , Frank Rowand , Grant Likely , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-omap , Mark Brown , Takashi Iwai , Linux-ALSA Subject: Re: [PATCH] device property: Fix usecount for of_graph_get_port_parent() In-Reply-To: <20170728082315.GL10026@atomide.com> References: <20170727094405.19778-1-tony@atomide.com> <20170728060127.GH10026@atomide.com> <20170728082315.GL10026@atomide.com> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Date: Mon, 31 Jul 2017 00:55:02 +0000 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: HK2PR04CA0089.apcprd04.prod.outlook.com (2603:1096:202:15::33) To PS1PR0601MB1884.apcprd06.prod.outlook.com (2603:1096:803:8::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4d40aaf9-e6f9-4cc8-e3d8-08d4d7aec7b6 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:PS1PR0601MB1884; X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1884;3:z44FQ1Z8Trr3d3DYtDqud8D65HNp/Ac7HUilWSVLL0+ih2cZhQauCCfs5h9Rlwam+a5r3NOtbOhXoaqost5BNecN8R7em8kvSK4P6JcTOdPTMhzqMytRhbVcrp3RfUP1oEcUJtVLLjNe6+3HBTavDZmyTZTf97rxU5NPHwJuh6SELmUoYD0VzdERMu1Iz9KIy13b7DTL6+YgqYW1FgFe7eayFPoqWuk2wpmqDbekugy43inzSVuzJIM/Wj1NFKo9EQageJVAtVU/zYiA83z1/jVQvKTClBO0fwmRrvkdPosYUYRwPSmxf2uiSEGy2zDGKptGgtvhR5CAph1vcBsvugH1Zx/aoO7ukq0Iz55CcMELxwpQ/1cjF/jJolEKRmGNDE3L2pVJat7gxuGqcAsyhAY7LMxGBmESoLSbznGQoQx+WPVIWsojKnwg1yllT/TzsEbERu0g+qbIgHdFY+2b8jfKg+lfmwrt8S65QAafHeQkQZcnpKqnftfDEC1cUqYuaVqSa9Nnq8Go256i2BNjp2xegipx2zLi92Huqp/MIDvqivICmV2QqWKi7x/Vw8+msqa3RZH6dsCe6bcRe/MCU1LIwYBzjHH3jFtcTZUETIdIYEYbp8hwYG7NEMS23PfPrj5jNhGMoXqYA/Hdweb3nIdTFvmA+sZ7LEXHqlbm5GU+qg7SZvbnv6rCVRcYYbh6gPFh+CXQ8CZ2dqHlt6HnvH62HspS7NaIdvcSv12wJhlJTU+GdRt7Ts6QIfU276Lgl2bEnPFIJgLSqyPmFnTa3yvk8NaDkuTWVoWVpykJTGwtLRzV+Qqe9akr1awCeXh7BILBXZR9OXK8ISnB/FZdsw== X-MS-TrafficTypeDiagnostic: PS1PR0601MB1884: X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1884;25:qLrkN5DHglY4XSlng8Y1BJt2ecwSkK/HdvHKuzOiMpOwEBbonDR/RscJSYRModU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YEDr6YxDYlTpbP3gApQkpYoYuISkjE/5w X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:PS1PR0601MB1884;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:PS1PR0601MB1884; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;PS1PR0601MB1884;4:TTVnIQnq7Rt2BBLUd14IpQzPkG7QUkVfZbjG/W3A?= =?us-ascii?Q?fFoCrhnNdi+J46WMARZpDwWLbMjmacpNHCgq2fARarcvjDiqVdYf6omKl5Dg?= =?us-ascii?Q?YU6Hty8/cvmcFwwxQtqfDd9HU3G7WX9xzH5IbKt0xtBuh4AqUF/1qAmBv9lJ?= =?us-ascii?Q?AR+3HDlW2mv9sst2Q07NZa5ZpdRCi73oVS+vziCITZkCV/f84CAnootk6i5J?= =?us-ascii?Q?g1W+SLyKFIsPDTx7pEg80sQbdtbcXCpokzWVHkpZee2DMTwqoEinxY+RAJTZ?= =?us-ascii?Q?Ks7p5aLGKWFAcTFceJ4O3DOZGS3OzVkjr2TUuphf/odTrdGacLxnweYEON+p?= =?us-ascii?Q?rnhdfPgZdeDhEL0kvov7EG9UqFYQAP5MmuxsDqQYyM8xAXHGQq/ntCSwvlHW?= =?us-ascii?Q?N/nm4eXPxZ+4QGiOAIlqqb1Z3TqPbEv5s7Uzzj0Q6pCs6xVDjFS3y3EEdsVb?= =?us-ascii?Q?yCbJ991aZVD0yw8yUdqaQKQwwXuNa2TfIkVdecjkXhX2EbpZEhT5BnEcHZ9p?= =?us-ascii?Q?zs6fvpLLjLRtAra8LBdXk6VD8mEmRls88rdM8zKt6waV1pb9GP28hIpAGlvG?= =?us-ascii?Q?l8g/XGY5qZzCbFbTpeaVFEbEJjAdJhLKrOWwZ8YRGrKOZe+FGWnORAsz1eIg?= =?us-ascii?Q?7cOBXyCekrCpwxg0+9a+EOmWVwvkD1zKjukSGdhPNLSKK4TMQw41Xm8sRSWQ?= =?us-ascii?Q?nILzIwTATw82No79Eu8C6C8ceQ7nUkYbWz4qdWpRw8eqwPmpSxd+lRRlnBDE?= =?us-ascii?Q?cosoTPCy0gJp0BuIar4DIdmnEs+CvMRQsbRJ2HPNrq0HhQiO3Lwb08bXJCAu?= =?us-ascii?Q?mwgoe4aYfKk7xvncZE3EN/M/shC9092mgta89hc2Cn6rdaMaOfFfGK1rrmMn?= =?us-ascii?Q?xMla5cS6xdgaC7BucocfVHtT2EjoUsAiCl4QQW262FYDLtTY/0c8koMMMyDF?= =?us-ascii?Q?TvZ7Yfv+DOd7lyKyFSo9qhhGDn8rO5JbN8sLLEbGwlGi46A4d0BATRsCnMkE?= =?us-ascii?Q?f5GF37NSj9Zllo9Rz2RYCWbeQsyURETg26VikdUfFEWmU4BqSQ+2TKcnoGMk?= =?us-ascii?Q?XbBc86DZ2Z/yxrcJGzqqlFT2KLY7wt19s0AHgizxzxd2MTg0F8aMeiLSWmtn?= =?us-ascii?Q?iuq9LmxF+WYlxgtxzlC3EyiyiGSNQTnWYTHUC/rTwk+Op9wFv0Ih0A=3D=3D?= X-Forefront-PRVS: 03853D523D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(39860400002)(39450400003)(39850400002)(39840400002)(39400400002)(39410400002)(199003)(189002)(106356001)(6486002)(189998001)(81156014)(81166006)(93886004)(69596002)(2906002)(50466002)(4001350100001)(68736007)(53416004)(42186005)(36756003)(305945005)(7736002)(8676002)(53546010)(83506001)(6246003)(66066001)(53936002)(50986999)(4326008)(86362001)(54356999)(54906002)(97736004)(38730400002)(47776003)(110136004)(5660300001)(7416002)(6916009)(7350300001)(101416001)(105586002)(23726003)(76176999)(478600001)(3846002)(6116002)(33646002)(2950100002)(25786009)(229853002)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:PS1PR0601MB1884;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;PS1PR0601MB1884;23:FaM47XU155JiCXEuq6o4krA6tU54IBDd9m/G4Le?= =?us-ascii?Q?EwMPglmcPl0cS9mIyUJcHvBykGdYUZlTzkOcNozAwwShAkwyEJ7tKSm8ns0w?= =?us-ascii?Q?3gRovkQtdClqVl2PIqlC1y9QllhD+VMkNmfJJDhka28AZmm7ZwsZKdX7MYAM?= =?us-ascii?Q?5R8Vx9LRGeS/GTFy9Lxy0bFq2ilSAYTxwz9GSQxCtLlUGR+YC3tGSTTyfkQo?= =?us-ascii?Q?hRhBL7Qa1NSkZuwmsCUTx2+DtvyDG5KGmF1WB8Rf+5Qlmu9dIroDO//46g/I?= =?us-ascii?Q?J0awklghba7PFHETYUrrhsG3RnpNdzH8Lj434JFjs9UmVVIdbaT/thHDPugw?= =?us-ascii?Q?tNZ8pAi+Pxp1t+fXkhEeOR7d7pTb0LbTVwPT2VmfYif7eHdU/0hOERUD511n?= =?us-ascii?Q?jQiS3zRlEo0nVJbYE8vV7D5Jbx3uwGbwz0oSnYqYbhhjFGSDISe3JPik6hwK?= =?us-ascii?Q?u/tVegGoru3dKcAOa+yyiZ9FF5VnGacGjslYrZOgqIOIB32KPN30Mh5XosAz?= =?us-ascii?Q?GfPcZX6uNI0CulnAQIxFZoZmDiWSoA9qJwQETJBbOsBHvwznh1bwVv2BvF0p?= =?us-ascii?Q?lEwxtg6uRUOsPl9ujrxcF/OKW5siQml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?Q?ThxkwjhSObiEOWT7GdOifF3sCA1JRMx81Tua1phBfHT/K5BvFtBqz5rkRIYT?= =?us-ascii?Q?AFyzdXTYg5J8x8Ul6nyM/1LVl/49Oh/EI3iUw7j0SNVPD1rYv9jpPwLkhiyZ?= =?us-ascii?Q?wWqECnO2qpCRRQWV1/g+F6Us?= X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1884;5:7e6WkV99tBq3C1t3iv9mHdkr/ttZ2UghpdYP5rm5NnVEyQSqVvMFoX1Pr+Fw9IQfnukDytmDBICJpyGzbEFTNdXPWEORiKitOTuKs9fOwBenmCmUZYNeIMY13deRZAOtDcZTWERThjs7utNzHnOfsJMHGsbeWlb7Grka14uRmZPPC6clii3umk8gwncgqUMRSmc6YanXwyC88+E7KSImlbI1q9asnOCUMqxzK68cg5ZxFzPHl4LAeLCP9yGFCSAOxHIJJJ3IA7tKK8y2U7F9qBRRmq3jZ5ajPblfxQE19pWZdmDuhx59mZ69ih1QqJXdT9eo8gKQk7I/YOavMzXE+FPUz+N3rOOnRR52xwB2LXak0OeY00uokZp+DuipCo4ifsfhUckLVRlI6uDszqOdtk25PvuLKg/NX2JOx9hEtQfwcNK+/2TFBQ37MFnexuaiqazXZjpqJdR5n2JACzQxliToBy9rBFMYvgCdsdOqPiW++C+CtpW011BMMGFDervO;24:f/uOkARh1zxxLFjt6N5EsirfHx1+/Sqa+PxNCZmOW70laLeai7/iBBAm4z9onYID6dQ3anxJpPP58seJSxsp9tbmz+MQA2jauDhksYTnH/c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1884;7:J74inyB7FxLPrOStXom0nCeZQpKQshNOSZwwSc1KkICTACYHzrjFXZu0zFyOXSMKtTyCz1qgwYfXX92mvAmzP2hWvyv99PwsUQtwAAolOFI3ABz73ZnwNAf/Qu0i1Hm7uO0GmZL+gbVvysmLlCQMRWPFrnY8RH1UQ2CbEH0RRtoMIScMIMvvfoOIReGrt/JWEWj9a+CezgOvB3K22kdZD0sYpPEtobNl9e82CXYt+xE1CIw+ZglnOnXgkDPK9q1i11FhkrC3bW1sT+FddAvaif9YbOyHNyJcS8H9ll0fcULKfJlS1VbJcKsvH4uZ5WMdFYp4cci1SY5+AHd+cCXVlZzUFX2WCFd3xIbreNsiEznTfrtUDOAROqcrclEjj7Lkwz+Miu5G+Dk8PIg9SBJYSZRGzClysk8IeAAK1B6kuzwlUeeah2zBQuV84cmZsQL2eJNWMDnwlJenIArvac30v4xRxMB4pFtDZ2VwQK47ZUrKD7jF0t2Kv1TkLl5T5q8ZBHV3V9UeY3El3TmNaxjQl9WEWFn3ogZ6sI9LsolA2ylCS5TxGUypUDpXjlgaZr+Tvg029QLqlRZgTcoPOo1dfzIv3DbMSsVf/tgP8PjZhpWS/AmHn0rL8RZgdRiA5VN3SEQTeAn06YExZET90A/8iE8tJd+bVHVtH6Z6y46Gex7RJZEVPPFFaKPMHxWt5XclOg98UiUchTl++Pd8Nl5U6BqK+r7n7gGbO8bkuQbJ06E8OTMH7Ydjn/Mm7+jcPudlSsa5CuSjqXlgriS8kqQu4P/UbPJSlyFgHa0mUu+Ly6w= X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1884;20:lwojAAe0hwztxxsxvFnJYqRrPFDyM4/8UEAJMHASjDRPEBaGGlSrAP6B7wgjPai7EH6h+Z1YAs2HHI4LEZ1jX+ZWU+THRR/Wj7WaA0/PlGycrkrGWFlCVzKl+PJ3LSDAiXgNdv8luSu3ZVy0ctTFRUxUiV2EZkWFImATi8aP+1w= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2017 00:55:02.4140 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1884 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1949 Lines: 58 Hi > 8< ------ > From tony Mon Sep 17 00:00:00 2001 > From: Tony Lindgren > Date: Thu, 27 Jul 2017 01:30:16 -0700 > Subject: [PATCHv2] device property: Fix usecount for > of_graph_get_port_parent() > > Fix inconsistent use of of_graph_get_port_parent() where > asoc_simple_card_parse_graph_dai() does of_node_get() before > calling it while other callers do not. We can fix this by > not trashing the node passed to of_graph_get_port_parent(). > > Let's also make sure the callers have correct refcounts and remove > related incorrect of_node_put() calls for of_for_each_phandle > as that's done by of_phandle_iterator_next() except when > we break out of the loop early. > > Let's fix both issues with a single patch to avoid kobject > refcounts getting messed up more if two patches are merged > separately. > > Otherwise strange issues can happen caused by memory corruption > caused by too many kobject_del() calls such as: > > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:747 > ... > (___might_sleep) > (__mutex_lock) > (mutex_lock_nested) > (kernfs_remove) > (kobject_del) > (kobject_put) > (of_get_next_parent) > (of_graph_get_port_parent) > (asoc_simple_card_parse_graph_dai [snd_soc_simple_card_utils]) > (asoc_graph_card_probe [snd_soc_audio_graph_card]) > > Fixes: 0ef472a973eb ("of_graph: add of_graph_get_port_parent()") > Fixes: 2692c1c63c29 ("ASoC: add audio-graph-card support") > Fixes: 1689333f8311 ("ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()") > Cc: Mark Brown > Cc: Takashi Iwai > Cc: Kuninori Morimoto > Cc: alsa-devel@alsa-project.org > Signed-off-by: Tony Lindgren > --- This fixes audio-graph-scu-card (+ Renesas Salvator-X board) side issue, too Tested-by: Kuninori Morimoto Best regards --- Kuninori Morimoto