Message ID | 20240116064505.487-2-quic_jinlmao@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-27042-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp87976dye; Mon, 15 Jan 2024 22:56:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHxrD9fkRqJmk6X8DuOCrZ7N7p7ZFRqKkJsSwRGaqwbF/gXJDy4uQzdURAZXLEnnUWkrv2 X-Received: by 2002:a05:6871:a693:b0:205:fd5a:9ca0 with SMTP id wh19-20020a056871a69300b00205fd5a9ca0mr6614471oab.73.1705388171965; Mon, 15 Jan 2024 22:56:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705388171; cv=none; d=google.com; s=arc-20160816; b=XG2999t00nJNLLkJyPRltJU7w76pmXP1pYPfc7bQdFuhnQb5xdzD8Fb+mVa4TPu16m xA1nhpjWVt7BJXiqR9AZXdDQpUlCoMJVcHZiYATof71DJq2mv2xcujMIRuejGBnoNUfH h1IEwFKMCZG2uRPCseqrjCqqN7NOue7j0agwFKL0hS8wxGvenXNaY+X22XyfNlXjxg0u vwIQidr9fT9zaiChKl8uD1aELYY3jPlSYP/f+f+kYo1yce4XUGpTpwBsp/1zEHEFJvty QqgK/0/gC4X9mNyPd4A5WxoFUZs28cJIz9kbKypfTBP+HqDXKOJi+5vxFcspRTLWuU9t CCKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=V9o554zsWBAQdiXmsafZQxPOpoOkLPylrGIUDPHRhX4=; fh=xVBRi1ygc9r7TlHPVtOrRYrvcTFI9YsCQ6XfAyrz7jM=; b=f6ozW0dMBH4s7BSUW3krfU03ey62BlxzJVgiw0TUxNoyeyaMtp3sgzJ5uUPkzWikD8 BlHPD3ohUnot/i0qlEzaSOjgYcuu24yyznpgN+gc2yI451VkUrf2he1jXBTTcEG8rydL 5+LQZmD3AVc+yBMGGlbjofkOBANIum6ueu6kPa+HrcbfUscZs8alXRYbEoqge1N3ANaF 2gQD/n8p3/UbdsevYEujaDsMCoVvurogaX3omwiT81Q6QgIksc0Fv+psMj9+3i3BlQ4u /R6+frTMegsK6oTjM3TFU6tafUimNxLDd6eSPXEpC9T1bsW7VmivB9VHbkUYqe4Cj4S6 y8jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CWITLE+K; spf=pass (google.com: domain of linux-kernel+bounces-27042-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27042-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m4-20020a635804000000b005cda04bf9f6si10037933pgb.104.2024.01.15.22.56.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 22:56:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27042-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CWITLE+K; spf=pass (google.com: domain of linux-kernel+bounces-27042-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27042-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 27C992854DB for <ouuuleilei@gmail.com>; Tue, 16 Jan 2024 06:46:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C439111BF; Tue, 16 Jan 2024 06:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CWITLE+K" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 2321310A05; Tue, 16 Jan 2024 06:45:32 +0000 (UTC) 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40G0XgtZ015676; Tue, 16 Jan 2024 06:45:18 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-transfer-encoding:content-type; s= qcppdkim1; bh=V9o554zsWBAQdiXmsafZQxPOpoOkLPylrGIUDPHRhX4=; b=CW ITLE+K4Mli0jco+wPZenk4ncx71vGZVUHRyPlzmgPvDCwDA32HyU+gyu2w7ASZ13 qyW/e8X9oVQoKgfqts3zCiDtNAeVC7FCDavhmvsQW6C99riAY728cAkIBFl/jg6P dF4/cl4Epchm0PaS6bwWGvdavMhrHFW8IIQyBRzSD8FHNuDOAEeiHC2xPDeT4xkA EHmQ2g8zWObHwoeoH5gHs3Hp7VznkmR2CcTCawNW4noTXZ3gywyZbDlqXrgl+M++ ldi9GVPt9y8T6jOVqyENPwfZ8uc1SlZ78aeSe8WWDOfjqx1dbDFVw5pusnqA051p C1T4BtCwpNJyO7Kkax+w== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vmy95jc72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 06:45:18 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40G6jHpn010113 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 06:45:17 GMT Received: from hu-jinlmao-lv.qualcomm.com (10.49.16.6) 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.1118.40; Mon, 15 Jan 2024 22:45:16 -0800 From: Mao Jinlong <quic_jinlmao@quicinc.com> To: Suzuki K Poulose <suzuki.poulose@arm.com>, Mike Leach <mike.leach@linaro.org>, James Clark <james.clark@arm.com>, Leo Yan <leo.yan@linaro.org>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Mathieu Poirier <mathieu.poirier@linaro.org> CC: Mao Jinlong <quic_jinlmao@quicinc.com>, <coresight@lists.linaro.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, Tingwei Zhang <quic_tingweiz@quicinc.com>, Yuanfang Zhang <quic_yuanfang@quicinc.com>, "Tao Zhang" <quic_taozha@quicinc.com> Subject: [PATCH v2 1/2] dt-bindings: arm: coresight: Remove pattern match of ETE node name Date: Mon, 15 Jan 2024 22:45:02 -0800 Message-ID: <20240116064505.487-2-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240116064505.487-1-quic_jinlmao@quicinc.com> References: <20240116064505.487-1-quic_jinlmao@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: JRyY85vtD0PuTPFCVZxhf0JkF8mwq6To X-Proofpoint-ORIG-GUID: JRyY85vtD0PuTPFCVZxhf0JkF8mwq6To X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 clxscore=1015 suspectscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401160050 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788229107610126128 X-GMAIL-MSGID: 1788229107610126128 |
Series |
arm64: dts: qcom: Add coresight nodes for sm8450
|
|
Commit Message
Mao Jinlong
Jan. 16, 2024, 6:45 a.m. UTC
Remove pattern match of ETE node name. Use ete with the number as the
name for ete nodes.
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
---
.../bindings/arm/arm,embedded-trace-extension.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Comments
On 16/01/2024 07:45, Mao Jinlong wrote: > Remove pattern match of ETE node name. Use ete with the number as the > name for ete nodes. > > Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> > --- > .../bindings/arm/arm,embedded-trace-extension.yaml | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > index f725e6940993..ed78cc7ae94a 100644 > --- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > +++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > @@ -22,8 +22,6 @@ description: | > with any optional connection graph as per the coresight bindings. > > properties: > - $nodename: > - pattern: "^ete([0-9a-f]+)$" > compatible: > items: > - const: arm,embedded-trace-extension > @@ -55,13 +53,13 @@ examples: > > # An ETE node without legacy CoreSight connections > - | > - ete0 { > + ete-0 { ete { > compatible = "arm,embedded-trace-extension"; > cpu = <&cpu_0>; > }; > # An ETE node with legacy CoreSight connections > - | > - ete1 { > + ete-1 { ete { Best regards, Krzysztof
On 16/01/2024 06:45, Mao Jinlong wrote: > Remove pattern match of ETE node name. Use ete with the number as the > name for ete nodes. > > Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> > --- > .../bindings/arm/arm,embedded-trace-extension.yaml | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > index f725e6940993..ed78cc7ae94a 100644 > --- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > +++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml > @@ -22,8 +22,6 @@ description: | > with any optional connection graph as per the coresight bindings. > > properties: > - $nodename: > - pattern: "^ete([0-9a-f]+)$" > compatible: > items: > - const: arm,embedded-trace-extension > @@ -55,13 +53,13 @@ examples: > > # An ETE node without legacy CoreSight connections > - | > - ete0 { > + ete-0 { Why do we need the number ? why not simply "ete" as Krzysztof suggested ? Suzuki
On 1/16/2024 5:33 PM, Suzuki K Poulose wrote: > On 16/01/2024 06:45, Mao Jinlong wrote: >> Remove pattern match of ETE node name. Use ete with the number as the >> name for ete nodes. >> >> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> >> --- >> .../bindings/arm/arm,embedded-trace-extension.yaml | 6 ++---- >> 1 file changed, 2 insertions(+), 4 deletions(-) >> >> diff --git >> a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml >> index f725e6940993..ed78cc7ae94a 100644 >> --- >> a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml >> +++ >> b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml >> @@ -22,8 +22,6 @@ description: | >> with any optional connection graph as per the coresight bindings. >> properties: >> - $nodename: >> - pattern: "^ete([0-9a-f]+)$" >> compatible: >> items: >> - const: arm,embedded-trace-extension >> @@ -55,13 +53,13 @@ examples: >> # An ETE node without legacy CoreSight connections >> - | >> - ete0 { >> + ete-0 { > > Why do we need the number ? why not simply "ete" as Krzysztof suggested ? > Hi Suzuki & Krzysztof , If name all the ete nodes' name as 'ete', there will be error below when build images. arch/arm64/boot/dts/qcom/sm8450.dtsi:301.6-312.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:314.6-325.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:327.6-338.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:340.6-351.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:353.6-364.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:366.6-377.4: ERROR (duplicate_node_names): /ete: Duplicate node name arch/arm64/boot/dts/qcom/sm8450.dtsi:379.6-390.4: ERROR (duplicate_node_names): /ete: Duplicate node name Thanks Jinlong Mao > >
On 17/01/2024 03:14, Jinlong Mao wrote: >>> - const: arm,embedded-trace-extension >>> @@ -55,13 +53,13 @@ examples: >>> # An ETE node without legacy CoreSight connections >>> - | >>> - ete0 { >>> + ete-0 { >> >> Why do we need the number ? why not simply "ete" as Krzysztof suggested ? >> > > Hi Suzuki & Krzysztof , > > If name all the ete nodes' name as 'ete', there will be error below when > build images. > > arch/arm64/boot/dts/qcom/sm8450.dtsi:301.6-312.4: ERROR Why are you pasting DTSI for binding? How is it related? Do we talk about DTSI here? No, this is a binding patch. Best regards, Krzysztof
On 1/17/2024 3:40 PM, Krzysztof Kozlowski wrote: > On 17/01/2024 03:14, Jinlong Mao wrote: >>>> - const: arm,embedded-trace-extension >>>> @@ -55,13 +53,13 @@ examples: >>>> # An ETE node without legacy CoreSight connections >>>> - | >>>> - ete0 { >>>> + ete-0 { >>> >>> Why do we need the number ? why not simply "ete" as Krzysztof suggested ? >>> >> >> Hi Suzuki & Krzysztof , >> >> If name all the ete nodes' name as 'ete', there will be error below when >> build images. >> >> arch/arm64/boot/dts/qcom/sm8450.dtsi:301.6-312.4: ERROR > > Why are you pasting DTSI for binding? How is it related? Do we talk > about DTSI here? No, this is a binding patch. > Hi Krzysztof, Do you mean the name in DTSI can be different from the name in binding ? Thanks Jinlong Mao >
On 17/01/2024 08:49, Jinlong Mao wrote: > > > On 1/17/2024 3:40 PM, Krzysztof Kozlowski wrote: >> On 17/01/2024 03:14, Jinlong Mao wrote: >>>>> - const: arm,embedded-trace-extension >>>>> @@ -55,13 +53,13 @@ examples: >>>>> # An ETE node without legacy CoreSight connections >>>>> - | >>>>> - ete0 { >>>>> + ete-0 { >>>> >>>> Why do we need the number ? why not simply "ete" as Krzysztof suggested ? >>>> >>> >>> Hi Suzuki & Krzysztof , >>> >>> If name all the ete nodes' name as 'ete', there will be error below when >>> build images. >>> >>> arch/arm64/boot/dts/qcom/sm8450.dtsi:301.6-312.4: ERROR >> >> Why are you pasting DTSI for binding? How is it related? Do we talk >> about DTSI here? No, this is a binding patch. >> > > Hi Krzysztof, > > Do you mean the name in DTSI can be different from the name in binding ? Yes, we do not talk about DTSI here, so I did not suggest anything about DTSI. Best regards, Krzysztof
On 1/17/2024 3:53 PM, Krzysztof Kozlowski wrote: > On 17/01/2024 08:49, Jinlong Mao wrote: >> >> >> On 1/17/2024 3:40 PM, Krzysztof Kozlowski wrote: >>> On 17/01/2024 03:14, Jinlong Mao wrote: >>>>>> - const: arm,embedded-trace-extension >>>>>> @@ -55,13 +53,13 @@ examples: >>>>>> # An ETE node without legacy CoreSight connections >>>>>> - | >>>>>> - ete0 { >>>>>> + ete-0 { >>>>> >>>>> Why do we need the number ? why not simply "ete" as Krzysztof suggested ? >>>>> >>>> >>>> Hi Suzuki & Krzysztof , >>>> >>>> If name all the ete nodes' name as 'ete', there will be error below when >>>> build images. >>>> >>>> arch/arm64/boot/dts/qcom/sm8450.dtsi:301.6-312.4: ERROR >>> >>> Why are you pasting DTSI for binding? How is it related? Do we talk >>> about DTSI here? No, this is a binding patch. >>> >> >> Hi Krzysztof, >> >> Do you mean the name in DTSI can be different from the name in binding ? > > Yes, we do not talk about DTSI here, so I did not suggest anything about > DTSI. Ok. I will use 'ete' as the name here. Thanks Jinlong Mao > > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml index f725e6940993..ed78cc7ae94a 100644 --- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml +++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml @@ -22,8 +22,6 @@ description: | with any optional connection graph as per the coresight bindings. properties: - $nodename: - pattern: "^ete([0-9a-f]+)$" compatible: items: - const: arm,embedded-trace-extension @@ -55,13 +53,13 @@ examples: # An ETE node without legacy CoreSight connections - | - ete0 { + ete-0 { compatible = "arm,embedded-trace-extension"; cpu = <&cpu_0>; }; # An ETE node with legacy CoreSight connections - | - ete1 { + ete-1 { compatible = "arm,embedded-trace-extension"; cpu = <&cpu_1>;