Message ID | 1700533494-19276-8-git-send-email-quic_taozha@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp354519vqb; Mon, 20 Nov 2023 18:27:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtAUTFxGr9qVtw8e6QkYWOGCplUCid8qiM2KgADym6uWepbG2RWk4xhq8PTK6lmrnRtsUK X-Received: by 2002:a05:6358:91a0:b0:16b:631e:5021 with SMTP id j32-20020a05635891a000b0016b631e5021mr11208992rwa.7.1700533647835; Mon, 20 Nov 2023 18:27:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700533647; cv=none; d=google.com; s=arc-20160816; b=op+q+VWWZUv9SMOLEtJ1ci1EDpjL7QxyGezF2hg+4mP2qXpddtO+46AUizR93qdPP4 tG6wXLJs5k1DRf8mRs5+t4IDsVJwCiROQ2hceBFQZKPu8mYlAs+IaPBwBTHx9gcuCLAL AmtmBFRAIkTxSHdTCB5v6PfxYbNtUWUvIY704bU4e+8Ed/Hiu9OHQ/7liFqy/tlUhJFF EiEGPNweiQLc7mnpAKMwnbZRse08TeYMXGxs2hK4NWttWxBgrZI+teClnAfcj/O+Gd4S zPWCXAK6vMKPa4G+9+yuFCyEqjRNS7exeB9O2tFHzaEC8Kn4bhywr8WWo/HLLB9F9KpL ihuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=39zYZVWHKjCqVtFqA560XQ5daKdnAU7exjkrbIy5ykA=; fh=eSQnxfYZD66NgboVDB7L9mVH46SSiFzLE3y556oFJtg=; b=blh4Ya5v384dg0LzQh461x4rxP8BKQVV6aB4oeuLW10L03KDbx7zhuEVKPk9R0Ocme q53ZeEEJSR5TMrySUPHTaFcDpHxubpgp3pueglo5VdIMmVF7xbn+yjKHNBvnP9SzmHko ZYURAgY6Eb3rjxJzaMOgIm976SwHl0QHqNZ9mzCVRwa7LfsGz6X9qbsI3GdXtJQXBvrb lY4GhKdkZXzXKKHLPVxqRvyFQ6+tklESq9Md93QG1xQxGahggVyUTpHDGNESo389XIeI 7fnGFF9/ijv/m1XxMoLGDWibvykixBrEyfSNFtnaSZY4XYRiZCMp3FuZ3GGq4nbyVF8b tA5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=U0ef+60g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n186-20020a6327c3000000b005a0018ec785si9274517pgn.375.2023.11.20.18.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 18:27:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=U0ef+60g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3EAD680B87DB; Mon, 20 Nov 2023 18:27:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233491AbjKUC0e (ORCPT <rfc822;heyuhang3455@gmail.com> + 27 others); Mon, 20 Nov 2023 21:26:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233311AbjKUC0Q (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Nov 2023 21:26:16 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C69AA; Mon, 20 Nov 2023 18:26:06 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL1bLp9031829; Tue, 21 Nov 2023 02:25:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=39zYZVWHKjCqVtFqA560XQ5daKdnAU7exjkrbIy5ykA=; b=U0ef+60g86D9Fv0krlgifQOTAPbMnaMttgoqSFAZsJsSvRgPFsjGnGl7dpzb+4fxlc3l s6W+3GK9rVj/zOoWyOITzf9rOmi9cMbd25T/EC6FhipJG6QFIh+O3Tn1n+FEPJ/KUdTI JUsDYmzyAnNsuyn9p2K88/VTrZ3/HtBlVJ50x0tkPrBdpRHoWiXRiKxIqqSi2rnlwG4X LYhjOvgxFcfIyqHwLLkArohqRqgQY1+hjb77QLBuWgIv7LIOwtGnI7icyIbGK8GKvyWr XRSvmhAHl1hVqhT+08MPRt8PDhTgGJ16JI+hLYpfxT9bfkQjLMHIvh1FlsPScCSDog62 9g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug0ey2td0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:56 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AL2PtEc009722 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:55 GMT Received: from taozha-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 20 Nov 2023 18:25:50 -0800 From: Tao Zhang <quic_taozha@quicinc.com> To: Mathieu Poirier <mathieu.poirier@linaro.org>, Suzuki K Poulose <suzuki.poulose@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Konrad Dybcio <konradybcio@gmail.com>, Mike Leach <mike.leach@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> CC: Tao Zhang <quic_taozha@quicinc.com>, Jinlong Mao <quic_jinlmao@quicinc.com>, Leo Yan <leo.yan@linaro.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, <coresight@lists.linaro.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Tingwei Zhang <quic_tingweiz@quicinc.com>, Yuanfang Zhang <quic_yuanfang@quicinc.com>, Trilok Soni <quic_tsoni@quicinc.com>, Song Chai <quic_songchai@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <andersson@kernel.org> Subject: [PATCH v3 7/8] dt-bindings: arm: Add support for TPDM CMB MSR register Date: Tue, 21 Nov 2023 10:24:53 +0800 Message-ID: <1700533494-19276-8-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1700533494-19276-1-git-send-email-quic_taozha@quicinc.com> References: <1700533494-19276-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: PqhtpifRjZnHa-kxbSLHxj7sMEaPNlDC X-Proofpoint-ORIG-GUID: PqhtpifRjZnHa-kxbSLHxj7sMEaPNlDC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 adultscore=0 mlxlogscore=982 priorityscore=1501 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 spamscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210015 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 18:27:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783138769940261067 X-GMAIL-MSGID: 1783138769940261067 |
Series |
[v3,1/8] dt-bindings: arm: Add support for CMB element size
|
|
Commit Message
Tao Zhang
Nov. 21, 2023, 2:24 a.m. UTC
Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) for TPDM. It specifies the number of CMB MSR registers supported by the TDPM. Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> --- .../devicetree/bindings/arm/qcom,coresight-tpdm.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On 21/11/2023 03:24, Tao Zhang wrote: > Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) > for TPDM. It specifies the number of CMB MSR registers supported by > the TDPM. > > Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> > Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> > --- I prefer not to take any new Qualcomm Coresight bindings or Qualcomm SoC DTS nodes with Coresight till we fix all existing warnings. I don't know how to fix them, so I need help with them. No such fixing happened so far from Qcom, so pushback is my only way to get any attention. I already commented on this in other email thread. Best regards, Krzysztof
Tao Zhang, On 21/11/2023 07:24, Krzysztof Kozlowski wrote: > On 21/11/2023 03:24, Tao Zhang wrote: >> Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) >> for TPDM. It specifies the number of CMB MSR registers supported by >> the TDPM. >> >> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> >> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >> --- > > I prefer not to take any new Qualcomm Coresight bindings or Qualcomm SoC > DTS nodes with Coresight till we fix all existing warnings. I don't know > how to fix them, so I need help with them. No such fixing happened so > far from Qcom, so pushback is my only way to get any attention. > > I already commented on this in other email thread. Are you addressing this ? Suzuki > > Best regards, > Krzysztof >
On 12/18/2023 6:47 PM, Suzuki K Poulose wrote: > Tao Zhang, > > On 21/11/2023 07:24, Krzysztof Kozlowski wrote: >> On 21/11/2023 03:24, Tao Zhang wrote: >>> Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) >>> for TPDM. It specifies the number of CMB MSR registers supported by >>> the TDPM. >>> >>> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> >>> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >>> --- >> >> I prefer not to take any new Qualcomm Coresight bindings or Qualcomm SoC >> DTS nodes with Coresight till we fix all existing warnings. I don't know >> how to fix them, so I need help with them. No such fixing happened so >> far from Qcom, so pushback is my only way to get any attention. >> >> I already commented on this in other email thread. > > Are you addressing this ? The DT warning is fixed in https://lore.kernel.org/linux-arm-msm/20231210072633.4243-1-quic_jinlmao@quicinc.com/. It's applied to linux-arm-msm yesterday. > > Suzuki > >> >> Best regards, >> Krzysztof >> >
Hi Tingwei Zhang On 18/12/2023 11:23, Tingwei Zhang wrote: > On 12/18/2023 6:47 PM, Suzuki K Poulose wrote: >> Tao Zhang, >> >> On 21/11/2023 07:24, Krzysztof Kozlowski wrote: >>> On 21/11/2023 03:24, Tao Zhang wrote: >>>> Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) >>>> for TPDM. It specifies the number of CMB MSR registers supported by >>>> the TDPM. >>>> >>>> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> >>>> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >>>> --- >>> >>> I prefer not to take any new Qualcomm Coresight bindings or Qualcomm SoC >>> DTS nodes with Coresight till we fix all existing warnings. I don't know >>> how to fix them, so I need help with them. No such fixing happened so >>> far from Qcom, so pushback is my only way to get any attention. >>> >>> I already commented on this in other email thread. >> >> Are you addressing this ? > The DT warning is fixed in > https://lore.kernel.org/linux-arm-msm/20231210072633.4243-1-quic_jinlmao@quicinc.com/. > It's applied to linux-arm-msm yesterday. How are you supporting remote-etm ? We haven't merged the support for it in drivers ? We haven't even reviewed the remote-etm support patches ? Why weren't the coresight maintainers Cc ed on the "new" binding support ? Suzuki >> >> Suzuki >> >>> >>> Best regards, >>> Krzysztof >>> >> >
On 12/18/2023 7:56 PM, Suzuki K Poulose wrote: > Hi Tingwei Zhang > > On 18/12/2023 11:23, Tingwei Zhang wrote: >> On 12/18/2023 6:47 PM, Suzuki K Poulose wrote: >>> Tao Zhang, >>> >>> On 21/11/2023 07:24, Krzysztof Kozlowski wrote: >>>> On 21/11/2023 03:24, Tao Zhang wrote: >>>>> Add property "qcom,cmb_msr_num" to support CMB MSR(mux select >>>>> register) >>>>> for TPDM. It specifies the number of CMB MSR registers supported by >>>>> the TDPM. >>>>> >>>>> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> >>>>> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >>>>> --- >>>> >>>> I prefer not to take any new Qualcomm Coresight bindings or Qualcomm >>>> SoC >>>> DTS nodes with Coresight till we fix all existing warnings. I don't >>>> know >>>> how to fix them, so I need help with them. No such fixing happened so >>>> far from Qcom, so pushback is my only way to get any attention. >>>> >>>> I already commented on this in other email thread. >>> >>> Are you addressing this ? >> The DT warning is fixed in >> https://lore.kernel.org/linux-arm-msm/20231210072633.4243-1-quic_jinlmao@quicinc.com/. >> It's applied to linux-arm-msm yesterday. > > How are you supporting remote-etm ? We haven't merged the support for it > in drivers ? We haven't even reviewed the remote-etm support patches ? > Why weren't the coresight maintainers Cc ed on the "new" binding support ? > > Suzuki > > Hi Suzuki, Sorry for missing coresight maintainers in the remote-etm binding patch. From the comments, we can add binding for the connected hardware first. https://lkml.org/lkml/2023/11/30/539 Thanks Jinlong Mao > >>> >>> Suzuki >>> >>>> >>>> Best regards, >>>> Krzysztof >>>> >>> >> >
On 12/18/2023 8:17 PM, Jinlong Mao wrote: > > > On 12/18/2023 7:56 PM, Suzuki K Poulose wrote: >> Hi Tingwei Zhang >> >> On 18/12/2023 11:23, Tingwei Zhang wrote: >>> On 12/18/2023 6:47 PM, Suzuki K Poulose wrote: >>>> Tao Zhang, >>>> >>>> On 21/11/2023 07:24, Krzysztof Kozlowski wrote: >>>>> On 21/11/2023 03:24, Tao Zhang wrote: >>>>>> Add property "qcom,cmb_msr_num" to support CMB MSR(mux select >>>>>> register) >>>>>> for TPDM. It specifies the number of CMB MSR registers supported by >>>>>> the TDPM. >>>>>> >>>>>> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com> >>>>>> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >>>>>> --- >>>>> >>>>> I prefer not to take any new Qualcomm Coresight bindings or >>>>> Qualcomm SoC >>>>> DTS nodes with Coresight till we fix all existing warnings. I don't >>>>> know >>>>> how to fix them, so I need help with them. No such fixing happened so >>>>> far from Qcom, so pushback is my only way to get any attention. >>>>> >>>>> I already commented on this in other email thread. >>>> >>>> Are you addressing this ? >>> The DT warning is fixed in >>> https://lore.kernel.org/linux-arm-msm/20231210072633.4243-1-quic_jinlmao@quicinc.com/. >>> It's applied to linux-arm-msm yesterday. >> >> How are you supporting remote-etm ? We haven't merged the support for >> it in drivers ? We haven't even reviewed the remote-etm support >> patches ? Why weren't the coresight maintainers Cc ed on the "new" >> binding support ? >> >> Suzuki >> >> > Hi Suzuki, > > Sorry for missing coresight maintainers in the remote-etm binding patch. > From the comments, we can add binding for the connected hardware first. > > https://lkml.org/lkml/2023/11/30/539 > > Thanks > Jinlong Mao > Hi Suzuki, The dt-binding patch of remote-etm is not applied. I run dtbs_check without dt-binding patch, there is no device tree warning. I will merge the dt-binding patch of remote-etm to the remote etm patches to make them review together. [2/4] arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property commit: 9a6fc510a6a3ec150cb7450aec1e5f257e6fc77b [3/4] arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property commit: ae5ee3562a2519214b12228545e88a203dd68bbd [4/4] arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports commit: bdb6339fd46b8702ea7411b0b414587b86a40562 Thanks Jinlong Mao >> >>>> >>>> Suzuki >>>> >>>>> >>>>> Best regards, >>>>> Krzysztof >>>>> >>>> >>> >>
diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index 0d9fe01a8b15..e9e2d162a621 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -70,6 +70,15 @@ properties: minimum: 0 maximum: 32 + qcom,cmb-msrs-num: + description: + Specifies the number of CMB MSR(mux select register) registers supported + by the monitor. If this property is not configured or set to 0, it means + this TPDM doesn't support CMB MSR. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 32 + clocks: maxItems: 1 @@ -125,6 +134,7 @@ examples: reg-names = "tpdm-base"; qcom,cmb-element-size = /bits/ 8 <64>; + qcom,cmb-msrs-num = <32>; clocks = <&aoss_qmp>; clock-names = "apb_pclk";