From patchwork Thu Sep 1 12:47:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 12962416 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EDFFC0502C for ; Thu, 1 Sep 2022 12:48:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233384AbiIAMsm (ORCPT ); Thu, 1 Sep 2022 08:48:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233301AbiIAMsl (ORCPT ); Thu, 1 Sep 2022 08:48:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 709265F121; Thu, 1 Sep 2022 05:48:37 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2819xs8G014440; Thu, 1 Sep 2022 12:48:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=nxV6iAZ2I8a9AIpEpUT8XDfbJrhFBMWEyWw67dSAMTc=; b=ASeuwYtle6y4roOaB1j/4s5ojVguMPhP0qWvceLI84Tw/qYEhj4G+lwY5Fjs0Mz0r2/d kOe/x9GNnPrF2Lgu7EU6eIMooJvFsZZSRKwcg82T2AkrYU+F40ItazuSN4d/ZMcNHrh7 M8NfZCCZk5bj+d4tZ7Xm0LpOKIvkdHhVIlklspeTe8UJ4VmCC00qkxpei6O09WvxTANp H4eFasWY/Ve8HfhYDYOQJSJ6YKEVnHVBA8n8iEpca8cmzofBRkmb33Rc7AdBHHwpfMnG de2fR5QnGmxf9P/kwcke9Cnv6bGl6mdvRpxseXzD2YfI5kqS4vbt/ggEM+QOdPQgXcMH hw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jaeb4tfd7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Sep 2022 12:48:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 281CmUX3025499 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Sep 2022 12:48:30 GMT Received: from blr-ubuntu-173.qualcomm.com (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.986.29; Thu, 1 Sep 2022 05:48:27 -0700 From: Rajendra Nayak To: , , , , CC: , , , Rajendra Nayak Subject: [PATCH 0/4] soc: qcom: icc-bwmon: Add support for llcc and cpu bwmon on sc7280 Date: Thu, 1 Sep 2022 18:17:26 +0530 Message-ID: <20220901124730.19460-1-quic_rjendra@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] 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: -A0CECDwVdhw0Mn2i3081ny43gGWiLws X-Proofpoint-ORIG-GUID: -A0CECDwVdhw0Mn2i3081ny43gGWiLws X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-09-01_08,2022-08-31_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxlogscore=789 impostorscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 malwarescore=0 clxscore=1011 phishscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209010058 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patchset adds support for cpu bwmon (bwmon4) and llcc bwmon (bwmon5) found on sc7280 SoC. Patchset is based on top of series [1] that adds support for llcc bwmon on sdm845 [1] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=663695&state=* Rajendra Nayak (4): dt-bindings: interconnect: qcom,msm8998-bwmon: Add support for sc7280 BWMONs soc: qcom: icc-bwmon: add support for sc7280 LLCC BWMON soc: qcom: icc-bwmon: force clear counter/irq registers arm64: dts: qcom: sc7280: Add cpu and llcc BWMON .../interconnect/qcom,msm8998-bwmon.yaml | 2 + arch/arm64/boot/dts/qcom/sc7280.dtsi | 76 +++++++++++++++++++ drivers/soc/qcom/icc-bwmon.c | 21 +++++ 3 files changed, 99 insertions(+)