Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2729489pxx; Sun, 1 Nov 2020 08:00:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaH8Um/98nLFz1I1/T4IfdawJs4chgucp4o1P7AW7q4RuSMY2wa9burEtIi7QUEwBCorXF X-Received: by 2002:a17:906:b202:: with SMTP id p2mr9458397ejz.483.1604246442766; Sun, 01 Nov 2020 08:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604246442; cv=none; d=google.com; s=arc-20160816; b=R897NzsTImhsMMVjoUFc+WQzruCCOwLDpyTO9+Qk1blkn6L1XzWBR+TtybERZxzNd8 CjqWigvKiqksa/DGhKJhVjdg0NrdqLJwrS6rhtn2aKB6TR6LskNa7E7qRixVNc+iIkty 0fHGHpD/Yh9KeJ/9+Pjo29osa4gB7nuoHhpu9u2ADceMHlcWN36W/5AwqmkJt31T+B6P Br2eNhvyqTlyGQb5s7TovAiO5yNiYKBXK0Rlq1Mu9Vl7Y/+V//X2pv8pgA7GUgeaXaNt uHetthIXKDyjp1r7SJw6oNM+XdD2GVkQjXqYWM+7oPZZbdH342L6vndgatPzZaWhwwza G3Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :dkim-signature; bh=9w5lqe/JTQMl14qtp1wqbV1q8PlicycEi9x7TwQ3O4I=; b=DP/ZKB6wjs0FTCwVzHt0ODfTvPE6pWZSBM/hwcOW1F0dgXwrlF2NuVZSCu53/Afm3A Q+X8R/Myg8n54pOU7FFsk8qAupF51pC1ngauE381qh6FLhsJoXIJuVjGKVEE6uEkz/n8 77QrwNBqN2XCw5DBb3cyRd37WHNGDbPF2cAhscYIsUZhH8JvQrU1yUKkvsMDpEaj4FX4 2hAiNg/Jp7AYkb8CNkzo0WdhqFZhxzOqGZX2q7MZSOqpWrXn/6Et3CSW7TupXlKsQFUw gw1+QdsKTW9UXdGR+G+lN+dpYsFdrvjeGb/zr54UQKbhPphOkVOW6GXGvD7JEXMT/eta YnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SrzcyTOQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si1311070eja.161.2020.11.01.08.00.19; Sun, 01 Nov 2020 08:00:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SrzcyTOQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbgKAP6g (ORCPT + 99 others); Sun, 1 Nov 2020 10:58:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726730AbgKAP6e (ORCPT ); Sun, 1 Nov 2020 10:58:34 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 058E4C0617A6; Sun, 1 Nov 2020 07:58:32 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id v19so7348200lji.5; Sun, 01 Nov 2020 07:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=9w5lqe/JTQMl14qtp1wqbV1q8PlicycEi9x7TwQ3O4I=; b=SrzcyTOQk7M4NCVfGsoyDQqZ6rFb3eZJcZzNQdiSNUT7txNNGhlL0NpT0+LOVda3Ih MiBUFAFrziuKtC1hCr5a+CEaEWrzgJICLO3UevGr9h71XEutrEV0cHH5XzfUCoDohH8E a45GiU+47GmYSJC5/FJSPBiNPS+BW+zygQuK/B9e8hXqfmnzMvhGZiFF4GdJVXlS3tet OXIAqAP/N5ThaauVK3L4z2MuyLnqwYL3XMOTewX8A7/1Tid7b0erQsFJ9lqKusNF0R4a YPiOTsbHK0dGj8R7DKeLodHLpNxXs+/ktqgRnbQMasDwrSlX/7YSgiQGBPol/B0k4Ama wPZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=9w5lqe/JTQMl14qtp1wqbV1q8PlicycEi9x7TwQ3O4I=; b=sb0Ckl4xj/v6BieRMsyQH/o4DzJcIhqVWb5qBdtZ7SL5I8aHnrHBMpFfFGE/ud0c0+ 8jgsZ876eRmnN5KcDOSpZWZt2Ugsz2RJrYC1cI3nh92upfT3OvLCGPPOYdpUZOHO8Ufj osWjjlyGex3kBNIWONAqLSEJLxB8Aucg5dnGL7StcUFi872ckD/Ku/gNMi2CyTQgPgJc +5KMljdfb7aJpf9VP3YNYY2ATg9pDKJFbFgK79Xeo3vMuCXBXxIoz7wz/62IViqBern4 Czj/WoM3x0PdoESSUdXtuJWWx7KO4Lh5KfivCnzECRmppVwbAcfk4+YPhY5+37Z8lAJJ 9hWg== X-Gm-Message-State: AOAM530VU73UhycfC+o6WxqrzJPmFKjttqem7WhT9sWaCFrlfLfmwJ3A 1rpWoXe3Adj/ux5xJnFGdKyHbBOFM4hi1ZC8qFE= X-Received: by 2002:a2e:681a:: with SMTP id c26mr5169187lja.56.1604246311413; Sun, 01 Nov 2020 07:58:31 -0800 (PST) MIME-Version: 1.0 References: <20201025221735.3062-1-digetx@gmail.com> <20201025221735.3062-52-digetx@gmail.com> <2ebd184c-60e8-19e2-9965-19481ced1c70@gmail.com> <5f5a22b1-4d01-5698-1bca-6bcc66c55e6f@gmail.com> In-Reply-To: <5f5a22b1-4d01-5698-1bca-6bcc66c55e6f@gmail.com> Reply-To: cwchoi00@gmail.com From: Chanwoo Choi Date: Mon, 2 Nov 2020 00:57:55 +0900 Message-ID: Subject: Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Mikko Perttunen , Viresh Kumar , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski , linux-tegra@vger.kernel.org, Linux PM list , linux-kernel , dri-devel , devicetree Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 2, 2020 at 12:49 AM Dmitry Osipenko wrote: > > 01.11.2020 18:44, Chanwoo Choi =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> OPP core will try to grab the clock reference for the table and it may > >> cause EPROBE_DEFER. Although, it shouldn't happen here because we have > >> devm_clk_get() before the get_opp_table(), hence seems the deferred > >> probe indeed shouldn't happen in this case. > > It is my missing point. If there, you're right. > > Could you provide the code point to check the clock reference on the OP= P core? > > Please see it here: > > https://elixir.bootlin.com/linux/v5.10-rc1/source/drivers/opp/core.c#L110= 1 Thanks. It seems that if device tree node contains the any node, it is not EPROBE_DEFER because of just using "clk_get(dev, NULL)". The patch[1] used the 'dev_err_probe' for getting the "emc" clock. Do you need to check it more? [1] https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commi= t/?h=3Ddevfreq-next&id=3D09d56d92ad25b58113f4ec677e9b1ac1e2c3072b --=20 Best Regards, Chanwoo Choi