Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp531490rwd; Wed, 14 Jun 2023 21:04:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75hx4DD6h4toKEKLRPB/rp8FkdpTtTimCZwsOrbTfUaCCk4ofNwnzBqHbHa+M1SJtMw95G X-Received: by 2002:a17:907:3d94:b0:982:74f5:a4e0 with SMTP id he20-20020a1709073d9400b0098274f5a4e0mr3506657ejc.18.1686801862067; Wed, 14 Jun 2023 21:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686801862; cv=none; d=google.com; s=arc-20160816; b=PG7I2VGup6Jv3TCHujOYAhzPoxWMLpZ7q4D3907Hag42HnUTIWBRonM+4O0CP96e9P 81P1QfDaSrgihQqWyWUGMEIJ8egBZBex/16DEIHS9WUOtjZXSuNykkIXWHKh9my3CYBk wCDnjFhk/4yMTtSuDtHG19TPOqvkXQRPneZYdpPteScIgi4eDb75jeE3sE8loTBSJfOC pNDoKVEQ/CpFamUFbHQw8UbSUYewO3CMtqIyolFRe4DlwxXfdtdbdrkPDIj0T77M6e23 sxLpRurlB1I8dLNqaZSSbt4SkIF5zWzeWG2GLFGDSIAK/tGflIs9fwQaAWU+nRtOr4KW Gwyg== 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=hzV02PjP1P3Fl2YYevIOl3gRXN3mFYiL0IsJ1YFphlg=; b=X0dnOSZ8eLauR6aOejAfSspOAtHHYH6eUwAKn7CtyULC0zoAkOpeNBm6lapPsSTnLP tol2/aDy9Y1koJpdH0UIkmvuyObJD3Q2JZF0KIAqTRB5yjd5M6EnwKKS9C5NnYVDc1I6 NXVL6HJCUX8HCiSqQ809DAhN3abEOYrLNVXo6P0zMSe+8oBrWDpYBSAeFn6omYmPZPSm 5YZUejhchvfN4VmVKOKLipLvtn96OEV3OZicuDApVWWyBAThOswzIVSF1YI5bUYT2cMn 3ajKZ+1avWG+LBaXo2LBqfhrLHVvQDOMWYKMvzrCWtYxZmqsg78iTOoHhp62E5orJQWm LK1g== 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 b21-20020a170906195500b00977d2c8a210si8749352eje.560.2023.06.14.21.03.50; Wed, 14 Jun 2023 21:04:22 -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 S237966AbjFODmK (ORCPT + 99 others); Wed, 14 Jun 2023 23:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236392AbjFODmH (ORCPT ); Wed, 14 Jun 2023 23:42:07 -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 37D70191; Wed, 14 Jun 2023 20:42:06 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0Vl8rmkW_1686800519; Received: from 30.221.149.117(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0Vl8rmkW_1686800519) by smtp.aliyun-inc.com; Thu, 15 Jun 2023 11:42:02 +0800 Message-ID: Date: Thu, 15 Jun 2023 11:41: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.10.0 Subject: Re: [PATCH v3 2/7] perf metric: Event "Compat" value supports matching multiple identifiers To: Arnaldo Carvalho de Melo Cc: John Garry , Ian Rogers , Will Deacon , Shuai Xue , Robin Murphy , James Clark , Mike Leach , Leo Yan , Mark Rutland , Ilkka Koskinen , Alexander Shishkin , Jiri Olsa , Namhyung Kim , 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/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. Thanks, Jing