Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14708200rwd; Sun, 25 Jun 2023 02:56:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6q8dvT19nCTdnzjSyzdaZYdOPv+bQ/ZZRtQYESD8zrc8ccMdi5l1BUS3L7eYNwK+4v4JBF X-Received: by 2002:a92:d3cb:0:b0:33f:ff90:15b4 with SMTP id c11-20020a92d3cb000000b0033fff9015b4mr26596179ilh.3.1687686997822; Sun, 25 Jun 2023 02:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687686997; cv=none; d=google.com; s=arc-20160816; b=kvLBBo2qS70HY3qS847JE+9lJzrkf1m+OBqKhQlSr6tvx8tHH/zTW/f2SznXlfBbYp lnVmG9m1xBnVI1btHWJ8bkHV4cH9Mr5mtY2GUtJC3z6SBInThdjNVejbc8o1ln3D1LsT VZ5JwsjiJdhdqtIvho7FERYks9LIwh8P5O/N/067Cz8kMV782Zwd/3MiZLNrNYXk1rLq eb3xCra7l9McN7w19kKToSMi48P8UEnETkQyYjA9m0Ndl+sJMvO+Ocysd/TKQlkbSIvo GgVXH3O6wK6CkkLc6CJsix3hniQDPfNZ5tN8yg4rGYZHTwZHVhFkVPKDHIkZFEVEf7MC kpbQ== 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:subject:user-agent:mime-version:date:message-id; bh=22mP080++r2mL+wNlY2dCz5eUSFGFRoPj5vcfbBD8mE=; fh=jbiJBukkeFk+yx9C0VjHz89jxIDpjzpo93926zLeMHQ=; b=YS3QMtEknaoqdR+pq4dzJ1CDOuBmrZUA895vuQWHry6XrE8oXefiKo9COvLlcPteFe 2iFpfX5qK4R3xhJzB/ZP17Z98eR8WN99iYYNxEKNvACTnu2eIKtORly52M3n5Jba83WY fH/u0Tyvd67/WjiqSzNStFNTOJbBWCt+Ygqe4Bm5WhX/RHQWcWRDcbrkvPi7G0WMUN15 T1Lrw+Lt5s/KvRRFLXxHjCXOkOWH63wHRrz55hC9q1tfbBlnh/tnBgq4kHDM79Y6/9mO pACmD0PxCI2726jOY3z39G53oaRXBJ8tVwUJ8TSdEE4u7+C+gB4GF/wsrCYrn0bbWLYg f3nQ== 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 q188-20020a632ac5000000b0053f6910ccc8si2940515pgq.747.2023.06.25.02.56.26; Sun, 25 Jun 2023 02:56:37 -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 S231743AbjFYI4R (ORCPT + 99 others); Sun, 25 Jun 2023 04:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbjFYI4O (ORCPT ); Sun, 25 Jun 2023 04:56:14 -0400 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50CC3E40; Sun, 25 Jun 2023 01:56:09 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R451e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0VlrouNg_1687683362; Received: from 30.120.140.216(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0VlrouNg_1687683362) by smtp.aliyun-inc.com; Sun, 25 Jun 2023 16:56:04 +0800 Message-ID: <3ec4c1c7-11cf-6518-933d-cb9167ab3bd0@linux.alibaba.com> Date: Sun, 25 Jun 2023 16:55:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 2/7] perf metric: Event "Compat" value supports matching multiple identifiers To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , John Garry , Ian Rogers , Will Deacon , Shuai Xue , Robin Murphy , James Clark , Mike Leach , Leo Yan , Mark Rutland , Ilkka Koskinen , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Zhuo Song References: <1685438374-33287-1-git-send-email-renyu.zj@linux.alibaba.com> <1685438374-33287-3-git-send-email-renyu.zj@linux.alibaba.com> <452e724b-2a2c-52fd-274b-60db7a7f730e@linux.alibaba.com> <76fcb062-61a8-5f90-b39d-b5fb6da35652@linux.alibaba.com> From: Jing Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,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 在 2023/6/24 上午7:52, Namhyung Kim 写道: > Hello, > > On Wed, Jun 14, 2023 at 8:42 PM Jing Zhang wrote: >> >> >> >> 在 2023/6/6 上午3:39, Arnaldo Carvalho de Melo 写道: >>> Em Mon, Jun 05, 2023 at 10:46:36AM +0800, Jing Zhang escreveu: >>>> 在 2023/6/3 上午12:20, John Garry 写道: >>>>> On 01/06/2023 09:58, Jing Zhang wrote: >>>>>> It can match identifiers "arm_cmn600_{0,1,2..X}" or "arm_cmn650_{0,1,2..X}" or "arm_cmn700_{0,1,2..X}" or "arm_ci700_{ 0,1,2..X}". >>>>>> In other words, it can match all identifiers prefixed with “arm_cmn600” or “arm_cmn650” or “arm_cmn700” or “arm_ci700”. >>>>>> >>>>>> If a new model arm_cmn driver with identifier "arm_cmn750_0", it will not be matched, but if a new revision arm_cmn driver with identifier >>>>>> "arm_cmn700_4", it can be matched. >>>>> >>>>> OK, I see what you mean. My confusion came about though your commit message on this same patch, which did not mention cmn650. I assumed that the example event which you were describing was supported for arm_cmn650 and you intentionally omitted it. >>>>> >>>> >>>> Yes, I didn't write cmn650 in the commit message, just because I omitted it. I will add it in a later version. >>> >>> Ok, will wait for v4 then. >>> >>> - Arnaldo >> >> Hi Arnaldo, >> >> Thank you for following up this patchset, maybe we can merge patch4 to patch7 into your branch first? >> They have all been reviewed/acked and there is no dispute. And patch4-7 does not depend on patch1-3, >> because patch4-7 is about the metric of ali_drw_pmu, and patch1-3 is about the metric of arm_cmn. >> It may take some time for patch1-3 to reach a consensus. > > IIUC patch 4 is for the kernel and patch 5-7 semantically depend on it. > So the patch 4 should be picked up by the kernel maintainers first. > Yes, that's right, thanks. > Thanks, > Namhyung