Received: by 10.223.185.116 with SMTP id b49csp5311628wrg; Wed, 7 Mar 2018 09:37:30 -0800 (PST) X-Google-Smtp-Source: AG47ELtYfmq22fNRgA6dRhbrp0UMMK34JHnndJrzXMuSxzkS/fzZG/LAYzLcpIEfrHZskXhJ+VJo X-Received: by 10.99.4.66 with SMTP id 63mr18629409pge.93.1520444249955; Wed, 07 Mar 2018 09:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520444249; cv=none; d=google.com; s=arc-20160816; b=tO/NXntY0XD4ydiNBrApyGG6rzeHYtXwpzeyEWToJ7wHZxloOP7z4JBZ5nHSUpNKm8 xEetxXdhfQs/A1fZ733raq9Ay4LAEW4W6mRhCz9htzbb0egiEOL0rWHxWtXzjLMwf1uL 4Q96C53K3sgRU8ULjHazuyCnhqscErFiOIPv7+hif9gA5sqXLmYBGlpW7rlwEls3xNww kMDassMt194t6wV/+F/+knbVUj1XUXZn31Z80Z/FDYndUGW1Nw7N65Qb/7jwFRqWQKFB cswF9dZC8CUO3kKTW+NYdyG/avdtP/bBQ1eXJ7zU2kVIV6UPVvbMJfkfbhrqIrV1ZsFu y3AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hxT8NjLEZ6nN3papQDa1HeCEgqQXU2qb1w8YYwi+Nwg=; b=jMhoGlj2b2Th8EU/9Xn9vZfaByfDViqThC+pfVM4/idWF2KGI/FfEkCmbKFWE2RsSz WHayGIQ0KVNBHZZyNMTkI+dGwfp9aAQHYUm8cRj+k2R6uUPVm2mA/8p0VB5dpoe44bY6 YCnsT+0rfXFDa1dY4dcTMrGYa1/Gl4epSzYu/iZrWq3UN8J2mio0abO46gicORQe02Tl /989buLROPxkae2pzaZ+amgCw2RYUTkMgF5Vi0JpkRHS+a0yAAiM1ZEeEWlHE1fx7H2C HeP8LomOIb8zKtupnOxUjTD5i3W1Lg4F4eld5zBtNGpW5gvAwrt35bjvGJmMwb52Rrph 42Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l6vvqLJD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si13298477plf.84.2018.03.07.09.37.15; Wed, 07 Mar 2018 09:37:29 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l6vvqLJD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933854AbeCGRf7 (ORCPT + 99 others); Wed, 7 Mar 2018 12:35:59 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:35455 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933647AbeCGRfg (ORCPT ); Wed, 7 Mar 2018 12:35:36 -0500 Received: by mail-lf0-f67.google.com with SMTP id 70-v6so4418461lfw.2 for ; Wed, 07 Mar 2018 09:35:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hxT8NjLEZ6nN3papQDa1HeCEgqQXU2qb1w8YYwi+Nwg=; b=l6vvqLJDUrg9yEKCTPK4zu3xZvGa5xbQteHTIIoGXGOKqxxWjkA86JqHgiy/c0mdPd g31rP48XuGU13YDymgIMWmIhxyE9IkV/WagZ51l48BMSfgjcc9KGqcD9HWAR75eiHW8R hIohNgAQEZdPVykY9whrTgwOV4Gf6QsboYyA//VlppTayTLoqoY7LSbkiw7MJBp4+OTj Ei9s88OEAZc8oBf0YV1DXKvqPRkoOIi+3NsHGrcVqBcPQlLg3NGGQTkx+lSKv6+pzodn HmqMzmO40e1dK9ZHIV4yQ2ibxzzfAPs0KRB5u4YRY4kzkbDCYRxqu3AdnolvBRLY147m BY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hxT8NjLEZ6nN3papQDa1HeCEgqQXU2qb1w8YYwi+Nwg=; b=VEA5GFOHfYjJwS1eMp/ftz57ANsN2xk3kUdELgzsGOLYlyHx/19kxcnyEo+IggmqbE smPVzZYrZzvkJVi5F5NRa4xOwCEo3JIpRc/uX3WcbcE6GnivlY2Pi396dySmyEFwNxbH fqHrTc1r4jP6sROUPtLQbYv47JykdhBhqZUecaLhwoq62kxSmdPmlivgv2SLpB+Sfqbz F3qdWbbk7YEGK90fYpaN1qYuHM6c84ybv4kwJsJCmifN+32tOtOowVqBIp7RAlwalJXi RLs7xhIKkL/UCH+bXTr0/3swUlGJ8A+3x6mDvk+2LzVPau9gLmI5IrmibWwIcaDT2JkE mokw== X-Gm-Message-State: APf1xPAO/SBTSjEDp3STe7FmLrwbfdWhViPCpKGTVY3DqrLLmfhLeBw7 BQkx+UpJA0aHx6EWWfX3XNY5bSVoSdWnStC1l3g= X-Received: by 10.46.43.17 with SMTP id q17mr17471163lje.20.1520444134847; Wed, 07 Mar 2018 09:35:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.25.140 with HTTP; Wed, 7 Mar 2018 09:35:33 -0800 (PST) In-Reply-To: <20180307143832.GJ3701@kernel.org> References: <20180307110803.32418-1-ganapatrao.kulkarni@cavium.com> <3384d33f-c927-740a-97f1-b20775ef2c7b@redhat.com> <20180307143832.GJ3701@kernel.org> From: Ganapatrao Kulkarni Date: Wed, 7 Mar 2018 23:05:33 +0530 Message-ID: Subject: Re: [PATCH] perf vendor events arm64: Enable JSON events for ThunderX2 B0 To: Arnaldo Carvalho de Melo Cc: William Cohen , mark.rutland@arm.com, Alexander Shishkin , John Garry , Will Deacon , linux-kernel@vger.kernel.org, Peter Zijlstra , Robert Richter , Ingo Molnar , jnair@caviumnetworks.com, Ganapatrao Kulkarni , Jiri Olsa , linux-arm-kernel@lists.infradead.org, Ganapatrao Kulkarni Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will Cohen, On Wed, Mar 7, 2018 at 8:08 PM, 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? > > - 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: for arm64 implementation, bits 3:0(Revision) and bits 23:20(Variant) are ignored/dont-care. >> >> 0x00000000430f0af[[:xdigit:]],v1,cavium,core >> >> >> -Will Cohen > thanks Ganapat > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel