Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2430276rdg; Mon, 14 Aug 2023 02:08:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnFeNI6eNvYLDk7b/GeMmhtMM9oaA/E/mnW7WDyg4z9LnblylEo5jeACybQ031zeDFN190 X-Received: by 2002:a17:906:8471:b0:993:d617:bdc8 with SMTP id hx17-20020a170906847100b00993d617bdc8mr6843360ejc.7.1692004094117; Mon, 14 Aug 2023 02:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692004094; cv=none; d=google.com; s=arc-20160816; b=ILpLcVco2xj9yg1kbozxMqFEDNtPbRTL5AMiiHAZMZraRrH/TwZHNCK0GpAU4CRMt8 fiiey1/Xbs9jYawjL3Dpxu61XAn6sPDfbzl4PbQ1MyD57iKlWpR/y3lyCKhxkL/C7z3h nXJllmO4ZLbxlxiNoO/9EcnQVqr4FzSFum3s6Qm5RZpl2Hnmea+owQNNmJlk1xzonOGA LrWBMEB0NdRCt8SUEvRAycIRQkX4eqx3fOVexYicAh5TyrTYNERwoul32VacG3mj6cry mL83cAzVigWb/JJ9SeDCDOTyiJzuVGbF1QZ2Tm8XW++wWROR4MdKSr5zHYXjRuV7o52V 84OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=d4b4KvSQ4zGsIVaW+6y3IlJzRQxCj+lqbCpJjaY0MMI=; fh=IMqX9KobqnYnt9UgayY3R/2VfnnpUf+aMTSK3WF7j0k=; b=Pono9t9Uz3uEeVpGr5qmI+AQImlASuxok2sxMRXH6KggIY5a5ayA0IXRlBhhQNtyE3 3WYofrk0wR9OQrog0MPFTJX2yGWMZ8cQ8yPxuSpTZpHycQrdmjWj/voBU+I2h2RLqXH5 pKc1nDcM4HYlXowTekCJpPWIkGlQlYqjyeGNajVSs3WmSk2NltblGk9FKKCkmUjUw8lH kmCDx+4iZqR1EKKQb7mc0tEsgZ44q3ie1DIqLkn6WX0sWmCV7gtJLLLl9p0gg6m8IIxE NiRYuysdp/BfQ1bEblsX/fvyPymN8o9yuDtHr3lR88Fa65Js2+cWlEoqoCnnBU2hwTvP Br5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VJP8PZnN; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gu11-20020a170906f28b00b0099c93638298si7453202ejb.230.2023.08.14.02.07.50; Mon, 14 Aug 2023 02:08:14 -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=@linaro.org header.s=google header.b=VJP8PZnN; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233397AbjHNIQD (ORCPT + 99 others); Mon, 14 Aug 2023 04:16:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234415AbjHNIPl (ORCPT ); Mon, 14 Aug 2023 04:15:41 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFB34E5C for ; Mon, 14 Aug 2023 01:15:40 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-99c0cb7285fso498854866b.0 for ; Mon, 14 Aug 2023 01:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692000939; x=1692605739; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=d4b4KvSQ4zGsIVaW+6y3IlJzRQxCj+lqbCpJjaY0MMI=; b=VJP8PZnNiJ+lKNNnZLC469cLYInNdnFluCb07BRhA/mynVb1zuVUDrvLpCv5g9n+dT S2b4h04uxgLhpf/FPgYS7dW/bkA8NuoeOTib98GTQz9ceVnpboksa/8IlBiXE48jCLb9 IUaEn3MfqnSgYzac1pHpTN2ogUK/dVOhMkyOCofnzFvIaXstIpkLx6sivPchUkmWoHm4 YST8sXLM+PunLl5q1cxabFjpHulGWEnyP7rkMAfEKt2LRg1l7wnUtKP1uUABcpxkmCbv yAX9M1S5AV+RIn5y1ECuuZRhqcrTRCIXFrvocY8y2jGyh5xtp2YR3OS7lNYNVI4lzzjo MxCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692000939; x=1692605739; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=d4b4KvSQ4zGsIVaW+6y3IlJzRQxCj+lqbCpJjaY0MMI=; b=IYCrALlfATdoMaY6Ifmoo0wmb5qavcv/RFRB/AQvQTIudV2vgtfQJ/IcoVRD+c0Po/ /gIXWDChDpu8PgpH3i64/k3NQic4XuJ7UVhnBkYWuRfJE5cTUniHtB3wwRfTKhkuxxy9 P7HgnDDfZqIwBBS/KbqvFt9AqAR1eSm+1NlS55NNCTaBXoZagjqE/4WQPKcOaQSaM+wE sTrBxN/zIWZBgZWc4zuH3tGO94LM16QzvP/uJ6iqZ5dVZ3b7RzOKW/TbPUpYi3gFfPU0 GoqPSJvFuQRpLj7JEPcAJMMDKmmHAVJePEnW5gP2CWORYG0TqfF3UUioTQeVcJztuWcx /JSg== X-Gm-Message-State: AOJu0YxVjN8xA7gxIH86mvQImlM7Dee+o6ZiKHSz9ojAaSf9Mf5DrTtV Pz87WE+Y1AEtBKLUwPRAJmcaXQ== X-Received: by 2002:a17:906:3018:b0:99b:cf4f:9090 with SMTP id 24-20020a170906301800b0099bcf4f9090mr7026486ejz.66.1692000939269; Mon, 14 Aug 2023 01:15:39 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id a10-20020a170906244a00b00992d70f8078sm5378654ejb.106.2023.08.14.01.15.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Aug 2023 01:15:38 -0700 (PDT) Message-ID: <705309a2-6c7f-8148-770e-75e3d1fe112b@linaro.org> Date: Mon, 14 Aug 2023 10:15:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v2 4/6] dt-bindings: perf: Add Marvell Odyssey LLC-TAD pmu Content-Language: en-US To: Gowthami Thiagarajan , will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org Cc: sgoutham@marvell.com, bbhushan2@marvell.com, lcherian@marvell.com References: <20230812142518.778259-1-gthiagarajan@marvell.com> <20230812142518.778259-5-gthiagarajan@marvell.com> From: Krzysztof Kozlowski In-Reply-To: <20230812142518.778259-5-gthiagarajan@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org On 12/08/2023 16:25, Gowthami Thiagarajan wrote: > Add binding documentation for Marvell Odyssey LLC-TAD performance > monitor unit > > Signed-off-by: Gowthami Thiagarajan > --- > > v1->v2 > - Changed DT binding file name to match with compatible > - Added respective document in MAINTAINERS > > .../perf/marvell,odyssey-tad-pmu.yaml | 63 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 64 insertions(+) > create mode 100644 Documentation/devicetree/bindings/perf/marvell,odyssey-tad-pmu.yaml > > diff --git a/Documentation/devicetree/bindings/perf/marvell,odyssey-tad-pmu.yaml b/Documentation/devicetree/bindings/perf/marvell,odyssey-tad-pmu.yaml > new file mode 100644 > index 000000000000..a1b9ee71e5f7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/marvell,odyssey-tad-pmu.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/perf/marvell,odyssey-tad-pmu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell Odyssey LLC-TAD performance monitor > + > +maintainers: > + - Gowthami Thiagarajan > + > +description: | > + The Tag-and-Data units (TADs) maintain coherence and contain CN10K > + shared on-chip last level cache (LLC). The tad pmu measures the > + performance of last-level cache. Each tad pmu supports up to eight > + counters. > + > + The DT setup comprises of number of tad blocks, the sizes of pmu > + regions, tad blocks and overall base address of the HW. > + > +properties: > + compatible: > + const: marvell,odyssey-tad-pmu > + > + reg: > + maxItems: 1 > + > + marvell,tad-cnt: > + description: specifies the number of tads on the soc Why would it differ? Each SoC is the same, right? Like factory makes 1 million of the same SoCs, so tad-cnt is the same on each of them Please drop. > + $ref: /schemas/types.yaml#/definitions/uint32 > + > + marvell,tad-page-size: > + description: specifies the size of each tad page > + $ref: /schemas/types.yaml#/definitions/uint32 Same questions. > + > + marvell,tad-pmu-page-size: > + description: specifies the size of page that the pmu uses > + $ref: /schemas/types.yaml#/definitions/uint32 Same questions. > + > +required: > + - compatible > + - reg > + - marvell,tad-cnt > + - marvell,tad-page-size > + - marvell,tad-pmu-page-size > + > +additionalProperties: false > + > +examples: > + - | > + No need for blank line. > + tad { No clue what tad is, use some generic name. > + #address-cells = <2>; > + #size-cells = <2>; > + Best regards, Krzysztof