Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp269180rdg; Tue, 10 Oct 2023 09:41:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIWEMntHhtYRF/mTb4S/P/WLQ65Gsdd5WbT/O/3Z/razVz+U3avWXOb6Is1VeTTTMDettM X-Received: by 2002:a05:6a20:9695:b0:159:f884:4d72 with SMTP id hp21-20020a056a20969500b00159f8844d72mr14559717pzc.42.1696956114430; Tue, 10 Oct 2023 09:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696956114; cv=none; d=google.com; s=arc-20160816; b=WPrFAvflEvS+fVa01heobK+yZcbdQzIKv2opjhQrsPCm42urMek5iSWGD3mUwubR9I ck6RPni4E962rSuH05X92EctjsHj/z4QGK9xFospXwn0FI1Hcfbg3xS3/mpQeFXdVcj3 3/a3hsLN1ZCEaSzJDqasukNiMDntXGk4dRLRvi59H5+Z7ByvbGHBahHsYGNoFTLOOMRp HlixtRd5fgrLyLTm6SIKdQwMYoHqnW8eCCmy2U29UlNHqsUV6CqRzzSIppWGRLcWR9Zq YgMRLxCup4Ak/jptwSW4ZmZRnPv2jpttEK5yGj9nZR0wiqgmD2SUyfaIn3mC9XBB4jui UJWA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7eXnEfxjvluj2ls7P91GLCGn8R1ORvibeOsisML1eFU=; fh=EIeIeaEB6TxZPri/lXq0XPNKyerTsGEN/wM4vmKVu2s=; b=v1r/qiliDNWb4ZtaEAxJzvBuXFAkH6IE3XfDfFHpWLwcDjvgkXMq1KyNH/TBdIcbgG ZSEKmC0IRcUQs66lvbt/elsGkAK3E08ejmvNm1DY+uJi/zSbU/4+63G35phaRhmQeUJg v/gd785PHOF7TLgd7S97df/d9h2c7pWGiuod0z86+XzaPA5BlQcHNXqvcPIcOb3ZEyNS mJwZj5yRjGLVATsy7eCooavWeEFd6gvvgKS/ERmAWXVArrkIG7jaTAC/afml75eoPVa1 Lf4Ez0UZOHcvu5abdPMBrWHwyfZLAFwlZXDX/LcIKf5RdFeBmoqJDSyOtSbEE5MHGtQG Okqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjdDDmyB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p30-20020a63741e000000b0056f8fdb4430si12297241pgc.893.2023.10.10.09.41.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 09:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjdDDmyB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 2F276806053D; Tue, 10 Oct 2023 09:41:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233799AbjJJQlo (ORCPT + 99 others); Tue, 10 Oct 2023 12:41:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232356AbjJJQln (ORCPT ); Tue, 10 Oct 2023 12:41:43 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E45449D for ; Tue, 10 Oct 2023 09:41:41 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bffd6c1460so70272061fa.3 for ; Tue, 10 Oct 2023 09:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696956100; x=1697560900; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7eXnEfxjvluj2ls7P91GLCGn8R1ORvibeOsisML1eFU=; b=NjdDDmyBTCjygBZJAU+NRwRzl3ex6HJG9YfrfrTpOYoShqxdPuZtOqtlmxin+mbOJ3 u4fFmpaTvK8xF11J3mTcfcw133QmdBBryJoDVYRZ8G6P5DWiLLpYwfu+2wp/DuybIxiQ YVLoGoQtW8eMQVJ4eTl/kizr1DnWqa9iLdWpwvQHw99Xxj2hOzFB+7H4C65pFmAS/4qo KnzQYJe2EJsybQQ/Y7Fk2d/oQmL0mD1PhQdx+1p4EXCIVTpTL2JMlJeCiWrZkkHApHzY sut2SG5fl20NC0Fg2fCHYZ9v1khyrylm95+ZifXftj3hYvddu5VIG4Dja0GyQfzribKb DdWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696956100; x=1697560900; h=content-transfer-encoding:in-reply-to: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=7eXnEfxjvluj2ls7P91GLCGn8R1ORvibeOsisML1eFU=; b=RoAFwkXd7QRFbxaAeHqxBXYonWjjxtua8WYUmTyS1AzPPJePnLz6Rwy9evWXwUctvp vP1CigWm3tpI7VymaGReKwawpxppzLvd4x5afywBCe6DH/qmFxg+6H+GXvk3Pr1sU/bX rRelcfneHZHVoVyih0MhJQEk17JcVsoUxcKn4yurCjZevnLHlDepTldOA+o/OQE31kJC Fwk4ZDv5k9PzrW62ORxRDLU2fyzagqMGrHhuERj8rYO6WQU/SlJRoIE6kfJ9UCJeQa6t 08v403dv/WEwdaD/od4PU+MVGqqKPUjG5uhqx9tASAdWU5V7G/g1yBgsbtY+V7lgcG4b NQeQ== X-Gm-Message-State: AOJu0YzNvs/wbDr/moctCpoQ8yTOQDZzckBUQHawg4uMdzfHe81AO6r4 qfBzNffqsdS9cFMPTkYREkHi1Q== X-Received: by 2002:ac2:5dd0:0:b0:506:926c:9b0d with SMTP id x16-20020ac25dd0000000b00506926c9b0dmr7597643lfq.20.1696956100067; Tue, 10 Oct 2023 09:41:40 -0700 (PDT) Received: from [172.30.204.182] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id y10-20020ac2420a000000b004fe2a7a2ee2sm1866668lfh.160.2023.10.10.09.41.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Oct 2023 09:41:39 -0700 (PDT) Message-ID: <855e5504-0571-4f8c-9644-21ceb40e1132@linaro.org> Date: Tue, 10 Oct 2023 18:41:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V1 3/4] ufs: ufs-qcom: Add per-cpu PM QoS vote support for ufs Content-Language: en-US To: Maramaina Naresh , Andy Gross , Bjorn Andersson , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "James E.J. Bottomley" , "Martin K. Petersen" Cc: Alim Akhtar , Avri Altman , Bart Van Assche , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_cang@quicinc.com, quic_nguyenb@quicinc.com References: <1696952947-18062-1-git-send-email-quic_mnaresh@quicinc.com> <1696952947-18062-4-git-send-email-quic_mnaresh@quicinc.com> From: Konrad Dybcio In-Reply-To: <1696952947-18062-4-git-send-email-quic_mnaresh@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 09:41:51 -0700 (PDT) On 10/10/23 17:49, Maramaina Naresh wrote: > PM QoS per-cpu framework provides performance requirements for each cpu. > > The per-cpu PM QoS framework will provide the corresponding interface to > collect the resume_latency request of the specified device and provide > it to the runtime PM. When suspending the device, it will consider this > requirement and decide whether to suspend the device. > > Voting will follow below sequence. > 1. Vote for maximum latency S32_MAX in driver init. > 2. Schedule a vote of PERF when a transfer request is received. > 3. Update the vote to S32_MAX during clock gating. > > Signed-off-by: Asutosh Das > Signed-off-by: Nitin Rawat > Signed-off-by: Naveen Kumar Goud Arepalli > Signed-off-by: Maramaina Naresh > --- Is this the same patch as 2/4? Konrad