Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp999548rdb; Tue, 30 Jan 2024 05:17:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPSUp2TJWDTgdh2JCcfcFcHUVaaZ06GI5CeRANz7D6c5BtE1UsZY6ivSHkkBJyVtjNNGsD X-Received: by 2002:a05:622a:14c8:b0:42a:5ece:2efb with SMTP id u8-20020a05622a14c800b0042a5ece2efbmr9168252qtx.105.1706620656343; Tue, 30 Jan 2024 05:17:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706620656; cv=pass; d=google.com; s=arc-20160816; b=B0NwWF/s5OAgeU52i5990NyXNB1QUGteA7orWGjJ+apQYOG370ueXF4aqjmMrZsM6T TK7PrZdZEHU1S+jyBq620GyDE+quD2XsTAD4ffK7Ws3GB5HpsXtxEuW2lgcRKFr1yL8v XmsdV9oNq0/2utP8wwRXJthqMgfeqHaxTxncjuPwyHNYPiGk0FPiIBXwNDE8uAqaD8Ew f5vAWFWfB1M+CcXBKqMlKwJ5C7lbJhBS3mU4h7JbgSON8OfPhpZieJzSB698TBauKWON wp6M44ADKMGJbBAn6J3V9nTiNHbyfbFilrG3q4LpIvkNjHcq/zbB8s39KNzJQMBFha3o NV4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J0CmzV4SQt137jEqJAiorNjfhRorGwSpKOFMB0QYhC4=; fh=SXgqIqPTSPiIhtC4D5kFI37AhT+33BHmHLnCgDVFbrE=; b=Vgsqnt/Uquw/xeRsZtch3YXZB+9FkjZbDn7soGurjBHR7dB50IX2Ow9KPJFRsJNbEQ hPRg7vv9gfm1u3V30/KuFuhSSQTy4nPg0ZEB9JaJcJLgV+GMKcofN7nrlwsb5inQKM/i riNkwaLx0hIMXRuX1JWoW5hDunGwD+hM4DR8J4FXj0e1E8GmOIx1rbnrf4td2DuH4/4S q6PvCSlLjjkIj6z4Uw7HgbrPKzb8d5NawFYRu7OMMFu/pYt1nYQRiHCOjdcnM/lZaY0E t6RM9P4AhjEvk8rJfWUesNH6TdXbvNCaKt4cvwuVpU92gBruYdrnfkfKNDd1+ZxphUqt Aorg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rU5q95vO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l14-20020a05622a050e00b0042a270bcddcsi9892054qtx.260.2024.01.30.05.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 05:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44690-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=@kernel.org header.s=k20201202 header.b=rU5q95vO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44690-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E13991C25E93 for ; Tue, 30 Jan 2024 13:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38E0E6BB4C; Tue, 30 Jan 2024 13:16:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rU5q95vO" 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 56B606A34B; Tue, 30 Jan 2024 13:16:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706620598; cv=none; b=cBXqHgi3w8fkRaSxh9ysevJz0mflmhqv2TMABPHhKUwXY5hJpquwaWvXYs0pbOJNEo/9cpGJzVuUeMvyGlXFxsHqWMfOMT9pz3dejIhSgnelJTgfBsqztN+7GnX7kxB79++I4RIz8M0/P9cyD67xtkiQ/Dm8qyHtgcLF/2HrKTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706620598; c=relaxed/simple; bh=v489qvkgYg0wbgSdIMBu2Bfp4yEzx5Cxzf30sjZ8BqQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jKNPjCPv1zQwFtJOfuaaW6ystsS51pEF0Ks5ElmCxaTdcnowZbMZcgMhdD7/unCgSXsdyw+WSOfccXMukHfLY/eo8OQGZuylkvF2WbEoxr6SFsV+LMuWtb2idCSPgvQivtSWOrHk+jKcHm+3x3CuvQHDRW5cGU3fF0gSTwHlk7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rU5q95vO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17FDCC433C7; Tue, 30 Jan 2024 13:16:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706620597; bh=v489qvkgYg0wbgSdIMBu2Bfp4yEzx5Cxzf30sjZ8BqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rU5q95vOkv05SN8BwXNBW8vlDKa37YodUmFyb78ag5MwtIzrQUaxEZQ09x2ztsqDr slw63v/+K4BR24NBZ9O0eYd5cvKxJgmVwpf3A9ROebbQb3ydOx0J8Z7Zekhj/yeQS2 HF+SwApnW2cw7nvhh5p5n8feTR67Jd3YqrpKZfN0SR+fna9I7s+Z8Y9/LYBhkCGLt0 xRFE2I8R4CntHeH03iKl2S+uZxswQD8rXCk+l7Un8AlLD0HPLmJa8x/MDOjW457neu x4AX2LxJQBNf2KgUICUZ23WMIcU4+rF5zSjkNNjVtptUj7VcmDRl5K5YERHo2IIReq btUbSfulr7/MQ== Date: Tue, 30 Jan 2024 18:46:25 +0530 From: Manivannan Sadhasivam To: Viresh Kumar Cc: Manivannan Sadhasivam , Krishna chaitanya chundru , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Herring , Johan Hovold , Brian Masney , Georgi Djakov , linux-arm-msm@vger.kernel.org, vireshk@kernel.org, quic_vbadigan@quicinc.com, quic_skananth@quicinc.com, quic_nitegupt@quicinc.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 5/6] arm64: dts: qcom: sm8450: Add opp table support to PCIe Message-ID: <20240130131625.GA2554@thinkpad> References: <20240112-opp_support-v6-0-77bbf7d0cc37@quicinc.com> <20240112-opp_support-v6-5-77bbf7d0cc37@quicinc.com> <20240129160420.GA27739@thinkpad> <20240130061111.eeo2fzaltpbh35sj@vireshk-i7> <20240130071449.GG32821@thinkpad> <20240130083619.lqbj47fl7aa5j3k5@vireshk-i7> <20240130094804.GD83288@thinkpad> <20240130095508.zgufudflizrpxqhy@vireshk-i7> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240130095508.zgufudflizrpxqhy@vireshk-i7> On Tue, Jan 30, 2024 at 03:25:08PM +0530, Viresh Kumar wrote: > On 30-01-24, 15:18, Manivannan Sadhasivam wrote: > > So you are saying that the ICC core itself should get the bw values from DT > > instead of hardcoding in the driver? If so, I'd like to get the opinion from > > Georgi/Bjorn. > > Not really. The drivers or the ICC core doesn't need to do anything I > guess. Since the values are coming via the OPP, we must just use it to > hide all these details. > > Why is the ICC core required to get into this here ? ICC core should > be ready to get the information from DT (may or may not via the OPP > core), or from driver. > Agree. But what I'm saying is, right now there is no DT property in the interconnect consumer nodes to specificy the bw requirements. This is all hardcoded in the respective ICC consumer drivers. But when we use OPP to control bw, the bw requirements come from DT. This is what I see as a difference. Because, only nodes making use of OPP will specify bw in DT and other nodes making use of just ICC will not. Maybe I'm worrying too much about these details... But it looks like inconsistency to me. - Mani -- மணிவண்ணன் சதாசிவம்