Message ID | 20230630120351.1143773-3-gthiagarajan@marvell.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp10327247vqr; Fri, 30 Jun 2023 05:37:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5R+ZKipeRaFK0f56KeksRXZs2Y7sMk2nn/yxpMtpFxN8Pn4oYXiGsPkl4Gp/i0EOq1qFBq X-Received: by 2002:a05:6a20:7f8b:b0:118:eeef:2a25 with SMTP id d11-20020a056a207f8b00b00118eeef2a25mr3143547pzj.34.1688128623723; Fri, 30 Jun 2023 05:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688128623; cv=none; d=google.com; s=arc-20160816; b=jHYtyvYtEdnovBR5L8fS0gUIAJgmymOtGgeJMhEfOmJDJoj2KQMJnxljYXVj/jF3Ge /+Mn5Q82UoN7t8V/t4CsZU3dAytPJ6R7XYrSwsawh6oswZRPYcPJ2ebI/dK3n4qWiouX WyjkklTJiyoS4IQQwvZRS/FPoY3xDE9hKO66rzn9RLEZqDE8trzDgN055FQIy8w9XnDI OiGMsznBJZ8wRjiMEMy1bBfBbey/XcRbKEBEFun4zhVctnzr72NS7cz9cYSwiIYbpG4U 84Wp6pmnd44GYEEZg6l9g7Q5VTf8ysVBt1icGD5PYUQxrrKF/F3C3Dvpn80H5He6f0Wt CDCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AouykxsHJQ6G801BqoEOg/S/d76AYcbTjVSAsV8G8KM=; fh=BeTAU9KFPAR19PZDKGOMxIY7iGNYrFofsfNa6AmBg5k=; b=J7HWnGAZpEkuF9X/OkXbAbTs2XUWwvWXtZaSwMCn+qIx9K6bM89FXO5rvjLHg1gpDS BnXCMpPBJwUlR20nch5MNre+jyfE4caHBOHgJ9fqcht8xLbaATx90eu6582GV4HTaSgs dQUPWQDX16gIsxxsF+PMLpicGipJq9svMvnFhh0MITEocEzZ8etnPde53XUUcA1DP9tX eSXy7l/v0yD98TtzYsaNABRyneUqFRHY8FZIG2QJkC5LRyrMwz6VujqkVyT4M32bySlZ BMc+nBUbmkVi0xRHNM7qeypSATNnaHHfv4TFeq+qT2aELqg6T+qqJU11d+rysnQjkrIO s5ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=FTv9Kh3F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j24-20020a63cf18000000b0055ab9bb07fbsi9975839pgg.395.2023.06.30.05.36.49; Fri, 30 Jun 2023 05:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=FTv9Kh3F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232971AbjF3ME0 (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Fri, 30 Jun 2023 08:04:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232951AbjF3MEW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Jun 2023 08:04:22 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2642C1FCC for <linux-kernel@vger.kernel.org>; Fri, 30 Jun 2023 05:04:21 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35U2CEJI013689; Fri, 30 Jun 2023 05:04:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=AouykxsHJQ6G801BqoEOg/S/d76AYcbTjVSAsV8G8KM=; b=FTv9Kh3FB2B0lgixISOT8FVmVZhwtiR6V4sDxVnRBLJPHUsEg2hsmdjDaUB1dhCKOyW7 qZQpM9rMM6uK9kp12pxQaLfG6E2c/ZIDLKx+jLm8At3cEtdZHX4KT7NSHaROEhQeiNYf QUPZDWse+x14PSjV+EzntLGPDKToMqoB+BsxwRgoDOZS/D8gkWLym4w1zoWRproNwK4X U5Hz1+qURbdut4/h1BunIyn64HbBxsii+1KyC+Sju0/Gqlpl7PZCs2rCPb2qugAWDjCY m8021hNTNe4QEuJYBDioK94jPL7z/bYGDHZpYjx2/UAC55IjW/zWTQvgp0VW8oDdXQtk AA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3rhp2ehnm7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 05:04:07 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 30 Jun 2023 05:04:05 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 30 Jun 2023 05:04:05 -0700 Received: from IPBU-BLR-SERVER1.marvell.com (IPBU-BLR-SERVER1.marvell.com [10.28.8.41]) by maili.marvell.com (Postfix) with ESMTP id 0F00E5B6926; Fri, 30 Jun 2023 05:04:02 -0700 (PDT) From: Gowthami Thiagarajan <gthiagarajan@marvell.com> To: <will@kernel.org>, <mark.rutland@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <sgoutham@marvell.com>, <bbhushan2@marvell.com>, <gcherian@marvell.com>, <lcherian@marvell.com>, Gowthami Thiagarajan <gthiagarajan@marvell.com> Subject: [PATCH 2/6] dt-bindings: perf: marvell: Add YAML schemas for Marvell PEM pmu Date: Fri, 30 Jun 2023 17:33:47 +0530 Message-ID: <20230630120351.1143773-3-gthiagarajan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230630120351.1143773-1-gthiagarajan@marvell.com> References: <20230630120351.1143773-1-gthiagarajan@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 6pph-w79iTQO9SxQ4LFYKH_-HRgJlkFD X-Proofpoint-GUID: 6pph-w79iTQO9SxQ4LFYKH_-HRgJlkFD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-30_05,2023-06-30_01,2023-05-22_02 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770131159724321055?= X-GMAIL-MSGID: =?utf-8?q?1770131159724321055?= |
Series |
Marvell Odyssey uncore performance monitor support
|
|
Commit Message
Gowthami Thiagarajan
June 30, 2023, 12:03 p.m. UTC
Add device tree bindings for Marvell PEM performance monitor unit Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com> Signed-off-by: Linu Cherian <lcherian@marvell.com> --- .../bindings/perf/marvell-odyssey-pem.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml
Comments
On 30/06/2023 14:03, Gowthami Thiagarajan wrote: > Add device tree bindings for Marvell PEM performance monitor unit > > Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com> > Signed-off-by: Linu Cherian <lcherian@marvell.com> Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. You missed at least DT list (maybe more), so this won't be tested by our tools. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested. Please kindly resend and include all necessary To/Cc entries. Best regards, Krzysztof
On Fri, Jun 30, 2023 at 05:33:47PM +0530, Gowthami Thiagarajan wrote: > Add device tree bindings for Marvell PEM performance monitor unit > > Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com> > Signed-off-by: Linu Cherian <lcherian@marvell.com> As Krzysztof mentioned, the device tree list (and the DT bindings maintainers) haven't been Cc'd, so this cannot be acked. When resending, please CC the devicetree list, Rob, and Conor: [mark@lakrids:~/src/linux]% ./scripts/get_maintainer.pl -f Documentation/devicetree/bindings/perf Will Deacon <will@kernel.org> (maintainer:ARM PMU PROFILING AND DEBUGGING) Mark Rutland <mark.rutland@arm.com> (maintainer:ARM PMU PROFILING AND DEBUGGING) Rob Herring <robh+dt@kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Conor Dooley <conor+dt@kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) linux-arm-kernel@lists.infradead.org (moderated list:ARM PMU PROFILING AND DEBUGGING) devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) linux-kernel@vger.kernel.org (open list) Thanks, Mark. > --- > .../bindings/perf/marvell-odyssey-pem.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml > > diff --git a/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml > new file mode 100644 > index 000000000000..6af201fbccd8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/perf/marvell-odyssey-pem.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell Odyssey PCIe interface performance monitor > + > +maintainers: > + - Linu Cherian <lcherian@marvell.com> > + - Gowthami Thiagarajan <gthiagarajan@marvell.com> > + > +properties: > + compatible: > + items: > + - enum: > + - marvell,pem-pmu > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + bus { > + #address-cells = <2>; > + #size-cells = <2>; > + > + pmu@8e0000005000 { > + compatible = "marvell,pem-pmu"; > + reg = <0x8E00 0x00005000 0x0 0x3000>; > + }; > + }; > -- > 2.25.1 > >
diff --git a/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml new file mode 100644 index 000000000000..6af201fbccd8 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/marvell-odyssey-pem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Odyssey PCIe interface performance monitor + +maintainers: + - Linu Cherian <lcherian@marvell.com> + - Gowthami Thiagarajan <gthiagarajan@marvell.com> + +properties: + compatible: + items: + - enum: + - marvell,pem-pmu + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + pmu@8e0000005000 { + compatible = "marvell,pem-pmu"; + reg = <0x8E00 0x00005000 0x0 0x3000>; + }; + };