Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp360962rdb; Thu, 15 Feb 2024 02:22:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2fPJ/QzhXag+5RGDtzQepvV2p8ypoBmRVaD7IkDMpGnFAqjtpI5w2YYI5ssw0Yu7pbLi4MDNNWNP2wT3+8lpcp40+HXLup7lut7JM1Q== X-Google-Smtp-Source: AGHT+IEYcvXuzwvbVpk7XJaBMXH8RdxReRLMIQrsUzd1XTAijjTAVTqb3i1wW1DE6gZxeRfEAxsG X-Received: by 2002:ac8:5c4b:0:b0:42d:b393:361d with SMTP id j11-20020ac85c4b000000b0042db393361dmr1535209qtj.49.1707992575603; Thu, 15 Feb 2024 02:22:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707992575; cv=pass; d=google.com; s=arc-20160816; b=ENBosjoWnUkumgfUa5KbbanJh1tXqUWBi0aKerTMO+jkoHErDUekFQHZCTvwtkm9q4 S66Fxk4E5Sf9dhCGYzdvCeoVS/VVW2kwtWq1F1EbjYTz0winHVJZ6Zt1l03z3RmxKZX+ YDTYoQYeSKK5u+NYyEO8F7rfAJw5usxohAhq6Gsfc0mu2DGF9vZZPuWgwM6D1jBBuE1u Aereb+XxPS7ud1fqRsY5hpfY1I81FSZGs3c6WbBr88D8fNVyKV18Nl2thie3sNiu/hGt Evua/uPVB3zyFmFkEFNNHJsMxINan2vaCZRDLFs67I4JAeh0dG9p9uC6VGq3NPrD3UzY jUNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=lOkNu0rG484BLsBBaD2UW5VVuIqfgjAH0mKF8SREstc=; fh=rbSz1fEGjaky/i0iNu/7BUm3cUnMfN/jBHlG6vc+Pw8=; b=N9T5IblfjNjFqsCT9QMVvsLoQyssntHqwOYICHjTXSky/kxcDVM0JlM0sxPQHI5pGc EY+412oXmDEiAGUv4tKbrdes5uoDodPIAfRCEDor0A2Yud8StwVCAv7xkGLsIf2eOTLt X6xUajZDMzUGgl0hE2ZktIRY0xKNxFzEmk5KvQLtENzX6/mZ+1QkzAW619uwWeYucvfc TVE12xmsHAZ9C1eu/lk57pgR4e+Fs4IqvDIlP5SEGwnAbAmqFSyuQINkGaSqYySfpdqw eUMFpRuKX4WQAMCKG2y4V6jWddL5+Wp0r9tbKCfI5vb50E6bUoOh9ZcHDKtmgm0tKs48 7BPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xwMdhGTz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l4-20020ac848c4000000b0042db2599576si991145qtr.700.2024.02.15.02.22.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:22:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xwMdhGTz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66620-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4CE181C222F5 for ; Thu, 15 Feb 2024 10:22:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A669769D00; Thu, 15 Feb 2024 10:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xwMdhGTz" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 EFE3467E7C for ; Thu, 15 Feb 2024 10:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707992561; cv=none; b=IGAb3riUCurLPSl6R8/JondC31wIGILbFo5hUYYDX24dEYaWtbW20xJX6ZzD0Gip9xBpAht/iWaPYIfzYHRnuPa24dADQi7u4BS3hjdAg4rhg5OVlemaf/ZWVwPCRmCJ3h8UUUzouOvtbZxjJxTf3YeBSr+DA1WJRzfHTXJ6dtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707992561; c=relaxed/simple; bh=CWpIL3XABUujYhuG7eE/i0p4b279rBYem6KgKyaZaBE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IlLwTkSUIVBC3wSGev42CKqqPm+lvNEbZBPGvF4b/ehscnXER4cG2NDdHdMEjgL62MDqx4vzZgHJpx9Ux7UdViPDsUYGdJiwYvHK7LJy1EWlZDr7A93TEugGFO2W6PWRMH4vuxi+tulmtWqMLdGjWiZYYxen0b7jlBrtzRyBEhs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xwMdhGTz; arc=none smtp.client-ip=209.85.208.51 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-f51.google.com with SMTP id 4fb4d7f45d1cf-55a5e7fa471so917643a12.1 for ; Thu, 15 Feb 2024 02:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707992558; x=1708597358; 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=lOkNu0rG484BLsBBaD2UW5VVuIqfgjAH0mKF8SREstc=; b=xwMdhGTzMtSdMAeyB6mErkgQv2ppSJY63kzmX6wVVnVr1ci9HAarBgcOv4uBxjYxkJ 5npmPOmqkwtNimGrsYtqgSmNNoP1cNTgcS+KjQ4CRkwlkWuxaTm1SLkqooGqpnA0IyaT CyVHzQ5WjeHhE5PY6tosXKTYbZA1kMceEW8V6DFFHUZdpUJm2+2+E5ycvOsHOgy06rm2 RPNoRs57krmC+HG1/pBoZoG2AV4ZW6mFJ7UVotRDK2qMMQkFPeP01l92M05BjhHCCecN iHFWdVXEs+fze2PgG1SWWNKXuEH9BMMRkhTTnlM8W6nDAJOae5VIy/F5exX4TGKH9k52 NFRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707992558; x=1708597358; 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=lOkNu0rG484BLsBBaD2UW5VVuIqfgjAH0mKF8SREstc=; b=D6BDpFM9KhF0Ga3zwKJ3tmz9/NZsweuLCx6oMwTTHKwtJ9/QyIIPHxT7M+5ZYy4pt1 buMlUco97ryGDfsbDV7pSMF2iVMTvTVYLiXZEyCjg8sI9VC+ebpuZjGITlcY7H/3ICvV +oVAbOWWeycCFEX7BmaM1IWcIz3BI/2E38gfDaDvIiImSCu4g1giGuwHRrguZGA8enmP 4wnL/BrGDrTj9QI6vOTCGLM4O84cbX9Zyf9lL7Ci600/3QEI81hjk+xEHiGZE/1V5a35 ygQbN2VTNO7rQPxZGyZZR8ECZcd6C/QWwnWrWMEHVt4oBnd2Y0k0m1NoXv70Z3PW3JX6 4NdA== X-Forwarded-Encrypted: i=1; AJvYcCVV2P7XXPWzcn3K4p/IIFqrxSkOpGJqQgQyEhi69HhZ6FVQ8UQIDnbhXXLvnHxrHFVhiWzpU59IXe1GR8jiSiGJAN54ALG59yUiVWJj X-Gm-Message-State: AOJu0YxQlCCNUZU+0vPz28y8YmxSt1hoZDUKq2NutpNVzrSt4vhs765U A7TR0kpPAJ9n1TXWg53JGfWvhmzcU/iFSR5bRJdY43Fg0tjpoMipcnUtN/aNXXw= X-Received: by 2002:aa7:c6d6:0:b0:560:64f4:cbd1 with SMTP id b22-20020aa7c6d6000000b0056064f4cbd1mr1132316eds.19.1707992558232; Thu, 15 Feb 2024 02:22:38 -0800 (PST) Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id em2-20020a056402364200b005639fbc1ff4sm405940edb.43.2024.02.15.02.22.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 02:22:37 -0800 (PST) Message-ID: <905dbef1-d03c-49ab-b79e-34f26b4f3a66@linaro.org> Date: Thu, 15 Feb 2024 11:22:36 +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 v2 3/3] PCI: qcom: properly implement RC shutdown/power up Content-Language: en-US To: Johan Hovold Cc: Bjorn Helgaas , Bjorn Andersson , Manivannan Sadhasivam , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Bjorn Andersson References: <20240212213216.GA1145794@bhelgaas> <27560098-ced3-4672-bc60-6c1b7c0dc807@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/UEAguj7VHCuymVgpl2Za17d1jj81YN5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24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15.02.2024 08:13, Johan Hovold wrote: > On Wed, Feb 14, 2024 at 10:33:19PM +0100, Konrad Dybcio wrote: >> On 12.02.2024 22:32, Bjorn Helgaas wrote: >>> "Properly" is a noise word that suggests "we're doing it right this >>> time" but doesn't hint at what actually makes this better. >>> >>> On Sat, Feb 10, 2024 at 06:10:07PM +0100, Konrad Dybcio wrote: >>>> Currently, we've only been minimizing the power draw while keeping the >>>> RC up at all times. This is suboptimal, as it draws a whole lot of power >>>> and prevents the SoC from power collapsing. >>> >>> Is "power collapse" a technical term specific to this device, or is >>> there some more common term that could be used? I assume the fact >>> that the RC remains powered precludes some lower power state of the >>> entire SoC? >> >> That's spot on, "power collapse" commonly refers to shutting down as many >> parts of the SoC as possible, in order to achieve miliwatt-order power draw. > > I'm pretty sure "power collapse" is a Qualcomm:ism so better to use > common terminology as Bjorn suggested, and maybe put the Qualcomm > wording in parenthesis or similar. Ok, I keep hearing it so much that I had previously assumed it's the standard way of describing it.. I'll reword this. Konrad