Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp258060lqt; Thu, 6 Jun 2024 02:42:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmJ/A4dJQ4+9jq3Aciyby2JS9y+l8Gvk9ga7qB6Z4pPY4vJR7VA18RnoLz6JGwzV1BpoUx/8l2QF2mt+MZ2LVB+iPPsh0jPwYbLUD9Qg== X-Google-Smtp-Source: AGHT+IEGgq0PCWqJlgx9op5yzli1xf4eq+Fm5JhEqq2uvkr4Cv9u/YeDhBnqvG7YHZdCPUu+x0+k X-Received: by 2002:a17:902:f548:b0:1f6:7e5f:5a51 with SMTP id d9443c01a7336-1f6a5a1394fmr61107935ad.36.1717666929069; Thu, 06 Jun 2024 02:42:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717666929; cv=pass; d=google.com; s=arc-20160816; b=W8rczUDgfCCQsFSjsRztkOUihSdnIwQE2N0bFNB9uA9hEpR9qziKMP6nPwRj2GYNP7 uzhX/vdDqwVcDFPvqy5SHZValX71V6ud84X8u6sDA/1enwc+YOouuubnh9oBbsiiL8Bq vhTZaHCDv0fWgtmqQSQN6YM69BVv5wq1ICSnzZGJXyxFajuznA8BzTpLkjfwL579Iw/o kATf8RYnnhytct+Tx40V+gr4fIghJselctkkM27dai8Pnt3h9nLA4jg3SjnkZj7tHudN 7r5Of4IeX6tjPmmZs6gFg8LP2YPu0KTScI85jRBBWiv+H1YNyWEZOgFlvEOkNTiKnT06 TTxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zsBeWenux3zM5BvoDcuWn2gC94RPHDwvuvLCikPbdsY=; fh=0Xy+ZK4g8tjyfvbJqJR+UFDgfsKnTy84VcnnzAdwotY=; b=B33RjET4jc8f4je7h88GrT2nionbX70hZQDTGyZFySzjJ7F8fEvSCpBXV8OJCbC8MG CwOI2UB+3RhACiLF8xUo7Qm3JJJExVODTJMyrVineEU8gz1FvfYPTxT14HQ6MBUwGIug 0CLMCeshd4hEhjFtgND3oOHdXCTLwecjqQJHLRvqDy28dvBAd2noH2jldX5q+v9wzK7+ nHYNhqG9SN6fZd/gd/qRe4DnQw02uP+pYrQAGOfAQT3aQraijfpFrIguo8b7+R3q2XoA 3q9wjZ3lVg9g2ZqHNpOW1ljSqWJ1yAyRTXDoqRkJOKWl3gPA9ydJe545f1Q4GOTLjxXc hWRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GLEjZbbp; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-203957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd8339c2si8572365ad.636.2024.06.06.02.42.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203957-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=@quicinc.com header.s=qcppdkim1 header.b=GLEjZbbp; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-203957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ED833B2D52B for ; Thu, 6 Jun 2024 09:16:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22DF214F126; Thu, 6 Jun 2024 09:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="GLEjZbbp" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 8DBD36D1B9; Thu, 6 Jun 2024 09:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665034; cv=none; b=nWKgzcxvFB+gRqW2jzBqxqF6R+OKyS4LIWQCf2tUQpoNRUhT9ItezIIjyZzQ8kHjoocrGWEmkoRDboYvf7v9v4C898pGu+y4vwuSMa6lwYszganN+RGS4Nr1a900quviHYlXx9rqXLsit9jWgduzhpw/Dh5ReTe+rySM8RmpRI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665034; c=relaxed/simple; bh=EtGIx90prizG+AnE+pFraDLV268gRS80lT4+w+aqaZo=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=q3p26rtqxSIdhOCxgcJzuk+pzXGxjWCMiKmdX2HNY1Yl9p11+IoKAbmTzA4YS3tZgPdVkorqRvtXcBxZToy1AMsurdAfBkHd+FfFwi6MYtjONrPmro6vdSeepWSbc9N5A8tnuVWimnIZPqmhj9Y+u8uQbcwhDVmF5uzL5kRuAWU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=GLEjZbbp; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 455KIBiS004162; Thu, 6 Jun 2024 09:10:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= zsBeWenux3zM5BvoDcuWn2gC94RPHDwvuvLCikPbdsY=; b=GLEjZbbpMY6av01w XDxtPr5aOkXg59+kr0F4JyYqZ/PGu9tgH5e+u3GvMz7QKkDTiNKaK3B5U1MjHBm/ boStCUGknYtFuWDYvQthlIjwcjZQf993vum9Rforj2hL2ohDMovtHaCSrCem1XAP xmSsVHIKe76uKIKadBkWYKinD0cI7zQhBu3yTKckd/aBQlKlWkp4RLaBDOQ+c8Ht NKATM3bhsBePxpD4nQpT7C6jOJ55K9kAOUs3qsxBtXsVpAgvOpUwGKTHMT0/U08d Juxkvvg3BTfqtbMW1L+9QiJtR7I4nYBsmsNAhsPOteMpqA09Eiv7lfFUjHaGg+yk yabyLQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjxxas99h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 09:10:29 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4569ACcj031595 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 09:10:12 GMT Received: from [10.214.67.37] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 02:10:08 -0700 Message-ID: Date: Thu, 6 Jun 2024 14:39:52 +0530 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 3/4] arm64: dts: qcom: x1e80100: Add BWMONs To: Sibi Sankar , , , , , , CC: , , , , , , , References: <20240604011157.2358019-1-quic_sibis@quicinc.com> <20240604011157.2358019-4-quic_sibis@quicinc.com> Content-Language: en-US From: Shivnandan Kumar In-Reply-To: <20240604011157.2358019-4-quic_sibis@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: GntE29tcrGe8qrZnNCwTRtwg1-kSzRFh X-Proofpoint-GUID: GntE29tcrGe8qrZnNCwTRtwg1-kSzRFh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=900 adultscore=0 priorityscore=1501 spamscore=0 malwarescore=0 mlxscore=0 bulkscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1011 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060067 On 6/4/2024 6:41 AM, Sibi Sankar wrote: > Add the CPU and LLCC BWMONs on X1E80100 SoCs. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 169 +++++++++++++++++++++++++ > 1 file changed, 169 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index 1929c34ae70a..d86c4d3be126 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -5329,6 +5329,175 @@ cpu_scp_lpri1: scp-sram-section@200 { > }; > }; > > + pmu@24091000 { > + compatible = "qcom,x1e80100-llcc-bwmon", "qcom,sc7280-llcc-bwmon"; > + reg = <0 0x24091000 0 0x1000>; > + > + interrupts = ; > + > + interconnects = <&mc_virt MASTER_LLCC 3 &mc_virt SLAVE_EBI1 3>; > + > + operating-points-v2 = <&llcc_bwmon_opp_table>; > + > + llcc_bwmon_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-0 { Nitpick,In one table, we start from ‘opp-0,’ while in the other table, it begins with ‘opp-1,it is better to make it consistent across table. > + opp-peak-kBps = <800000>; > + }; > + > + opp-1 { > + opp-peak-kBps = <2188000>; > + }; > + > + opp-2 { > + opp-peak-kBps = <3072000>; > + }; > + > + opp-3 { > + opp-peak-kBps = <6220800>; > + }; > + > + opp-4 { > + opp-peak-kBps = <6835200>; > + }; > + > + opp-5 { > + opp-peak-kBps = <8371200>; > + }; > + > + opp-6 { > + opp-peak-kBps = <10944000>; > + }; > + > + opp-7 { > + opp-peak-kBps = <12748800>; > + }; > + > + opp-8 { > + opp-peak-kBps = <14745600>; > + }; > + > + opp-9 { > + opp-peak-kBps = <16896000>; > + }; > + }; > + }; > + > + pmu@240b3400 { > + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; > + reg = <0 0x240b3400 0 0x600>; > + > + interrupts = ; > + > + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; > + operating-points-v2 = <&cpu0_bwmon_opp_table>; > + > + cpu0_bwmon_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-1 { > + opp-peak-kBps = <4800000>; > + }; > + > + opp-2 { > + opp-peak-kBps = <7464000>; > + }; > + > + opp-3 { > + opp-peak-kBps = <9600000>; > + }; > + > + opp-4 { > + opp-peak-kBps = <12896000>; > + }; > + > + opp-5 { > + opp-peak-kBps = <14928000>; > + }; > + > + opp-6 { > + opp-peak-kBps = <17064000>; > + }; > + }; > + }; > + > + pmu@240b5400 { > + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; > + reg = <0 0x240b5400 0 0x600>; > + > + interrupts = ; > + > + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; > + operating-points-v2 = <&cpu8_bwmon_opp_table>; > + > + cpu8_bwmon_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-1 { > + opp-peak-kBps = <4800000>; > + }; > + > + opp-2 { > + opp-peak-kBps = <7464000>; > + }; > + > + opp-3 { > + opp-peak-kBps = <9600000>; > + }; > + > + opp-4 { > + opp-peak-kBps = <12896000>; > + }; > + > + opp-5 { > + opp-peak-kBps = <14928000>; > + }; > + > + opp-6 { > + opp-peak-kBps = <17064000>; > + }; > + }; > + }; > + > + pmu@240b6400 { > + compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon"; > + reg = <0 0x240b6400 0 0x600>; > + > + interrupts = ; > + > + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>; > + operating-points-v2 = <&cpu4_bwmon_opp_table>; > + > + cpu4_bwmon_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-1 { > + opp-peak-kBps = <4800000>; > + }; > + > + opp-2 { > + opp-peak-kBps = <7464000>; > + }; > + > + opp-3 { > + opp-peak-kBps = <9600000>; > + }; > + > + opp-4 { > + opp-peak-kBps = <12896000>; > + }; > + > + opp-5 { > + opp-peak-kBps = <14928000>; > + }; > + > + opp-6 { > + opp-peak-kBps = <17064000>; > + }; > + }; > + }; > + > system-cache-controller@25000000 { > compatible = "qcom,x1e80100-llcc"; > reg = <0 0x25000000 0 0x200000>, Thanks, Shivnandan