Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2315906rwb; Sat, 19 Nov 2022 13:20:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tmZAy4wFijjOrbAYvtJBKSjuH0WR2bIFfR1SvGUg8HUlWYcSBdkA+Qe/JNQBZS1d821QN X-Received: by 2002:a17:906:a198:b0:7b4:bc42:3b44 with SMTP id s24-20020a170906a19800b007b4bc423b44mr2326529ejy.101.1668892833576; Sat, 19 Nov 2022 13:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668892833; cv=none; d=google.com; s=arc-20160816; b=0JzDw+isnvYzSInMvggeTl3Eck5sr7NxK8rsOQC9c54hzt9RXLRcLsU3++74zENoJ8 ISBbT4LpmywKXKyv30YuSgOqu0S++XLGh4g0V73Br3zAYw96NwhGO8EK7m9MM3m85aLR kli/Yy70H6/EvJAiMqk89vq4uK2hqAvdTXhmo3FGIwAUSmdebx91mIyck6QIg+I9Tu5C aovzKLsEejOdYffAlm54tsmNntBhEun4EEJbbp57ed4f1eOLGMebYYt7cpiMwnekvGJO a17McbaFfCG7ixvrS4l55icSvzOzl4cekFHG8zXiOFaaKkdtXzhQtLLlT1H9ALtVY1FK PDtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=SQ/WZFLVVDxittaiC79H/LzvEV3RqoAAIkd3OTcJKH0=; b=ej4CBY9cTV97eCkZCNrXlZVqyIUhjsKot49W8nkPRzIuj9A70Cqp4A92yqtR0idd7E UtByClgTaFfTHphgtTe63oM8VnlwXsmEAY+C6Km/WnnaBkhXxn54wGhfCDfTPOzBEVGo w7Qed1SsLueuengQnhfmL9wmBXuAG9n30ss2+V3sbV9Uv0w3bOeC3IhrBH+i9jXLoKAd UKxpIOXwUwYCgANurbeYLd3keDbI6prwxxxTl5wYtM5D6EIMhwC++IFPF9gVyq1yw3mA WkoPo2e+5uHeuOUbw2MsNIw3P0FGbThV7dyQ30mSpk5EMM5wOQpePtSOfBiP0DNrijnl HkCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=K27ut1PN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170906794900b0079ddb52369bsi2033345ejo.61.2022.11.19.13.20.06; Sat, 19 Nov 2022 13:20:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=K27ut1PN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234476AbiKSUqD (ORCPT + 91 others); Sat, 19 Nov 2022 15:46:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234544AbiKSUqA (ORCPT ); Sat, 19 Nov 2022 15:46:00 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04A4213D32 for ; Sat, 19 Nov 2022 12:45:59 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id f27so20747665eje.1 for ; Sat, 19 Nov 2022 12:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SQ/WZFLVVDxittaiC79H/LzvEV3RqoAAIkd3OTcJKH0=; b=K27ut1PNT2YlrreADla7CHlY/8c/PPCvFQttfd0LQY8Lzt6EFOrWspfzBum7JBRnd9 hOUb8nJzE2N2+p3Mi/dmz/QAS4sDKZm7fp56CZdr8webWj+V8udHxlRdbT+/Ek0LNVfm TiTa4ZmtAF67zJCMbZmpDS8P3HmNxwB6uvp14= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SQ/WZFLVVDxittaiC79H/LzvEV3RqoAAIkd3OTcJKH0=; b=N7FOFU40Nr6p8a+JIUdNmvryUqkLfWYWFieZJ8hOZnAI8ckQB04fanR9XSjbbwnN5Y LowjVMXWclYvRDSiWdAMN2LIIJFaZVzHEFoYxNY+BVT1BaozzLQWW2ThTkHV2eGmuliJ WTfS3ehCXpMP1/UyIL2N4iIyBYFGR2nwXS2TauMwK0kLCK7N1a80kCluu+ki0aKrkhqj XoUNCS11d6MuTwzRz4hsDfLuBL95MFw5h8IdV1HU0KEin2Dlb5wqfwF92Nzeu/Je94vp d9a6l4/0zzPYVzPr5Mcr1MpUXOGOFiIKT/GCr6GJBO/plXlwk9s8werVtuNFEiW38fk9 GeTw== X-Gm-Message-State: ANoB5pmodXWGOqFPMlbupFZsH3B1paOva7iuQhcSftO81G1vfU6jF+bN dSyT/q31OEcZczTzl+QqriqE6A== X-Received: by 2002:a17:907:8d03:b0:7ae:1d34:4da5 with SMTP id tc3-20020a1709078d0300b007ae1d344da5mr6729017ejc.340.1668890757551; Sat, 19 Nov 2022 12:45:57 -0800 (PST) Received: from [192.168.1.149] ([80.208.71.65]) by smtp.gmail.com with ESMTPSA id k26-20020a17090632da00b007ae4717bef1sm3269163ejk.15.2022.11.19.12.45.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Nov 2022 12:45:56 -0800 (PST) Message-ID: Date: Sat, 19 Nov 2022 21:45:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] clk: imx8mp: register driver at arch_initcall time Content-Language: en-US, da From: Rasmus Villemoes To: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org References: <20220928124108.500369-1-linux@rasmusvillemoes.dk> <08df1f08-1eea-0ee5-8e7b-6c427aa11d02@rasmusvillemoes.dk> In-Reply-To: <08df1f08-1eea-0ee5-8e7b-6c427aa11d02@rasmusvillemoes.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2022 14.54, Rasmus Villemoes wrote: > On 28/09/2022 14.41, Rasmus Villemoes wrote: >> We have an imx8mp-based board with an external gpio-triggered >> watchdog. Currently, we don't get to handle that in time before it >> resets the board. >> >> The probe of the watchdog device gets deferred because the SOC's GPIO >> controller is not yet ready, and the probe of that in turn gets deferred >> because its clock provider (namely, this driver) is not yet >> ready. Altogether, the watchdog does not get handled until the late >> initcall deferred_probe_initcall has made sure all leftover devices >> have been probed, and that's way too late. >> >> Aside from being necessary for our board, this also reduces total boot >> time because fewer device probes get deferred. > > Please advise on what I need to do in order to make progress here. Ping.