Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp816457rdd; Tue, 9 Jan 2024 23:39:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbH1qV4nb9hxHWDDDUCgbT25xNcelQglkjYRyy/L0GOUeImEwDSb5awdjU5PuKZ4xi7Giu X-Received: by 2002:a9d:7dc1:0:b0:6d8:7c4e:d11a with SMTP id k1-20020a9d7dc1000000b006d87c4ed11amr365099otn.29.1704872347925; Tue, 09 Jan 2024 23:39:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704872347; cv=none; d=google.com; s=arc-20160816; b=or7zCrVtGDPu82HGUSDxxO4j3BxZhxATxK/GQZE4akKT3JiAPV0uY7lNk8vl8tVdHJ 4Yq+xf7c7gbdTsxRq4seO06zcvmRxyAmA78dBoMxZ2gK+ZFM5Oo0FV8gFLm9rxW4oJoR +t/ygq12oehMToHV6TsOB9h6BsVo7ZyGpyJN0mPmLmBdOdZ19YGsGfUbbOckRP5tTh0o 5IIhMPB8T28YAV8FaBS6T0QGJrqC7lqVtBNj5Lemz3KoiQt0f3DjFxkc3a4IiFCH93xa jia2EAfYGn9RpiOof2fhsxFNxv1s5Qq/gWf87aDqtSWElFfxR7FLaavnpuQ6mcbP+60g z+jA== 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=i425ufsZh8gIC4EBfEiOE+XzwKt6U3xEd+yozxFH/RE=; fh=Adi5oVEXJwOZHAZNdI8xxl336sFZsxHFsfO2/gFPmbo=; b=Kq4v+LvD1HkOQFa/xRzqR39A/CW5Thbc5N7qdu93aqJTVAE2qN/K8oo4bqbxEUVz+j jv5UGIDtYTwVXDNpS3pxrmnzt/y1ooTHqQxau/LQP8+sHQtFiOTKPqkASOT4but6huUi 9/5I07MjlAYJ2MB+aJ9g0b+H4B4rnclUa2D3QcQZVy9f67Fi0Q1lzK8LnRfij7bhLuGl LTAF4adMWtru4vZRlygU/WSVtEl8dx56mWrW7DRv2PfBXxw6DDonoNEVej7uMYS/sSYU 9AiUGFagZpV68lIx8z8Ma/GNuPveFeSXkJfDXsQoMR5AJ/1Xilx2CsyUpcXgDUhzEDE7 0Fqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVu9vGoo; spf=pass (google.com: domain of linux-kernel+bounces-21796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21796-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h8-20020a655188000000b005cdec41cb70si3065035pgq.35.2024.01.09.23.39.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 23:39:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVu9vGoo; spf=pass (google.com: domain of linux-kernel+bounces-21796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21796-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D527AB24A86 for ; Wed, 10 Jan 2024 07:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE6F53C46A; Wed, 10 Jan 2024 07:38:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HVu9vGoo" Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 9D78F3C47B for ; Wed, 10 Jan 2024 07:38:10 +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-pg1-f174.google.com with SMTP id 41be03b00d2f7-5c6bd3100fcso1586602a12.3 for ; Tue, 09 Jan 2024 23:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704872290; x=1705477090; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=i425ufsZh8gIC4EBfEiOE+XzwKt6U3xEd+yozxFH/RE=; b=HVu9vGoosoF9bE53T4yps36VAZK7f/+VRm3UKFtgke1cMXhiPSthcPnpYfVTs7IrpM HxrHZoF55fWViBKTGr80uwiFvOJdHqxmGDqRow97U0vtZNxDNzlLXCftVuiGtEwIa/zB oi5WS7KkHnis+cr8bXb9/DVVPDIG8odtsyC8yCrb1Ga7dZ7A+igeUK5RJwNCvyTOUlx/ c56ioCKr1feyrLdgL6Ppokq+UUC9hDmbjTXZLMb4+W+WcRYfOrps8j4A0q3u36lHU1jT 8FJFO39SGNGAl+Lu7htW3m6kcjQQTTSha/+BVuMxufli0x+QFezKRl5WnrYFNNeAgdC3 e2vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704872290; x=1705477090; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=i425ufsZh8gIC4EBfEiOE+XzwKt6U3xEd+yozxFH/RE=; b=RsMFPJnpf5WL+fsqgGwpJHIAB3ScTbnSlG2RWGPvnJhQefDfe4U4kW5IZAui5pHIBX H6KkpHuEFAMEg5/Pifjkkap+rrbCQuTLwPeiVs++wYIJrgrWVv9NALnYtD9Gmj74yzSS uvpa4mJokliROmKk9uxxpnh3/fj66o+aLKwyDPEScIJVBXrjCXJPPv+Fepni9EQ9zJR9 pCW+UkubLvnCPnGIxqnkaw9DH5FrcACf1YXoBa29dju4nf6XR9BmosOvtQbMdR/Zbevw 2JLnYBYdhdmpnl2X7EMRt48KjxBv+d00VWCTnphLEkOHX7s80RjDTzJnEqpHN8NyYGXP TzSw== X-Gm-Message-State: AOJu0YxmKjn6djAWkvEN0Ax+3q+PQlbhBDXMve0T7e1gLIn3rmj5i4ai x9lSSeU9kP46q2D6XNpih/OeNd6TF5XvSQ== X-Received: by 2002:a05:6a20:6697:b0:199:7fab:f7f6 with SMTP id o23-20020a056a20669700b001997fabf7f6mr359628pzh.41.1704872289901; Tue, 09 Jan 2024 23:38:09 -0800 (PST) Received: from localhost ([122.172.81.83]) by smtp.gmail.com with ESMTPSA id ga18-20020a17090b039200b0028d2521dc53sm786438pjb.46.2024.01.09.23.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 23:38:09 -0800 (PST) Date: Wed, 10 Jan 2024 13:08:07 +0530 From: Viresh Kumar To: Krishna Chaitanya Chundru Cc: Bjorn Helgaas , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, mani@kernel.org, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, rafael@kernel.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, quic_vbadigan@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_ramkri@quicinc.com, quic_parass@quicinc.com Subject: Re: [PATCH v5 5/5] PCI: qcom: Add OPP support to scale performance state of power domain Message-ID: <20240110073807.sqwmsyr6nmigg6zc@vireshk-i7> References: <20231102053013.7yt7pxin5awlu7w7@vireshk-i7> <20231102120950.GA115288@bhelgaas> <20231103051247.u4cnckzstcvs4lf5@vireshk-i7> <15a98ec0-214b-218b-1e3c-c09f770fce2e@quicinc.com> <0ba9f2af-169e-a9a2-9ae4-4c6a70b0a94e@quicinc.com> <20240110065757.xde2nvpr3z7c4isu@vireshk-i7> <376b3716-46ff-2324-73fc-f3afa3f7af1c@quicinc.com> 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: <376b3716-46ff-2324-73fc-f3afa3f7af1c@quicinc.com> On 10-01-24, 12:42, Krishna Chaitanya Chundru wrote: > At present we are not changing the link width after link is initialized, but > we have plans to > > add support change link width dynamically at runtime. Hmm okay. > So, I think it is better to have ICC BW voting in the driver itself. I guess it is better to have more entries in the OPP table then.. 15-20 OPPs isn't too many to be honest. Replicating code is the last thing I would like to do. Maybe you can show the different layouts of the OPP table if you are concerned. We can then see if it is getting too much or not. -- viresh