Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp282718lqs; Thu, 13 Jun 2024 09:52:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8EI8vQZjbfu2cXUAwMgIZUbziALicZ1b9QuiU4mL0fXub48duZ+kSjIf4bdkyhEMiwxFEHItq+dl2zBLRFRxKckx3AQG1t9feMT0T1g== X-Google-Smtp-Source: AGHT+IEQsm88REb02agrhoPO4FBeFYxe8SWRFx6GFGc65sqCswlen3m71mpjUuICyLd/JgNvPuXQ X-Received: by 2002:a17:903:985:b0:1f6:fdc5:6af5 with SMTP id d9443c01a7336-1f862b137c5mr2510045ad.68.1718297568719; Thu, 13 Jun 2024 09:52:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718297568; cv=pass; d=google.com; s=arc-20160816; b=IBieoPlbHanfooZedVCQGm3N/MAUtyBUbAbWM8sV0QDNYuOpbKw/saB2ZqAkcMAkcA UTo4wtW1+4m2oaWA99nGcWZ9RDNqZb0ajvOS8y7S+BodqSQIN2on/l+xIcUk1FojPlXl rbqb4F7vRPp8uoHiqPD5J8BdNoJNRiETOY7BKH2EdRzQi9ki9bG/WExxcqkRNqL7rVKX SZG02SxK5uNUxFJR5jEoTw+weuqcsnbXyBgN7gEl8eBFh2g/Hfgq4do39ZnPjhAazmWE +J2GOBKNNs1++h57WVykOFRcM04Om8lrV3et06+oYq+GLJKwkUWYzJRz6nEBsJyK+kpK M8oQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=kxEJzwYk7wS8Rif0r0yLXavFu9aRsVgwexXYqoAERWc=; fh=vDxacn6FKWofqfG0X5A1vlJVLVc9X4sCwvNeVsJa0pI=; b=vcq6er60Cy6oYkTnhi3NkVxOeJJYlwmhDD4u+nHELIV1rjMxtPbUcDzQs7Dvr/rUer jTfsxW101EyDD5fttYzUx0mhaHQuCB+8a/sSmZ4hjbHipRfp13HayaeifWGDcAQFm4KM dlorZFDeqjs27vpAP/L0MNs3ScfnXG56RaWTiGcXxOBP8bLLipichJ4TlLcZJIlSi8hZ jRdenrCwha+5+U2M0yaJMxytreB5qYiAEPegenHvrr1o+h+iV83fcEnYjD07JVl7Qvlr YS7xCK4PyQKWQUfJtNwCVSnNZkpQ9HPcWGL1yEfHDLJVjpUh20e1Z3GnRy+93trPJrjn 7B7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mWqAEkvd; 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-213688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213688-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. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f855ece8cbsi16425425ad.249.2024.06.13.09.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 09:52:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mWqAEkvd; 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-213688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213688-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 2E5ABB22568 for ; Thu, 13 Jun 2024 16:52:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29EE0149DEA; Thu, 13 Jun 2024 16:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mWqAEkvd" 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 E8104149C4D; Thu, 13 Jun 2024 16:52:09 +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=1718297531; cv=none; b=XEHAmIw7sVyvHqHqe25/kdvfCcTbwLhSUNkHh0TZzWfLMGi4wQ0FN0SuC5XpdCBZzD8h0MbDG/7JaKZgekt/sBeuAiMv9VlcVMHYZU+mpDFAdSl2ufB9V9LMC29fIwoB6QCTQ/tMO3ItPhg2me978T5X8kIjp4f2eFPChYfVXbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718297531; c=relaxed/simple; bh=3szXYqumfIH8sAhIjGmW4LtFVp0L+ts8Zdxj0HtKBmM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SirAHP0nyvMWN9CUCb5L6VO2xWSrqQk5Qyt5Sx26P5a15puBCJURsxrzNSmonCuk2bE1fjkQOEcK4Yg57fPzha/vjogOA4xoXgH5kN23MTU6CyagD+rpRbOcyA93ebcL7cb70IN+V/S73OuEf4Soy9h63u+hS/4mSRkKQR6paTY= 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=mWqAEkvd; 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 45D8pqPV017289; Thu, 13 Jun 2024 16:52:06 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= kxEJzwYk7wS8Rif0r0yLXavFu9aRsVgwexXYqoAERWc=; b=mWqAEkvdTH8iSvx8 d3gwsWXJ7VGWZtbbD1K/O/wFEbBzaHGQqJJTcPa+/ZzwS8x9lrEMi57e/dd0kDFM 0GWK9q9vVdr8wTOkA49XPZy2RZvtxiRqVDjmzIKqSAVsFCrzgpbtRf0TuI/xnLxb QNHi6kxfb6hZJmNvqjIzACQNgf2i2YHQYybB1gdpNCvTfQeFb0+Pcgd7JmPS4kdt NK3DcB6fu8rie6jN7OOJFDr3z/mi33lrejduiGy5+ddFyavzaMJ9TpfrSO3z52u1 emHV06vksxEtEASS0oL512Qq2lhv9J2SLvFer73dB2oPeqyvYZUMOGXiUKGoBuMT wldvtQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yptuy6ake-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 16:52:06 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45DGq5jR024869 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 16:52:05 GMT Received: from [10.131.33.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, 13 Jun 2024 09:52:00 -0700 Message-ID: Date: Thu, 13 Jun 2024 22:21:58 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 3/4] arm64: dts: qcom: x1e80100: Add BWMONs Content-Language: en-US To: Shivnandan Kumar , , , , , , CC: , , , , , , , References: <20240604011157.2358019-1-quic_sibis@quicinc.com> <20240604011157.2358019-4-quic_sibis@quicinc.com> From: Sibi Sankar In-Reply-To: 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-GUID: -PCezlkoOj47IvxEGs_i8VcTY2wMql0n X-Proofpoint-ORIG-GUID: -PCezlkoOj47IvxEGs_i8VcTY2wMql0n 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-13_11,2024-06-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 clxscore=1015 mlxlogscore=999 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406130121 On 6/6/24 14:39, Shivnandan Kumar wrote: > > > On 6/4/2024 6:41 AM, Sibi Sankar wrote: >> Add the CPU and LLCC BWMONs on X1E80100 SoCs. >> >> Signed-off-by: Sibi Sankar Hey Shiv, Thanks for taking time to review the series :) >> --- >>   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. > Will fix it in the next re-spin. -Sibi >> +                    opp-peak-kBps = <800000>; >>               reg = <0 0x25000000 0 0x200000>, ... [snip] ... > > > Thanks, > Shivnandan