Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2551302rdh; Wed, 27 Sep 2023 06:12:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxo1CRAZGLis1BIymvW2riAAv0Zxkp9uNcXjq9OZp6sFu6qbQQwYjNsGzWNSDtFsHeVVR/ X-Received: by 2002:a17:90a:c243:b0:274:8e3b:27cd with SMTP id d3-20020a17090ac24300b002748e3b27cdmr1473131pjx.14.1695820344901; Wed, 27 Sep 2023 06:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695820344; cv=none; d=google.com; s=arc-20160816; b=bkQU9yrT29BovxBGqhRAYxrZjn8rUFUwBGoJdp+tEaaOEe/ZezYPVCyZV+9IYEAfzz ooAd0Q5hzNGvtfVSPWuy19QfFlohhPaaZzXvVMEVNA+/TCi519fxuWl0yk5UE5CeBj4S ellA3nsSnNQDSKGgbcd+ByTMbIEB1tLEYAzGRUSd188ijL/BCZc0J/bUbb0WC5jG6xer bBr1qQ2E3JzRN+eN0orF3SeihjRds7WgVY1xuJHbdC22pQri7Iz5o1+zo5cnNOxpruT6 KN6EwOuGojru9iA5i0RAnz+Xg+yZza6VHChhHGG1ZaIEiidryFfZiq/buYtjPS1G53kb Uszw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=ynMxhZsb1RwRjxa41UJyZdRgOe/P995qAEy3Dqy5MkY=; fh=VYwCDfQORfEgYIlV7gc4eWtZGwiAeLiCLROQdz4uAoY=; b=qNL8liwvsUXF1WfLqDY4xB7MroT1B+taa5zdhUehaRi7mwWam0nLqSGXojmETs2ALO i1fXNpkeDXwXPxdFSACkRwuEg5mOltuwExgC380VV80z5a1bTVBKyrk2Q/hEiNDbG4iv 4ipVeTHAj9Sr1fCcUtJW1EDaENcoXMH7j46IyZe7W18R6+vxeqXheo9YO2FI9t6+muL8 v+p5z1UG62Eyj19UKx201Ue1p8iLALIMt8QKCDdrSQWBtKu91/AJF8poBzv+Q1+NQdtX nwNlRz46QKEAi+jHF7ujsEosi2d5Y7SCOwIfM0AsVCJqzOqAvkKPgBbMKOBDP7E9cJt+ fu/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWwolEjY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ep8-20020a17090ae64800b002764fc15dd3si2225943pjb.37.2023.09.27.06.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 06:12:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWwolEjY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 39F7780C9A71; Wed, 27 Sep 2023 04:37:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231420AbjI0LhS (ORCPT + 99 others); Wed, 27 Sep 2023 07:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjI0LhQ (ORCPT ); Wed, 27 Sep 2023 07:37:16 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 307C813A for ; Wed, 27 Sep 2023 04:37:14 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2bff7d81b5eso184319191fa.0 for ; Wed, 27 Sep 2023 04:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695814632; x=1696419432; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ynMxhZsb1RwRjxa41UJyZdRgOe/P995qAEy3Dqy5MkY=; b=FWwolEjYJfSFICYfpQKXmUHuzrPA9KkMm9FEG9No22+E6uKN6JEI6ZX00WJS4W+VcT aXwGO/bOrJ/FbZvsQs0PW8FiWQn4RI9yyumUxJOYBVIazPy+uIyzb7SS6uyCrBuf+L3C SWF6E7fo+mmTStkDtj/PVkRgWoTj0Owi/RVtyAh0MrHKdxLkq9hxwqY8jFG/Lfq3mLtX oFx5KhtGBUgQ+emTRbrW18rDru+X49IFABdWjoKaBDn3b/3oFl2mDf8waixs/EXseO2j OMgOGZFqldPtYfNlkWi6PXxHU9X27/DIPzWk4ctOC7KMioF+dPmS3huVIwRo3MA59Nuq +J0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695814632; x=1696419432; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ynMxhZsb1RwRjxa41UJyZdRgOe/P995qAEy3Dqy5MkY=; b=OueVpgcljtIw461lXYRB45mXRvigXS8pIV/eVPWwBZh5itfjyFGYXz0oDUv7pdud88 jmyzDMAs5TBm3NPQa+LOjyMLVO3Xg/aWzmIWxEh2sWdJvyqiFvOHevyPyMQE01a8igM1 OcI8vvoGoG4FtErSxiaCZ7ByGWipIZZ1jxF1h6icM+tA0/Qigjd36vlZ1avJ6F/DYxJa VShHnWo95ndZClWa8DYB9Cd5lfltAN2/g3lp8U0i8fgXmWMPMyVXdcpjdAonHC/4WkNU 1Iq1A8f16mKOJM2BT1/FFmkJIXCixi0XDsnekj8bFwlCEljHpvQ00toZ92EJ/l35cXV2 YI8A== X-Gm-Message-State: AOJu0YxsCPhkBJErb5D1MMogSWLH5lLOUgrD85mC6w/S9DxC2DIPzAlG iQv2Ie1BZREZs2RutNR5Al7oGw== X-Received: by 2002:a2e:9cc2:0:b0:2bd:19c5:3950 with SMTP id g2-20020a2e9cc2000000b002bd19c53950mr1825623ljj.33.1695814632257; Wed, 27 Sep 2023 04:37:12 -0700 (PDT) Received: from [192.168.33.189] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id md1-20020a170906ae8100b009ad8acac02asm9234029ejb.172.2023.09.27.04.37.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Sep 2023 04:37:11 -0700 (PDT) Message-ID: <093d1c77-0a76-4f72-80d8-ffb9f9d09cf9@linaro.org> Date: Wed, 27 Sep 2023 13:37:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control Content-Language: en-US To: Ulf Hansson , Abel Vesa , Bjorn Andersson , Stephen Boyd Cc: "Rafael J . Wysocki" , Kevin Hilman , Pavel Machek , Len Brown , Greg Kroah-Hartman , Andy Gross , Mike Turquette , Taniya Das , linux-pm@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org, Dikshita Agarwal , Vikash Garodia , Stanimir Varbanov References: <20230923114950.1697701-1-abel.vesa@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3ohAo xL2UgwN5vj74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+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 04:37:33 -0700 (PDT) On 27.09.2023 13:32, Ulf Hansson wrote: > On Sat, 23 Sept 2023 at 13:49, Abel Vesa wrote: >> >> This is just a resend of v3: >> https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/ >> >> Just added Ulf's R-b tag to the 2nd patch. No other changes. >> >> Abel Vesa (1): >> PM: domains: Add the domain HW-managed mode to the summary >> >> Jagadeesh Kona (3): >> clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode >> clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode >> venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode >> >> Ulf Hansson (1): >> PM: domains: Allow devices attached to genpd to be managed by HW >> >> drivers/base/power/domain.c | 84 ++++++++++++++++++- >> drivers/clk/qcom/gdsc.c | 32 +++++++ >> drivers/clk/qcom/gdsc.h | 1 + >> drivers/clk/qcom/videocc-sc7180.c | 2 +- >> drivers/clk/qcom/videocc-sc7280.c | 2 +- >> drivers/clk/qcom/videocc-sdm845.c | 4 +- >> drivers/clk/qcom/videocc-sm8250.c | 4 +- >> drivers/clk/qcom/videocc-sm8550.c | 4 +- >> drivers/media/platform/qcom/venus/core.c | 4 + >> drivers/media/platform/qcom/venus/core.h | 1 + >> .../media/platform/qcom/venus/pm_helpers.c | 47 +++++------ >> include/linux/pm_domain.h | 17 ++++ >> 12 files changed, 165 insertions(+), 37 deletions(-) >> > > It looks like we need a plan for what tree to route this through. Or > if we should use more than one tree. Bjorn, Stephen, thoughts? +CC Vikash, Dikshita, Stan The venus patch should also be taken with the rest, I guess taking everything through qcom would make sense Konrad