Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp257114rdf; Thu, 2 Nov 2023 22:29:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGI3xz341x4EJi9n/scH5NMAGE1K7qcPv2obzHbJR/MZon81BDm1CjPNZy1lvq8ADCjw6kf X-Received: by 2002:a05:6a00:2490:b0:6be:559:d013 with SMTP id c16-20020a056a00249000b006be0559d013mr20663533pfv.10.1698989346868; Thu, 02 Nov 2023 22:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698989346; cv=none; d=google.com; s=arc-20160816; b=ov8L+8tJ6EKA7yOeTw/f5LcpuAGOzjo/BsFVsc2V3RBrNpmS5FN9HvqAOH5OUU1B3Z nKnWgSBXo8eGsoOBt3b5/+f5Vb9oRYak6wGoeP8L/66O5qxw0CD0sTtQmCGFtXSoMUNa +bHD0fcu8fcfpidAWGRF/o0fixhiO07pvAmB4yB9N/214Vu3kN/5vIsrP1JlpmENpa36 0zqX6hI0TU2Gx+DEWHgVKIQDwQ9KZ4lzOgATjp5YJo27QBWb4zO8LLgDtXDt1++ZLCHf V9j/bRwbwDeNB7RHS6wk9BvcrHdMrcwP7DVKHxZ5+5+4Ax+woWLJKZslC3JMT9EIBGJM WFmw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=R5BuWds/Km7S1ap/RjvexaNEcZ8RFMVEsbKbJHRq8sI=; fh=HBNK8V2IDg6Y6OaPBzS9tK/D5edZv8SAfv+NYMpU0yE=; b=j+o+gWNGq5p9ZKGZky80qivVhn6S2tIm+Gv7NC6kaDtjyugpz4C3Jq1x3AxlOLBvMs H2IX/20i37c/fQEiiB02ybwP8A16984ZOFq1nwB/D/PoSxfR7/w1Z8aLtyzSFoA90Pzz zFIDKVLBS0aFdlEhn+3/SrekddlfiHlS5weov0ymsTedTflyo/inYlLUUl//AoA6pghB g5axozzIFxivvGn3FQWyrHROPlVQZmb9srnLlE9yjlCNgVpqnNLvunkGAYVj4kR1L9cH u8bO+07PoWumt342clW2mOnWTV+EOMQP9kj4V/k70HeYjKBv+O2unv4yHlN9QeRpTjDv IQUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J9zcEp3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t64-20020a638143000000b005b7fb04f1f9si870033pgd.734.2023.11.02.22.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 22:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J9zcEp3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A0E1282F9248; Thu, 2 Nov 2023 22:29:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbjKCF3E (ORCPT + 99 others); Fri, 3 Nov 2023 01:29:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjKCF3D (ORCPT ); Fri, 3 Nov 2023 01:29:03 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F88E1A6 for ; Thu, 2 Nov 2023 22:28:57 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6ce31c4a653so927066a34.3 for ; Thu, 02 Nov 2023 22:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698989337; x=1699594137; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=R5BuWds/Km7S1ap/RjvexaNEcZ8RFMVEsbKbJHRq8sI=; b=J9zcEp3qm+4bRTtdvA/9kaLHA+PkHKw2mOzybVUOvLH2JNHwG5ej6tZgg9La0Dlotk pLG2QwMIV1ApCKOxXpbqXScqV0bh/dqPjbei8OrSwrTQX/8lqfSiZhLIDCF783cLRm4i QVz+CR4CtZfH9q6iaCvXWp6RKOXBqqdHrs/l2jbq9xr6Z6DJlRDr31lviyKUtt6V16fb JGYP3VkdG2c0X5oJ3XMsPy0mVJyTfnX0OX2q2VLrAPcaO0o68INpa1pbSKRQ+ahjbRtY Ch8tTaWaV5dJzqST+e6Tn1layj05meqP8nmNxh/ypbnEG7nJKMp277Rb4uIJeOOKNlib vQ/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698989337; x=1699594137; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=R5BuWds/Km7S1ap/RjvexaNEcZ8RFMVEsbKbJHRq8sI=; b=luN11zoeq/EmVEx2116DuEHY3uAYm3P9G7k2kXPQzra5SjytSKI6jjKXsID/gSZM0x S1WGhpGpEint6NSUj0J6UWcHszegTKLHayxbH88kfsTK7M9404P+aYHEYpZHwCQ/Vaz/ 5FQufYm6AVcwcFLOPou1Q8Wp48sg7O4y9xxxJsF9wMS1PPTYHihKA+pCymi/3RxUfUr+ SjbrF5KkQ8EQGC9FlsSLSld8R2DV4wSwIs5woVUutpRUkhfpkMrCexKFuAodSfU15+VA cEi/tz797N/rPoFFQkPREXPf3CfuSFi1q3XTVwIyGwGYmfFdgrU2GgmhBIJEcOR7i94f 0pAA== X-Gm-Message-State: AOJu0YzNyftiopGc7CoICd80pdI5XJdnGU/s6iuphy7tsOW+lBPewVE9 tDB3QGAHCj/th/xgrxQ4xGozWw== X-Received: by 2002:a05:6830:1d9:b0:6c0:e5c3:40b5 with SMTP id r25-20020a05683001d900b006c0e5c340b5mr20551418ota.6.1698989336873; Thu, 02 Nov 2023 22:28:56 -0700 (PDT) Received: from localhost ([122.172.80.14]) by smtp.gmail.com with ESMTPSA id r19-20020aa78b93000000b0069343e474bcsm592667pfd.104.2023.11.02.22.28.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 22:28:56 -0700 (PDT) Date: Fri, 3 Nov 2023 10:58:54 +0530 From: Viresh Kumar To: Nishanth Menon , "Rafael J. Wysocki" , Stephen Boyd , Viresh Kumar , Ulf Hansson , Stephan Gerhold Cc: 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: <20231103052854.bc7jqaubc5uj6ncj@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 02 Nov 2023 22:29:05 -0700 (PDT) On 30-10-23, 15:54, Viresh Kumar wrote: > Hello, > > 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 ? -- viresh