Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp345615rdf; Fri, 3 Nov 2023 02:24:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdp4ADeJBvEh5kGJlZ5bqTtznrce5Ay+mZe0Fzcdg6ASInw6BPF14TFebny9+V3k9xfQwD X-Received: by 2002:a17:902:dacc:b0:1cc:4677:2f0e with SMTP id q12-20020a170902dacc00b001cc46772f0emr18958805plx.45.1699003482996; Fri, 03 Nov 2023 02:24:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699003482; cv=pass; d=google.com; s=arc-20160816; b=VLShN5SE2JtxB/071Q8CkEJehtoHmvGfrlrkphFOyZ9EVmV9DdukeV5+Ksmt0I8jp2 boYuCc8bhrc5d7M0oKO3WLoVTqYevpw8OvNDDknukFkOE0jeV6Bt23+xZ2TxCSxQ1NUA FNiqBGepnASj9vVletsq9l8HR+ITuFScHmMeoQY3M2RixQrlTp8RaXT8DNCCIwePriki 3UaMevhP4h/wfjzdU4yZlhMDL6ueQaFc6K3Em1whpeXbCd+4IVNznpS64b0RFnGAEeWf 7VqSEsk4vmUN2D8HSV/ECy0FETsHyN5G5PP7Fo9PDqTKGK3cobBtFLL+0Yf1itSXy4gh e57g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=panjHvmhHlKR5Tkzdso//74lQRh4FS57QtoM0h4NJ6g=; fh=CIw56zJyVH43HzPl7X8qib56flsoAPSTyBBe0T+yaYs=; b=IhxAqxbHYatmD/iPO50rd15j5pd55GOwfBsHg0sH4qFqEAxT9BjO2Elpp43oHE9B48 ITjyTzeC4c32JxX0x7EdZhbhH6CDwP5rSG3FsAJpbBQJ9tqHg3vdXXmdqUThlkQ7ylxV U57CJb38oKY2ERJQD0w/Qd8UK/SyY48xPwhX2/avDpiC1iQB9kLnSaPl+ZTls7wHJLEd Ju+Om4seTMPoP++DGTu8iKppwoPBbn663FOYJvcBz/cy3s6oUFQH2einx6aex6/IYN3D yvdwVDx2SCdgqhgd0jh5IxpERjhAu1mJ06US62sDZR4JP0FGbaoyyIM9jVaWbXMXnpQ+ ML5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=tfgak9uU; dkim=neutral (no key) header.i=@gerhold.net; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e2-20020a170902f10200b001c36018fdaasi1180922plb.219.2023.11.03.02.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 02:24:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=tfgak9uU; dkim=neutral (no key) header.i=@gerhold.net; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2AFB4819704F; Fri, 3 Nov 2023 02:24:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347054AbjKCJY3 (ORCPT + 99 others); Fri, 3 Nov 2023 05:24:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347010AbjKCJY1 (ORCPT ); Fri, 3 Nov 2023 05:24:27 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [81.169.146.167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FE7ED50; Fri, 3 Nov 2023 02:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699003458; cv=none; d=strato.com; s=strato-dkim-0002; b=GKhEhc9fuAGxCPvn0OUpgiyGm/vrq/Wvqjmott3WRhZn0LkD4UJZVWTDCFe/9rIjx+ FzMZKFqBE6gVzyF+7sYF8IL8awZzgOUyLkojo0vXOvTWaDswdqDRtpP1X6s4UXZuduB3 2upqFv3fPhmwRmeZiCMWuNbEJvtfY8R3x4CXpbowgMnrsOTBokVcp6UTciNuUiFUSQeC cxz0VV+y9iKEooICabbXw5fFKeOD7L8OoCFp187Yw27KKxAa62H97G/NbTmqF9/aUy+y bygiJEGWn0RT0uUW81VgZ/xPLputMgY5csHjzNmn8BTrxo3cQn0qOnn2P/fDE5NgK47c oukw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1699003458; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=panjHvmhHlKR5Tkzdso//74lQRh4FS57QtoM0h4NJ6g=; b=dD88eMl3NtdIdxGpPfYTqZv6QnH4JMx0s99tu+4u/mhO6+6tQ751hMJrSx/PzsoiCk VgUdn1CDkMY+6ZGsm3KQZhP85hJvLr6rPvIAfG9JzkxaOeBxbZkuU+thea5nLgOlNhLQ zigeDaF6ZEAr+ZeMjgIsQNjXrwTor1WrnAYokaF0Y1Y1MXDNG4cYUcoufEhVE6N03434 ePOmVDsimdGRP4NvbUUJvsb4mzOL4gkUBcDXoL6iddboC5zKV30k/s+HYXwDxzVYh9LE YuBj8g/D5Sb6I24p+QJ/hx196Hn0KAGlQ+L5alpRUNtHspBLLazJDRorDs+bZOC4ZvDP iMBg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1699003458; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=panjHvmhHlKR5Tkzdso//74lQRh4FS57QtoM0h4NJ6g=; b=tfgak9uUOkO5QZpU6NQ+UIkZ/7aEbNTUIkgkmWFlEuo93wqHPzDfnqhfdbduNPq0Q+ 1ltFt10095uUtXiKFQzeilQz3nwUw0hNNuNT6DkbiPK3g5fwtWrKkxRjligY6Crh1e9+ mbh47zTspT5U5QkCcrrNq3O+k7IWwtbAqPtf/6uf3lCm7hItFdrwcL3PBehKoH2xMqoZ JU+H6WsyVO/PRJ3Ij3Gjd32Op2Y6s7zL4v1KzaobyRDh0durwDiBHwgHTNNp7fObmv+p 7NKgNMCxmJrfEgyMW+ceu/Oy4tqpq81neE6tPp/++NWLCWBpMvMx7OKZwlJGYwfx5k+2 MWJA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1699003458; s=strato-dkim-0003; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=panjHvmhHlKR5Tkzdso//74lQRh4FS57QtoM0h4NJ6g=; b=2zlNwS+eVl/msYpE8lBbocy7BxUccc0Cjp/JiiBPaDqMCT2Td3yVEsb6YHMcmSGTYn z8p37FU/272Ji0wr0ZBw== X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u261EJF5OxJD4paA8Z2L1A==" Received: from gerhold.net by smtp.strato.de (RZmta 49.9.1 DYNA|AUTH) with ESMTPSA id Lbb8e2zA39OHOuj (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 3 Nov 2023 10:24:17 +0100 (CET) Date: Fri, 3 Nov 2023 10:24:08 +0100 From: Stephan Gerhold To: Viresh Kumar Cc: Nishanth Menon , "Rafael J. Wysocki" , Stephen Boyd , Viresh Kumar , Ulf Hansson , Stephan Gerhold , linux-pm@vger.kernel.org, Vincent Guittot , Konrad Dybcio , Manivannan Sadhasivam , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 0/3] OPP: Simplify required-opp handling Message-ID: References: <20231103052854.bc7jqaubc5uj6ncj@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231103052854.bc7jqaubc5uj6ncj@vireshk-i7> Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 02:24:40 -0700 (PDT) On Fri, Nov 03, 2023 at 10:58:54AM +0530, Viresh Kumar wrote: > On 30-10-23, 15:54, Viresh Kumar wrote: > > I wasn't able to test this locally (despite trying to hack it around) and need > > help from someone who is `virt_devs` field of `struct dev_pm_opp_config`. > > > > Pushed here: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/required-opps > > > > V1->V2: > > - Support opp-level 0, drop vote i.e.. > > - Fix OPP pointer while calling dev_pm_opp_set_opp() recursively. > > - Minor checks and fixes. > > - Add Reviewed-by from Ulf. > > Stephan, Ulf, > > Any feedback on this before I merge it ? > Sorry for the delay. I tested this successfully on the MSM8909 board on Wednesday (with the single genpd, and without opp-level 0 there), but until now didn't find time to test it on the MSM8916 board with the multiple genpds and the opp-level 0. The opp-level 0 works fine now, thanks for fixing that! The warning in _link_required_opps() when using the parent genpd setup [1] is still present though. Given that this setup is an existing feature in the genpd core I would appreciate if we try to find a solution before merging this patch set. It's kind of a regression otherwise since the warning isn't present without this patch set. Maybe someone else is already actively using such a setup. Thanks! Stephan [1]: https://lore.kernel.org/linux-pm/ZTkciw5AwufxQYnB@gerhold.net/