From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4318C433DF for ; Wed, 14 Oct 2020 09:13:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4342120B1F for ; Wed, 14 Oct 2020 09:13:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="14B44ufV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4342120B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2Yr9o3JfPu73BA59P3VfffBZ7FFlHGl301tpRBLbQ6k=; b=14B44ufVF8soKyJOBKUJu401W h7oivU/XMVHD9bvlMrDmGVGeiyFAB3SMT75oCstsMr4gWJBxf7TDDM/5ECKtxJnRVDPVKTlHsc47O a3sDv+WHDfnvUcQlw/ojqBcoS5Bg7AQ2ejQ/fXBQBKUjYzamvw/ySL3gEzMsBvnsHG1IlEAcFdVUa CpAHdmONyWhjInZq7ZpHpw0ic2KTQoEI1uZvCXj5SJzKdolIown1kWNr4UvBb6+7iS0GeiyRGu/lP L5Fx2uithB9m5QHFno8a2B8ocEEFDa+fpkleJfroFhj6rSLpRfGvM4fUCwGLgzoG3i82Fm3BsmDWU Z66oz2G4g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kScov-0004dm-LR; Wed, 14 Oct 2020 09:11:41 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kScos-0004dC-8f for linux-arm-kernel@lists.infradead.org; Wed, 14 Oct 2020 09:11:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 17C7530E; Wed, 14 Oct 2020 02:11:35 -0700 (PDT) Received: from [10.57.50.223] (unknown [10.57.50.223]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 324C23F73C; Wed, 14 Oct 2020 02:11:32 -0700 (PDT) Subject: Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies To: Viresh Kumar References: <20200924095347.32148-3-nicola.mazzucato@arm.com> <20201006071909.3cgz7i5v35dgnuzn@vireshk-i7> <2417d7b5-bc58-fa30-192c-e5991ec22ce0@arm.com> <20201008110241.dcyxdtqqj7slwmnc@vireshk-i7> <20201008150317.GB20268@arm.com> <56846759-e3a6-9471-827d-27af0c3d410d@arm.com> <20201009053921.pkq4pcyrv4r7ylzu@vireshk-i7> <20201012154915.GD16519@bogus> <20201012165219.GA3573@arm.com> <17819d4d-9e7e-9a38-4227-d0d10a0749f1@arm.com> <20201014042531.r7iykzygkvmpsqck@vireshk-i7> From: Lukasz Luba Message-ID: <666fc9cf-ac5a-2289-d838-14c36dc8dfcb@arm.com> Date: Wed, 14 Oct 2020 10:11:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20201014042531.r7iykzygkvmpsqck@vireshk-i7> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201014_051138_382595_EF72D708 X-CRM114-Status: GOOD ( 22.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, vireshk@kernel.org, daniel.lezcano@linaro.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Nicola Mazzucato , Sudeep Holla , chris.redpath@arm.com, Ionela Voinescu , morten.rasmussen@arm.com, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/14/20 5:25 AM, Viresh Kumar wrote: > On 12-10-20, 18:18, Lukasz Luba wrote: >> On 10/12/20 5:52 PM, Ionela Voinescu wrote: >>> On Monday 12 Oct 2020 at 16:49:30 (+0100), Sudeep Holla wrote: >>>> On Fri, Oct 09, 2020 at 11:09:21AM +0530, Viresh Kumar wrote: >>>>> - I wonder if we can keep using that instead of creating new bindings >>>>> for exact same stuff ? Though the difference here would be that the >>>>> OPP may not have any other entries. >>>> >>>> Well summarised, sorry for chiming in late. I could have not summarised >>>> any better. Just saw the big thread and was thinking of summarising. >>>> If the last point on OPP is possible(i.e. no OPP entries but just use >>>> it for fetch the information) for $subject patch is trying to achieve, >>>> then it would be good. > > Under normal circumstances, I wouldn't have suggested empty opp-tables > for sure but it doesn't seem worth adding another binding to get this > information out :) > >>> >>> Just to put in my two pennies worth: using opp-shared (in possibly empty >>> OPP table) as alternative to cpu-perf-dependencies sounds good enough >>> to me as well. >> >> +1 > > Now that (almost) everyone agrees, I don't think we need to make any > change anywhere, in code or bindings. This should work right now as > well. The code should never try to create OPP tables and the core > will not create one. Your driver (which want to get this information > out of empty OPP tables) shall call dev_pm_opp_of_get_sharing_cpus(), > which just parses the DT to get this information out. > Thank you Viresh. We are going to experiment with this and come back soon. Regards, Lukasz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel