Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp128371rdb; Thu, 21 Dec 2023 05:01:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLilfzqITW1zDmB8lOlLLgTy/90dQ2tIXtSGfR8Z48nmXgWulfQSoM12ifv+mB/2Zhsf+K X-Received: by 2002:a17:907:9483:b0:a1e:5a8a:674a with SMTP id dm3-20020a170907948300b00a1e5a8a674amr978699ejc.19.1703163713823; Thu, 21 Dec 2023 05:01:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703163713; cv=none; d=google.com; s=arc-20160816; b=Lr2xLKlCNbKybOOYiE0FTdVoIkAPYlZKlqFDJ4MWXtLZ0yruvG2fMB8wy+V3GKfwZL wZv7t0E156s6pMoTUMTBj2C1O7NpU15v1XDG5WBNC2FXcRakPOcGbrts0238RAj9dstz akSSX6/BgB1HBtUef43QEu0fV0PQApEyumNkksGyUgEjQ9O+qePcTm2PpKdL6d8UjXLG jC0SDNj1u72FpDPMRS9J13qAZdvPQxflxDy8PTV+BW0PRSby7q61LT/P6Yaicif0XdJb 3bDl/HnQG6XGM+Gd4lLCzddk0UDFhBAPg3K6R6kSuZVLI3WqzneWqplmPSx9koheagPo Z1GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=H/4BkBTLjSuROOM6v42NHaPt36UEL8/mhBKljFDoocY=; fh=kP4ZVy6fS0tG8i1M0m3I5MnLdz03p7YjZ7fpHpdYgg0=; b=D0mhAx6aybhbOVa8MKR5fsFvNupq+lfBOiLEKttlxe9DODLvV4l4vhpIa7pCfE9NGC mjZ0D+PWQUgX3PlSh1OulHpatTtbJaVJZQGtsB1TvxTCj9mQviYngLpMVg3ya9+GEdRl KGanHF4Ky9p+PaKGvS0tJro2NbVggJIPwl+jMFsfoSWHSrNhj1jxIa/OsTYoYxpPHAfN MLADXoU2y5oTeEdA2QVnK79re+PUrvg+QKKkx87nK9vze49x9XqSrbeDQaSVStW+Rnz/ D09f+uOfadOuY2eQXTenqw1sE0b9of31HQToYYgIXbjDkIvlwjw8VplKA7geFlKsS1h1 Aoaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bRk7bVzb; spf=pass (google.com: domain of linux-kernel+bounces-8414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n13-20020a170906118d00b00a1c7c770507si828625eja.286.2023.12.21.05.01.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 05:01:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bRk7bVzb; spf=pass (google.com: domain of linux-kernel+bounces-8414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 956781F21E5C for ; Thu, 21 Dec 2023 13:01:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2940B760A4; Thu, 21 Dec 2023 12:57:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bRk7bVzb" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2033745D8 for ; Thu, 21 Dec 2023 12:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-55359dc0290so1357210a12.1 for ; Thu, 21 Dec 2023 04:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703163439; x=1703768239; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=H/4BkBTLjSuROOM6v42NHaPt36UEL8/mhBKljFDoocY=; b=bRk7bVzbz/XxV/mX2aMQJH4XGHet2117lRL0LJMyaUYaTKI3k5i+/sk9KLgsYb3MA3 XrKA9JwAORLVL3w5NsZq9gyjFTgBHDtSQOu+sTCAkhCKnP0ZiG+l6BrjaFx7D+1Mefhb cXSabxuZkjBnJOc0IpoJ9gI9ltXj8BzZSQkBAqSVdZomoFGrwdLmHJg69j9gL7PKXVFR kCKBeG7Y0x3wYBHovfs6XiPne2cipscpW+uOmz3bYxPUSVJsdV3K2TFLrdTj/ni7PNTj NpFbwg1Xg8CY0uxMtzQOXCbGeX7mFtGxuqbkYyLAfAiWyyiOvs6hs2Y+Vv2HuALaEBUA yIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703163439; x=1703768239; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=H/4BkBTLjSuROOM6v42NHaPt36UEL8/mhBKljFDoocY=; b=HgTyhcsITrC/zM2gpMU1BdzJltWY5r2OSozz9VPJX23qrdV85CkLhrdZ/LZEHMwpOL JWjQERlyDdCkXNq0W24YtsuvF1g0v83rNN8BPoOXmi+Dokgqk9U5/NEHEB59sWDQ51bz uX1dsBZPFfiT8R0SjcBhkFb2OqjJR45XnjHwsxBM6IsSpV7clXQ+mFk48PBWMHi4Hw8E Jibo72gZmTNLkFFZFOWu69iD19Mjr06V9KH84/sdphK/G5pbaY30+i4b7oSGOnd/IZS0 SaIszZ39f4bw9CPL5qKiGcNzPNztQoDCsDGoWHx7oyyltfuUXAg8bXo3v+0ARY4XhG7p p+Dw== X-Gm-Message-State: AOJu0Yyl8QCM76rIlroAInosRaGRKQkLMqEIHUcdWUD2tQcbhe3U6amB uODLZXrLR4n0pxwwoATOiM+il5N3HSExeQ== X-Received: by 2002:aa7:c397:0:b0:553:346e:b0d0 with SMTP id k23-20020aa7c397000000b00553346eb0d0mr649538edq.14.1703163439228; Thu, 21 Dec 2023 04:57:19 -0800 (PST) Received: from [192.168.199.125] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id x7-20020a50ba87000000b005527cfaa2dfsm1164238ede.49.2023.12.21.04.57.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Dec 2023 04:57:18 -0800 (PST) Message-ID: <8d206362-7d80-46dc-8474-871fc53abc20@linaro.org> Date: Thu, 21 Dec 2023 13:57:15 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/8] clk: qcom: gdsc: Enable supply reglator in GPU GX handler To: Bjorn Andersson , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> <20231220-sa8295p-gpu-v1-2-d8cdf2257f97@quicinc.com> Content-Language: en-US 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+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe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1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231220-sa8295p-gpu-v1-2-d8cdf2257f97@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21.12.2023 04:50, Bjorn Andersson wrote: > The GX GDSC is modelled to aid the GMU in powering down the GPU in the > event that the GPU crashes, so that it can be restarted again. But in > the event that the power-domain is supplied through a dedicated > regulator (in contrast to being a subdomin of another power-domain), > something needs to turn that regulator on, both to make sure things are > powered and to match the operation in gdsc_disable(). > > Signed-off-by: Bjorn Andersson > --- > drivers/clk/qcom/gdsc.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c > index 5358e28122ab..d1139c895503 100644 > --- a/drivers/clk/qcom/gdsc.c > +++ b/drivers/clk/qcom/gdsc.c > @@ -557,7 +557,13 @@ void gdsc_unregister(struct gdsc_desc *desc) > */ > int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain) I suppose the name is confusing now.. But at the same time I can't come up with anything that's less than like 6 words.. Konrad