From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28A4BC001B1 for ; Sun, 25 Jun 2023 08:56:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231860AbjFYI4S (ORCPT ); Sun, 25 Jun 2023 04:56:18 -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 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