From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756868AbcIONSi (ORCPT ); Thu, 15 Sep 2016 09:18:38 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:49466 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754604AbcIONSR (ORCPT ); Thu, 15 Sep 2016 09:18:17 -0400 Subject: Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level' To: Linus Walleij , Guenter Roeck References: <9befb559-499a-dd70-cd44-60d5fce2e5d6@roeck-us.net> CC: "linux-kernel@vger.kernel.org" , "Greg Kroah-Hartman" , Shawn Guo From: Vladimir Zapolskiy Message-ID: <2b6955b1-dc72-bebc-3e5a-9e37a884961d@mentor.com> Date: Thu, 15 Sep 2016 16:18:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.76] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Guenter, On 09/14/2016 10:19 AM, Linus Walleij wrote: > On Wed, Sep 14, 2016 at 5:20 AM, Guenter Roeck > wrote: > >> So, in other words, lots of bugs here. Nevertheless, I would >> suggest to keep using postcore_initcall(), at least until it is >> sure that all gpio clients handle -EPROBE_DEFER correctly. > > So can I just revert this patch in isolation? None of the other > patches depend on it? > no, its revert I believe will break (at least cause -EPROBE_DEFER) on most of modern iMX platforms. Let me check the essense of the problem, in my opinion it would be better to fix kzm target. Guenter, thank you for the early report. -- With best wishes, Vladimir