Received: by 10.223.185.116 with SMTP id b49csp5172862wrg; Wed, 7 Mar 2018 07:28:10 -0800 (PST) X-Google-Smtp-Source: AG47ELt2IRPp3GQxSg72Y0Ltd4R8WPto4cYVXKI9QL3fr5Bg0TuMep8TFFl+rUr/eWJYs/MS88eM X-Received: by 10.98.242.65 with SMTP id y1mr22545327pfl.232.1520436490130; Wed, 07 Mar 2018 07:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520436490; cv=none; d=google.com; s=arc-20160816; b=IHrd5sz+vLqm4isCuzVQGvnJk+CO7CDwfmhG4p8UqCFdmoZBWz9D0WRgjRf/xK/3kZ R0Ug8fz5MnH7HMOhdpouAqtwgQj0XzIldwRgdg8DodmV220osyY6VTeJQBswSJbngfge N13bZVAzk8XyLr3GtEK9+6iY2KF1hGHkIDNZGpAkFb1Fdu/61mNoMblMqLIV5iLFi2hW eDwZ4uZWShkzUjVe3Ggb9P0SdST9kG1JoKx9hH/MyWqEiGFvcXVlQyltUz00aIUMjNWk Ql175tpyWrm8AZNThFT4GNz04tuj9flr23qnkYrnYxzDP4L+aCe4//XuuYAem8sKig25 zrtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=ZYFMLf+xisAWKAXybUXMOKc2ms8V14OA6A9uyDJEXdE=; b=qZBOcS07feHNk+nhQTzJe4WOEjslNyizVHxkRQtvV3feZiBwT4lq01tUsI72sVO6JW v0wJGK4kUFgpkTPVn1gRsJHLolq2Re1PklihseBEYb932VAdFkga+vuT2n/J94pfFXdP G2UN2KVnl+OK92eXPB6Hpo+IC5Cj8bJf6jkOpfTJyUn9VmmeT4xcz77kCDy382dWtQib E8gpe+V2T8oJyF8LzfPT9xexB1I7QwZdERuD3r+B1v76qJgmZHp2CF5gCcO0sQN1op1I G2ZHfc+4mGY7F2CqfHyhIOsCny0QEU4Fckg7oHi9x5xrbPDiWBwKt3ZHt1kJ3cNFoazA x55Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b92-v6si13022050plb.747.2018.03.07.07.27.55; Wed, 07 Mar 2018 07:28:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933757AbeCGP0C (ORCPT + 99 others); Wed, 7 Mar 2018 10:26:02 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:6174 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933335AbeCGP0B (ORCPT ); Wed, 7 Mar 2018 10:26:01 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E184BF3ED013A; Wed, 7 Mar 2018 23:25:44 +0800 (CST) Received: from [127.0.0.1] (10.202.227.238) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.361.1; Wed, 7 Mar 2018 23:25:36 +0800 Subject: Re: [PATCH] perf vendor events arm64: Enable JSON events for ThunderX2 B0 To: Arnaldo Carvalho de Melo , William Cohen References: <20180307110803.32418-1-ganapatrao.kulkarni@cavium.com> <3384d33f-c927-740a-97f1-b20775ef2c7b@redhat.com> <20180307143832.GJ3701@kernel.org> CC: Ganapatrao Kulkarni , , , , , , , , , , , Linuxarm From: John Garry Message-ID: <73a51582-2faa-6a75-6c7e-8888b24a3442@huawei.com> Date: Wed, 7 Mar 2018 15:25:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20180307143832.GJ3701@kernel.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.238] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2018 14:38, Arnaldo Carvalho de Melo wrote: > Em Wed, Mar 07, 2018 at 09:32:05AM -0500, William Cohen escreveu: >> On 03/07/2018 06:08 AM, Ganapatrao Kulkarni wrote: >>> There is MIDR change on ThunderX2 B0, adding an entry to mapfile >>> to enable JSON events for B0. >>> >>> Signed-off-by: Ganapatrao Kulkarni > > Ganapatrao, can you please take this in consideration and if agreeing > send a v2 patch? > > With that I can add an Acked-by: wcohen, Right? > JFYI, This patch conflicts with "[PATCH v2 00/11] perf events patches for improved ARM64 support". I was planning on sending a v3 quite soon. > - Arnaldo >>> --- >>> tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv >>> index e61c9ca..93c5d14 100644 >>> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv >>> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv >>> @@ -13,4 +13,5 @@ >>> # >>> #Family-model,Version,Filename,EventType >>> 0x00000000420f5160,v1,cavium,core >>> +0x00000000430f0af0,v1,cavium,core >>> 0x00000000410fd03[[:xdigit:]],v1,cortex-a53,core >>> >> >> Hi, >> Like the cortex-a53 the last digit '0' of the match for the MIDR should be replaced with [[:xdigit:]] to allow for possible future revisions of chip: >> >> 0x00000000430f0af[[:xdigit:]],v1,cavium,core >> >> >> -Will Cohen > > . Thanks, John >