Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13159583rwd; Fri, 23 Jun 2023 17:07:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7LzvApAt43dOaMEUFANrLFVwwfan80BgvhC0AFDZU3lE7il3fmTlErmBBlT84AjkgtRZJ5 X-Received: by 2002:a05:6808:1a27:b0:3a1:bb4e:880a with SMTP id bk39-20020a0568081a2700b003a1bb4e880amr9635oib.12.1687565226119; Fri, 23 Jun 2023 17:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687565226; cv=none; d=google.com; s=arc-20160816; b=gLfUqwoyeSo7xBSJAzFS8D9GEZmlP1MihpP6UHK0cVeYDdl0LupAfLeghBPu16oU9X YH7809bLDvHnHpFwHh6JOi80Q5R5TuSuZDRR8flk99A1SSultcNdwbiDQ4VrleW3IFF0 QIu8wXjaq23ZbGBoy2nqOPCsp4HpEoENeH34JV+p/ypW0ECioj6Q7Ex0Xm7BHEa+Z2JN URRlFBsmBSn0EkDRgF+jgZh2KMZ1Y0zTiLHyYdir9xgMKc+q+oULYQB9YouqmbK4MYe2 OsF0PAj5JMnhudGtjlqDoIRAyJSn2bJnNNEDDPaK5rndcsEcP8iHnA5GTIFSXgH+Mib8 3nYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=HQB0UV3mXr0JpMfEAfP8bUOiINiV0i+QAJ1oD7sZh7o=; fh=ajmPRTqxisG7dGleq64xxfPikXP6s+EQC0NWLV+VsgA=; b=aHvo215puHgChJ51oL24OozXJSozw5MyZZpQifs2hzACx8VTdQTEjKg0wN4voIaIeH WMYCW/ptKlmCI754PV2Suc5hs4p5DZl3qaxc8w81IWsz9J4nJWLc8P7Fszn5qlA2Gm+M IksTtupLtJIY+yTQkdQkKG5/Lv6djUwSeBKxqLP6g3XlgSRZn/l1MlLCO2mqzHzIzZEm j4CwZ4S/s706tj8XefEG9aDOJVaAJjAIi23ht+pll7K+2uvV6BxdV1D5fAmIWCeEmhz4 sW72IVruYtW8R2Y5LfcvuTMQIfwnYSWOieKYEziT7nHlpuEzE810RfseiyR5P3a5RaPo Nq5A== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26-20020a17090a031a00b00260cece9341si2804015pje.69.2023.06.23.17.06.53; Fri, 23 Jun 2023 17:07:06 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231263AbjFWXwT convert rfc822-to-8bit (ORCPT + 99 others); Fri, 23 Jun 2023 19:52:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjFWXwS (ORCPT ); Fri, 23 Jun 2023 19:52:18 -0400 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A94510F1; Fri, 23 Jun 2023 16:52:17 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-be49e41a3d6so974822276.1; Fri, 23 Jun 2023 16:52:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687564336; x=1690156336; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pehld0+Q+I3dGObCtKVPQHnHv57AYakUkX+nfcd4SXE=; b=fgroEBoRH5vR74VCzJBFuNz6N9j9Ojt+ZUVmcDaiuDibOm+8s/jp9ilS7fcMHD1W3R W0wTQu/FwNcm+rRgRIc6sBzkR5FWn4zkh7H0omdz9jZ84YRqKenhVHlv1KUTANk0A1Fx zerrc7Y8sFP3arrNv3YSE7EUOVcs6Tf7wR4nSGUI2V5N3mCrVxA8NffV4kRbGFUpEWq3 CQLCA9Pm/yneaHe8tms2G5GVmdhRKqQD2aCKTaaIkjAZB1FfTegBgeOrN1726wbn2gtL J6HilxIuhnyR51EBqlRAEV4U52sDyxD4zDyiBFwpuqzY41KitgDMwZlbwwtjyIZhGGYL YWeQ== X-Gm-Message-State: AC+VfDzcyLZBqTHG1oo7JyiXp0Zm+6AXPyEJd37VlvFXiMXfEQePJZy7 Zrw0UEQvrYu2asXcOKE5bJbnRJUANwy7XuxhRTk= X-Received: by 2002:a5b:8c7:0:b0:c12:29ac:1d3b with SMTP id w7-20020a5b08c7000000b00c1229ac1d3bmr155431ybq.11.1687564336570; Fri, 23 Jun 2023 16:52:16 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Namhyung Kim Date: Fri, 23 Jun 2023 16:52:04 -0700 Message-ID: Subject: Re: [PATCH v3 2/7] perf metric: Event "Compat" value supports matching multiple identifiers To: Jing Zhang 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 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. Thanks, Namhyung