Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp859998rwb; Fri, 28 Jul 2023 00:26:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHLKbmVMUE6JfUkGBiI3sI/CbCBN8pMA51jkm0plvVX2NmBfmwO/xu6D2abrRj254ZfRlNY X-Received: by 2002:a05:6358:fcc:b0:134:f28f:aa47 with SMTP id d12-20020a0563580fcc00b00134f28faa47mr1444630rwn.23.1690529187128; Fri, 28 Jul 2023 00:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690529187; cv=none; d=google.com; s=arc-20160816; b=S03aHLuvQIqqq/E3vcwZTEZn4jCDm8CbVh6ez5l+yV1Bd8R4VtaxcWsqKXktv/AJGv pPm04wlNDyM9N7cFcCbenl+UuapjiyOrbzrPFcn0SDJh2Jz/GROCwChkTOn3foqHYOc1 aGFzRBcJWuPmIIfclDTjpXprRkeXACDInsBY4aeP6tbZ+AAFGXBSPPn7nKtDOMY8HjqA be0kz3+RuezxSSa8Qs2TkUQIDrEPLFk2wsbbdd5HmhaaDszn867mIcC6ETiWvA7w7f4Y Oecgdqcusuf3sUf0ELTxU/+JKYnHZl++uspr/NK7wbQ4FtfVgdJpcMBsk898oLk+nIYg kc0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=jZ6VmkAHeDEfMI8H+wI2cxcOJ/hBxWzFtAvqdC9mSxA=; fh=ZcwPNP6axHBFth/IEKC/IOfetP9JUiSr5EA08OhDZKo=; b=JlssVgsSrpx1fNmWbf4WTNtoJW9kxqnMfYazjPfVO9FRt9ihml9zbh6qKR+l1iAu4n JbIKiOrl7nMgNIkiDbZd1FoQlXjMdLE32018ZvF/PiW9DOQMuEii8+x+J9WqtbHmuham zCHniBKjcZl8yRXV/lcNzY2A95Lvwmc+LSI5VIlptYsvOz7j4wdyuchT9aVdyBRSdQqS 7+vjXNYr8OS2XTb7SJg+UxrBTw3LLzXiXMuCSQ8n66bcUjPzUkp+jV2oofK25kTHg0jX vqCWlCIm1qDFqgfxTVdIgnlBT2VVXdoVG9ftK78gWvHaQ5m+4qlJdjHHP6NOPlu+O/SP KLGw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv190-20020a632ec7000000b0055dcb8ea00fsi2504374pgb.268.2023.07.28.00.26.15; Fri, 28 Jul 2023 00:26:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233891AbjG1HKG (ORCPT + 99 others); Fri, 28 Jul 2023 03:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233900AbjG1HJy (ORCPT ); Fri, 28 Jul 2023 03:09:54 -0400 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C43D73C1D; Fri, 28 Jul 2023 00:09:46 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R241e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VoP1osc_1690528178; Received: from srmbuffer011165236051.sqa.net(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0VoP1osc_1690528178) by smtp.aliyun-inc.com; Fri, 28 Jul 2023 15:09:42 +0800 From: Jing Zhang To: Namhyung Kim , Arnaldo Carvalho de Melo , Will Deacon Cc: John Garry , Ian Rogers , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-doc@vger.kernel.org, Zhuo Song , Jing Zhang , Shuai Xue Subject: [PATCH v5 0/3] Add aliases and JSON metrics for Yitian710 DDR Date: Fri, 28 Jul 2023 15:09:32 +0800 Message-Id: <1690528175-2499-1-git-send-email-renyu.zj@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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 Hi, I add aliases and JSON metrics for Yitian710 DDR. The kernel part that this series depends on has been applied to for-next/perf. And this series have all been reviewed. Can you help to apply them? Thank you. Thanks, Jing Change since v4: - Kernel patch has applied to for-next/perf, so this patchset only has tools part and docs. - Fixed patch conflicts. - Link: https://lore.kernel.org/all/1687245156-61215-1-git-send-email-renyu.zj@linux.alibaba.com/ Jing Zhang (3): perf jevents: Add support for Yitian 710 DDR PMU aliasing perf vendor events: Add JSON metrics for Yitian 710 DDR docs: perf: Update metric usage for Alibaba's T-Head PMU driver Documentation/admin-guide/perf/alibaba_pmu.rst | 5 + .../arm64/freescale/yitian710/sys/ali_drw.json | 373 +++++++++++++++++++++ .../arm64/freescale/yitian710/sys/metrics.json | 20 ++ tools/perf/pmu-events/jevents.py | 1 + 4 files changed, 399 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/ali_drw.json create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/yitian710/sys/metrics.json -- 1.8.3.1