From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764161AbcINOds (ORCPT ); Wed, 14 Sep 2016 10:33:48 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:58820 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762606AbcINOdp (ORCPT ); Wed, 14 Sep 2016 10:33:45 -0400 Subject: Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level' To: Linus Walleij References: <9befb559-499a-dd70-cd44-60d5fce2e5d6@roeck-us.net> Cc: Vladimir Zapolskiy , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Shawn Guo From: Guenter Roeck Message-ID: <16c144a0-e967-e35a-2abd-9942d0d6c944@roeck-us.net> Date: Wed, 14 Sep 2016 07:33:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/14/2016 12: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? > Good question, if this was part of a series. If it was and can not be removed in isolation, it nevertheless introduces a regression. Obviously there was a reason for using postcore_initcall (which is quite evident in the crash), and I don't think it is a good idea to just change it without addressing the reason(s) first. Who knows what other platforms crash because of this change. Guenter