Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp440376rdb; Wed, 20 Dec 2023 01:26:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDl633j6jyqojQ2EiCNspjybbybCc04IcHsstIj1IlkryxsfoglnH+H4TstSOamGdm0Qgd X-Received: by 2002:a17:902:d547:b0:1d3:5b0b:b049 with SMTP id z7-20020a170902d54700b001d35b0bb049mr17270241plf.33.1703064415503; Wed, 20 Dec 2023 01:26:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703064415; cv=none; d=google.com; s=arc-20160816; b=eRAhc9HsDLG7/tX0PLjkFZweJqutPkTOcMcN+Ms1nbj+fFKZcFnUqPjC6WmEVAuc/i WzmhmJMG5azPu6fxwtmyA6foquMDwG9BSya5I/Dapg1ehY4MEmdU9bpbN7FqKOk5hl34 KOBIbR6rWdZsYYmC9mOb43My21DYC8sp0PsXO1OUB07UfRqxs9WnoL3p2NXVHQNxhCAy CrafVPAVxLWd9eHazFlsF3q1D7OE2DWxaEePZ7gOEuqClCjVfmrFkekbhqEQ1n4OMaDK wb1NM7Y9MiAXPs41FNoUPv3Rj4dlCZUZ1+8u6M68Wq0keC0gWpLeJRZgHdG2zm1hjeeH X05w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kpI4YwMoc9SU/V+1fZBsPDjvEpnie2vJ6x9dfjJXvV0=; fh=T5Qy85KLaypVtzPWbsVBEvNEqQOyAn9gVQI2wr3wknA=; b=UojTV+a3x6wrJrQ7oEHXROqGY+u7WgKsDXiVYn0BDOKG3SwnR5DKF0yMQ9fMERg3Zf 5jPvAwHoSFLD6KK5zgi3R/OkuOUsumMSE8XReObUEX+OlHm2O6tweU8EbgKSwS39+sUg dvkKQUanrbpUp5XjAWlgnKJkIqygV6Fma6U9+bNdNZIHxZ8yBykBhhQMDndWtbJiYxJh Gp5XSGvdwpjDhasfcWwP8LyKvYySYrh/lFoL2HjhgtFxvjqhqvYbwOqY4im0ShnMh3GS tU9dptrU/krhorxP17WxRjMtdcivAexLhc6hL+93rMcPjzCeg2LSyXaajvbnz0dKnQJE 6vsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H0+sG3HK; spf=pass (google.com: domain of linux-kernel+bounces-6640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p12-20020a170902e74c00b001d0513ec98csi11062756plf.224.2023.12.20.01.26.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 01:26:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H0+sG3HK; spf=pass (google.com: domain of linux-kernel+bounces-6640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 30677288EBE for ; Wed, 20 Dec 2023 09:26:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F1321EB5D; Wed, 20 Dec 2023 09:26:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H0+sG3HK" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A21091DA33; Wed, 20 Dec 2023 09:26:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A486C433C8; Wed, 20 Dec 2023 09:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703064406; bh=j222JJR/D8hXfjZV0XkzJEjLU8itQUo0kwMu0IT0jyM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H0+sG3HKttzfQQ6tBgwUGrqhtUgzp4AWDqD/SE022vHvySXzgL4lNOcklYpx5S3S0 lMaP3YoqiJIdk6awQJOmLbKjbv65rNp+P3nwzF/FSlKxm/tyhsPYv/3P/nhzu5hlv3 Papeuj9WTYboalFcurYUPC4bLm900nuZg+4yeuxcoNQIFnYILOaYk7X1gzeiQmAimK KBl6Zhl01iEHpO267Dm2yxL+IHUI2aJLhPRQNmalIs+bjNjjnHwUi8A7yIsz1iVYnv GoVYQWp+gjCx9eOU1YEz6tCtfyMOhpROsKbZBy1tNVWBlVkOcDBy63FWxD/OpNl5uN FWODUjDgdLJjg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rFsqh-0001A0-0v; Wed, 20 Dec 2023 10:26:44 +0100 Date: Wed, 20 Dec 2023 10:26:43 +0100 From: Johan Hovold To: Konrad Dybcio Cc: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 04/15] clk: qcom: gcc-sm6375: Add runtime PM Message-ID: References: <20230717-topic-branch_aon_cleanup-v3-0-3e31bce9c626@linaro.org> <20230717-topic-branch_aon_cleanup-v3-4-3e31bce9c626@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717-topic-branch_aon_cleanup-v3-4-3e31bce9c626@linaro.org> On Wed, Dec 20, 2023 at 01:30:45AM +0100, Konrad Dybcio wrote: > The GCC block on SM6375 is powered by the VDD_CX rail. We need to ensure > that CX is enabled to prevent unwanted power collapse As I pointed out earlier, this bit of the commit message is incorrect and misleading as the power domain will never be disabled until you enable runtime PM as part of this very patch: https://lore.kernel.org/all/ZLaSpFFBzP_Yz5yY@hovoldconsulting.com/ Specifically, genpd will not power off CX (at runtime) while the driver is bound when runtime PM is left disabled. > and that the > reference is dropped when unused so that the system can enter a > firmware-managed lower power state. > > Enable runtime PM to keep the power flowing only when necessary. The rest is correct. Johan