Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2552357rdh; Wed, 27 Sep 2023 06:13:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVbAOm06+T+ui3PKl8FBRBmlNT9EALPZzvfwDrf1+2b03OvvVQeOXL1fXljQUbH/lo2ZJS X-Received: by 2002:a17:90a:5d8e:b0:262:f449:4497 with SMTP id t14-20020a17090a5d8e00b00262f4494497mr1785954pji.2.1695820433023; Wed, 27 Sep 2023 06:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695820432; cv=none; d=google.com; s=arc-20160816; b=czOO0l9+5tFMq2ICjY5BjQvODY0taJCbqAFOik8makjQ4f6UFVoSdJpoCnMzQVFnCX aRRx3Tpig3t6GfFsgw313RHLTyqZQBxQc/JtyO8EoTeoF+xrBzqceIfNum5Iu4B90Q/4 Lst/2vpsH0X5oTKxw5lxpHaSXCxiQW2SLXkE4T0Czg1ePXTIDdOY6hOIW4bZSAyrsGts 48STBzgVpOtunOw+XJ++l6Zx+Q1nICGBDbXKCrh3E6uzxM1fYGpJslu3U8jLWQkhOzEW XTSJfNX9BPoJA2Ej32P09r3TLfVNYXRb++5Zi3WIKa7WA9xY3ksV3HGZ4R5H1l3X5NrR G/Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lz3IHbJCH498S7xu5c9BCiLtAi1Io9fWfKGLHW1zJKA=; fh=axp8UT4c3tq5Sx7QmbW0qVidKe6HNFK/J8srfu1Z/Ik=; b=MvvC0O+Pc2wVps8LQFZ7mab+MhiOeB89uMdxzh1v7OrKNjbzIZv6JdMMDEilqI5tHm 4ZUH4xsdP99muYqUnr+emlKW1C9uCaMRh1xXSelxGYGY0cEH+43glsOXi4sacA+1Q34+ IQ1krVUeesY5v7+jkLS5Ag8NI3PQLkw8SnSA56Ysqz60FtAW4va70QBWQvG7IWS9dLQ+ MYmfBu/I+5ZTnPMgz1fH9we52qRMKfBXO5OTnVmGNX6mxh4MMu5u3uaLATXBw8LkXf4Q oaXUpqQ/3u8FCHAx99/WnH7V/jbSBwKzZmkVLK1hpU6JJd/g7SLv93H6bkoPD/VCyslx RxwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DNC/dWrS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id i11-20020a17090a974b00b00271af83a25asi3884269pjw.59.2023.09.27.06.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 06:13:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DNC/dWrS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 24935822CEE1; Wed, 27 Sep 2023 04:33:45 -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 S231508AbjI0LdS (ORCPT + 99 others); Wed, 27 Sep 2023 07:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbjI0LdO (ORCPT ); Wed, 27 Sep 2023 07:33:14 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3C0219C for ; Wed, 27 Sep 2023 04:33:11 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-d81dd7d76e0so12544084276.1 for ; Wed, 27 Sep 2023 04:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695814391; x=1696419191; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lz3IHbJCH498S7xu5c9BCiLtAi1Io9fWfKGLHW1zJKA=; b=DNC/dWrSznW3hGzuYETFT3JtPeCKT5RxWoJBF8/ke1cFxvO3giEX0j39HDExOJw8Mc KxwIYC6RhGRTX2JVz7vcCWo/b43PgTqPGGQ1SN7wkO2P43xI81FyTsnreDxPvolw508t od07QRLx8fuc2MGgE/D0ATuxwZph5BdzZ1EFEz7JwcTIVnEOxDmqWJV7ZGkAyu1TREyf 26L07Jjb9a5jEikrFTYN2jkjaeMA+NNFzB4aXuBLfsVbPmuO+mMCfaM6MYk7gkghkwVb /C/1FHsKhzqOCtUxzKs58+NDX2wrx0PFC1ge2VnuCSu1EJx5pYeOPa5BXufnom7hAn5m DsjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695814391; x=1696419191; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lz3IHbJCH498S7xu5c9BCiLtAi1Io9fWfKGLHW1zJKA=; b=jjFy6OJziSxXX/bzecTHwxjITvOFnE45/c1LigyLZtc4twDU6imHF1xzXyTet7Pg/W FKWJQOB6JRXu3H56Miv9JLRUF1RMnEhryhDCQhe0ZfagUIqZRsNpPVLNfv6XI/Ge8Jcn k9i+S+PeyNg59XnJwzBrXUUcqgF8NZTO5AAkmTg39NN3tbMo+LuO2ozJZcTsHXbxzDqL KjPWpL6965NK6q34T9GTiDwEVLcTP1O3wuPnfCTpzmSRMe9xllC6X2JwdZHdgFfkPu5B uhi2vnGu+WAEqBMcLhksAL6AFiRMARfWBGhYgWpCfMvnCp4ONc2uaEV52NKa/Q9SWBWQ BOyg== X-Gm-Message-State: AOJu0YxIzErLZScKDVaMLe5+HNbW4jRuRuROhHk+gIR+Mcoy00mhJVSD Mfuwp5wh3l/f3ISZycB0Lk4Oyw/Z7foJPiCkCupueQ== X-Received: by 2002:a25:97c9:0:b0:d89:465f:f800 with SMTP id j9-20020a2597c9000000b00d89465ff800mr1643538ybo.32.1695814390831; Wed, 27 Sep 2023 04:33:10 -0700 (PDT) MIME-Version: 1.0 References: <20230923114950.1697701-1-abel.vesa@linaro.org> In-Reply-To: <20230923114950.1697701-1-abel.vesa@linaro.org> From: Ulf Hansson Date: Wed, 27 Sep 2023 13:32:34 +0200 Message-ID: Subject: Re: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control To: Abel Vesa , Bjorn Andersson , Stephen Boyd Cc: "Rafael J . Wysocki" , Kevin Hilman , Pavel Machek , Len Brown , Greg Kroah-Hartman , Andy Gross , Konrad Dybcio , Mike Turquette , Taniya Das , linux-pm@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 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]); Wed, 27 Sep 2023 04:33:45 -0700 (PDT) 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? Kind regards Uffe