Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3846696pxb; Mon, 8 Feb 2021 01:24:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWR33KCLHOHT05EshJiXOU6kAY8b5MBC0cfOtnyLik7z2mtJMpHeKkfHVsvWJaA1XjZbbF X-Received: by 2002:a17:906:b253:: with SMTP id ce19mr8601285ejb.117.1612776251065; Mon, 08 Feb 2021 01:24:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612776251; cv=none; d=google.com; s=arc-20160816; b=ljWCyrtRipNEB5IlJ5RS1Sk6eD8B6lX07jGTcuilqK5ZwfTDOW6mQKYreGNsdZ359y Md3Wl0GVm10yfdYg/vZZ/7dTIYclj/P5olEyG14D2XWK6CGXFDzHJwCCBdsCJCYklo72 w7+9f9dQ11Q/iB8aiBG5atuCUUKXK6XJ1YaoJi6IuRGt1Ky9ZmuUA2lKc27FRX0bfbwG yPL4IHXVByzRsUbuqvdkKFf3IBfYoTRDAq9k4A78dE6vJR+ZZ65KspClIwE2zKDsjHoo Eiw7oyi5GuvbT77kLX8tXP5unlrUXK9yyqz1YGA1VdqwEL+e0cuzGDhBrxGUi1fJcfOK fAwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=JkzVkzRkXd3PWym8ZC/3aeUWx5eFEVqcmfidRCvl3V8=; b=cAR8Wen5rlg8QaEwNSmLWAYVc7OdFS+8AYMH3XoumyOM+CXjfnBgr1fJRmSk86LERL 7l+Ob8bO2Z89XuRdATJAsw2VupGLWukpmG5BnhFBCdZsBzON4UitDX+/7PQbmupd04Be esn4vtobryMMFskCp0nY9dXmoj9qfR+o0E1alPXDHN046KodB1ENG77Ez4WeW2WmxhqM ZqwUhX4/OtNM3739uNNUqBdW6C/qaXPHbE9XnmvRyPY1H3c2tvmK/UTxyY6yJ6yiqZ/1 66XS+fut7vzdKJK5wyZL23vl/FtyOJ1PyK+W9p8e8Yf4Fb3iFWgtQQZ3N6TARk3dce/0 9lXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si13219785ejc.126.2021.02.08.01.23.47; Mon, 08 Feb 2021 01:24:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231582AbhBHJXN (ORCPT + 99 others); Mon, 8 Feb 2021 04:23:13 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2520 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231220AbhBHJA0 (ORCPT ); Mon, 8 Feb 2021 04:00:26 -0500 Received: from fraeml707-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DZ0Gm2w4zz67m45; Mon, 8 Feb 2021 16:55:28 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml707-chm.china.huawei.com (10.206.15.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 8 Feb 2021 09:59:05 +0100 Received: from [10.47.8.138] (10.47.8.138) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 8 Feb 2021 08:59:03 +0000 Subject: Re: [PATCH v5 0/4] perf vendor events: Support PMU events for A64FX To: "nakamura.shun@fujitsu.com" , "'will@kernel.org'" , "'mathieu.poirier@linaro.org'" , "'leo.yan@linaro.org'" , "'peterz@infradead.org'" , "'mingo@redhat.com'" , "'acme@kernel.org'" , "'mark.rutland@arm.com'" , "'alexander.shishkin@linux.intel.com'" , "'jolsa@redhat.com'" , "'namhyung@kernel.org'" CC: "'linux-kernel@vger.kernel.org'" , "'linux-arm-kernel@lists.infradead.org'" References: <20210202125140.1785583-1-nakamura.shun@jp.fujitsu.com> <57c6b89d-e0b2-3df4-8dcf-2cc71f772cb4@huawei.com> From: John Garry Message-ID: <5b507e0e-0887-ee86-4fcd-06567d3f370b@huawei.com> Date: Mon, 8 Feb 2021 08:57:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.8.138] X-ClientProxiedBy: lhreml745-chm.china.huawei.com (10.201.108.195) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/2021 01:53, nakamur'd a.shun@fujitsu.com wrote: > Hi, John > >>>> Apart from that, I think that we're a bit uncertain about patch 3/4 >>> What are your concerns? >>> I think it's okay for perf to read a new event code with a number at the >> beginning. >> >> The impact of this fix is on {name} and later rules. >> parse_events.l uses {name} only in one place. >> The only rule defined after {name} is {name_tag}. >> >> I think the point of current fix is that the rules defined after {name} are not >> misrecognize and the syntax is not broken. >> {name_tag} starts with ', but {name} does not contain'. >> Therefore, the corrected {name} does not misrecognize the {name_tag}, and I >> think there is no problem. > Do you have any advice? Hi, So my series is now on remotes/origin/tmp.perf/core in Arnaldo's acme git, so you could resend against that. https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git Or again, put my series on perf/core and send against that. As for patch 3/4, firstly I'd say that it is not a 'fix'. As well, please ensure it causes no regression on x86 or arm64. So like "perf list" output is same as before (with just that change), and also test some same perf events and metrics (x86 only) to ensure that they are ok. Please also ensure no regression on "perf test". BTW, please config your mail client for no text encoding. Thanks, John