Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2709065iog; Mon, 27 Jun 2022 00:51:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vmxW5V+q2HckW/oN5MJHBqKPNXZDoKocewSPbNpaGDSeb/EYeh2wLB39uXV7sTnloe3A8R X-Received: by 2002:a63:a112:0:b0:40c:450e:b1ad with SMTP id b18-20020a63a112000000b0040c450eb1admr11779081pgf.493.1656316272732; Mon, 27 Jun 2022 00:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656316272; cv=none; d=google.com; s=arc-20160816; b=xLeBWQYtNZTkqOPpNRuvzX4Kk7VKSQosdxX7pTyikV/vtFSFs33MVUlWbgdEgP2/cr 5780FvscAq2l4yf+HxaFa3KA0IBn/dJS9uTqGp+fxGzTayS8jw2QxbK2xLEosi9kGJQa SCtRBROW328QbkIQK0c+30PIO/DLeV3NP5m2bNoIzbGdNDFprDu/2aPqeYVqrfWsRVr6 tRX3E1sBralRi1issPvjkmnGcAPq3JDKXf34s69mBIw01GWgWHHueLxG32oa0/OuCKw0 TSbF2LF3/dpPiMrQ4vKgbO3bramhXRoQ22k6ya18mtnW0egW+zcho/1C0RLUZxwwNnLP vA5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wyrrdp6ZR/KZgVEp5poQj+i3E9eGqReZcI/auQwwlWc=; b=cSaR+QQkfRVi2qLR95L2Y0qEZMm/16s7gmRnxNqXjX4/JX0sG2tI/qZf/qwomdAmC8 xxmRx87RFXaEkN4K6XlpAMSd0cLFGHl+9noVfWFmMk1hlqO1FKPE8WMHtzsUny0UcozL y2A66+471DlZVFHvrOWclIi7hIoAn05T+C7oaUBc5dOq7NsUY/fOOY0BmGYB1PpqAjrL MRR7BecFLjZTVSmxHpF2+uRKONL9DOBqjl3syavPAzVt96AxLSLU/EoIdo/itJpTTOO6 jkgti/LD8n/z77H0DYKSUYC/S7niaRjYBQPAWBKR3Pvb/pZBa4mPRqLgzrsk1bAcpSsq KI5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BkvnEDt4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090a644d00b001e87471611dsi12232933pjm.145.2022.06.27.00.51.00; Mon, 27 Jun 2022 00:51:12 -0700 (PDT) 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=@linaro.org header.s=google header.b=BkvnEDt4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232739AbiF0HVJ (ORCPT + 99 others); Mon, 27 Jun 2022 03:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbiF0HVI (ORCPT ); Mon, 27 Jun 2022 03:21:08 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EF105FE6 for ; Mon, 27 Jun 2022 00:21:07 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id c4so7374839plc.8 for ; Mon, 27 Jun 2022 00:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=wyrrdp6ZR/KZgVEp5poQj+i3E9eGqReZcI/auQwwlWc=; b=BkvnEDt4HcVPkd5HP+4U52Luwmi19snFvXLAI3jjaCiTljpncxTijrvpJKtOFk9e2x psarxdf2qldfH3UYVc0sM/Ye8aPo25K/6yvFil341ahR/Nhsx9py9HvBTRPGRrN5+Nfw msf1t57q1hxW2ll+l0hRhgfrF5l9AtyEQ5c6EhJVOre2nZqXMRd20IWNWlaB/dMHV+c4 /dM7/ugJHryhO81BSa1GNFat7PRSmkZYSr9dgrDunTalLaGSi5An4FBkApU/JG+0I/08 qv8Hw8VSbh7dRrQUwYWtiUwAYirhj24Bp6TFVDXnDqE7+djIpABRsmwLSMhAa1mvdbGr 5Bzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=wyrrdp6ZR/KZgVEp5poQj+i3E9eGqReZcI/auQwwlWc=; b=CERKe2eRV1ir7y4x5XFrwlGxATosfsuJMBFR26pvUFDDHn3ACb4XemNNuUhCYWWnjv BK+SRdvMTCCCbzV/LvG9n3786f9DdcBbYkPDPkiTpDKy7DmB+c5ma4ufYPviT2TAAdvm y1zlFnEvxxlSbpe+54Jhp2rrZkiZkV90bdKm0JkN/skyH++x+7OEuelhOQ++yau0AvPs d2R0hPdBD6sWytmJAQqXygVNPo7o0NZ2jvHGzCyhBb5lVx4jKzegrUAVLR2x+EiawQCu vepIes6Jhyrq6lOscn8hk6uyz0q44qjaO2c2HolU5Sn9+N1S/A3cOlWaziiI6pzn63E8 0jLA== X-Gm-Message-State: AJIora/l3jepSxoQDrWUL0uNKy9balqaNdqzUhNv/uNVByOAs0/WkzC9 TC9mwSEsmVrXLCeI2XNXYB/ezw== X-Received: by 2002:a17:902:d48f:b0:16a:755f:86db with SMTP id c15-20020a170902d48f00b0016a755f86dbmr12899380plg.77.1656314466798; Mon, 27 Jun 2022 00:21:06 -0700 (PDT) Received: from localhost ([122.172.201.58]) by smtp.gmail.com with ESMTPSA id o7-20020a17090a55c700b001cd4989feebsm8573650pjm.55.2022.06.27.00.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 00:21:06 -0700 (PDT) Date: Mon, 27 Jun 2022 12:51:04 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , Stephen Boyd , Nishanth Menon , Krzysztof Kozlowski , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 22/31] soc/tegra: Migrate to dev_pm_opp_set_config() Message-ID: <20220627072104.ir7kujhezxhzl6a7@vireshk-i7> References: <449b344f037c7ef1970bc84d31e0d4c4cb4d2951.1653564321.git.viresh.kumar@linaro.org> <20220624004831.po35sowzfo4c47b3@vireshk-i7> <20220624005700.oj4etaajbutvsym7@vireshk-i7> <73d39022-c6fc-0c21-cb68-9714846f02bf@gmail.com> <20220627064526.2nkezq4nufpkl4y2@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 27-06-22, 10:14, Dmitry Osipenko wrote: > 27.06.2022 09:45, Viresh Kumar пишет: > >> Looks okay. If you'll solve the cpufreq problem where OPP config is set > >> by two drivers for the same cpu device > > This is supported, there is some early freeing of resources on the > > removal path though, the reasoning for which I already gave in another > > email. Though, I am open to sorting that out as well, but nothing > > breaks the code for now AFAICT. > > > > In case of Tegra, we use tegra-cpufreq driver that sets supported_hw and > registers cpufreq-dt. If cpufreq-dt driver defers the probe, then the > supported_hw will be lost on the re-probe. I haven't checked yet, but I > suppose that cpufreq-dt driver defers on Tegra30 because of the CPU > regulator and that's why we get the "OPP table is missing" error. Aha, I get it now. I see, this is a real problem. Will fix it. Give me some time to think. Thanks. -- viresh