Received: by 10.223.185.111 with SMTP id b44csp603752wrg; Fri, 9 Mar 2018 10:08:34 -0800 (PST) X-Google-Smtp-Source: AG47ELtUkLaHMN+WE4IPCcbv2+v+LVCuS2OHTKyyyAWqY33JJ6ghuyY3Ck1XClZiCVs+kuLlVpPK X-Received: by 2002:a17:902:523:: with SMTP id 32-v6mr28499698plf.145.1520618914493; Fri, 09 Mar 2018 10:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520618914; cv=none; d=google.com; s=arc-20160816; b=yZ9hssveqp6TIBVxLvMrVyhoTING87MI/ECDwYARhVL2i6wXtaks56buwnUdhMkCWd osqIo4+0vXHsaRVWXH5oe3x6agRPte0DaiteTRMhKuhe+r+B0wVD1n8wuMQ13gZLLFEh xC5ugGKmLg798jx5WrfwGMeSSlmmC7gnNVOhuKkFKH+PjbVmsNDMaXjqXoz2Whaary7b C+fRjuUZFq1PlictDLAvGZpZ6mcdL7u1zrgPIszTRDZQHJLPHgp24HJMvSOuGswOALmD 8KV1muDW595iUtKO0wvgpOedCJRWsbd5suvdNp1otSRKfviDEjrg6qAmQSzFEybTX0Q9 6oog== 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=enUlV1LGwwmuba+GosRR4QhUFYyON4bObaDmwPqtAd4=; b=vM7uhu8DkiGYe2UAVISeCvz3H/oGVJ4jhl9YSL70dv8HeC/3jy7k1YuhGIBD09GbEy EEGpNQiOvcu0YAitAZ1ZpOBanEOfFXLe6cj7IUKEXNONctl4u9RC0QjLC/8CYBN/ETcn QMZVQc96YZ7U58cig1Y2TWU63kNnR20oqfi7QQYeYqRNpuTMLIt/uVfK9CzZJ+oB2TqW tuvmxp8s552kowefppp1fqytqcQaLN05CvX0/+7YR2Px76/C+5rpy69mWXxV+UvABZnb kiI9jwatTjxblQCFA7yKQTKCwJwur2bNy4HTBSIiCcemGju6gfYGHLAKZHJxuY3By+6Q 6gZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Aj8Tag6a; 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 m12si1019681pgu.590.2018.03.09.10.08.18; Fri, 09 Mar 2018 10:08:34 -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=Aj8Tag6a; 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 S932359AbeCISHI (ORCPT + 99 others); Fri, 9 Mar 2018 13:07:08 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34021 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbeCISHG (ORCPT ); Fri, 9 Mar 2018 13:07:06 -0500 Received: by mail-lf0-f68.google.com with SMTP id l191-v6so14401157lfe.1 for ; Fri, 09 Mar 2018 10:07:05 -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=enUlV1LGwwmuba+GosRR4QhUFYyON4bObaDmwPqtAd4=; b=Aj8Tag6amI48qWbUqChD3Nq5W6wH3eMH/8Xgad8vJrFMVDLNPHLhiPOsyYqI4sfR6A 6VBjhvPg6SKsVS7bNhuvVFmVcWnH3DHR6OUyKQdST3y+h1uKfhRLnNQC7FGYPpge1Idn 2Xec+tnr5nz++tg5Kbj45tmPR4enf5PH4J9ZJKOIpl6cDYsnTnmGLmohiShzc3c9v9DP 2Vz976dP3Z9igGtmwHpd6HJjH1k9pTYr3Osvv7BOZs0E0Ry7ebueP12Tpuv5rAVpVKW1 kx8384om11ATLEQh8991V46Ld7oF04okhiuyJgMBQGXgt98Zk/W62IEzuHet2PP9/tVn yQCw== 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=enUlV1LGwwmuba+GosRR4QhUFYyON4bObaDmwPqtAd4=; b=aPMMlaTUTHsz2ruxWqju6JMl9tmFfA7SHqbdI4fXJHPbGSxYgXrID7HYGS8VC6rFk+ Fk7wWc1N+/2WxTAH4fjU95MbmoNFvd0ZpVuX/+uCmTnldopDsbnUom7jEkLUG+87ubSn /hQErFcTlGWaVdGw+q2yX6Z3MkNQJhK2cePL4oW9NYEbvJtoFlKM9g+vNYGN8cjy0Z9x qAbGLAWwl2MbKvqDMqSdCtPdKY9O+VuV68L4hClIerbTp+gcfnKs4PhFwvPKnpmdlH/J teJzzKvIeBboAOyOykYSpo+j7HctAeJ0NTgQfDpwJlGCaO69pAHZvKtUwfpN2UHqOzGd c+7A== X-Gm-Message-State: APf1xPAH9AQp3UY9LXymNOkfF+dpa0CAowIqp2FM5MPTWpa5wHGoBkGV jkTdLIHCcPRL7uyw27/BSCpGTzgl5ADhh/d3Ffs= X-Received: by 10.46.43.17 with SMTP id q17mr23392996lje.20.1520618825162; Fri, 09 Mar 2018 10:07:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.25.140 with HTTP; Fri, 9 Mar 2018 10:07:04 -0800 (PST) In-Reply-To: <20180309180241.GJ8347@kernel.org> References: <20180307143832.GJ3701@kernel.org> <52328144-3a2a-af03-273b-3a2f3bdadda6@redhat.com> <20180309143415.GB4194@kernel.org> <20180309155808.GP15537@arm.com> <20180309173316.GF8347@kernel.org> <20180309180040.GI8347@kernel.org> <20180309180241.GJ8347@kernel.org> From: Ganapatrao Kulkarni Date: Fri, 9 Mar 2018 23:37:04 +0530 Message-ID: Subject: Re: [PATCH] perf vendor events arm64: Enable JSON events for ThunderX2 B0 To: Arnaldo Carvalho de Melo Cc: Will Deacon , William Cohen , mark.rutland@arm.com, Alexander Shishkin , John Garry , linux-kernel@vger.kernel.org, Peter Zijlstra , Robert Richter , Ingo Molnar , jnair@caviumnetworks.com, Ganapatrao Kulkarni , Jiri Olsa , linux-arm-kernel@lists.infradead.org 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 On Fri, Mar 9, 2018 at 11:32 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 09, 2018 at 03:00:40PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Fri, Mar 09, 2018 at 11:15:16PM +0530, Ganapatrao Kulkarni escreveu: >> > On Fri, Mar 9, 2018 at 11:03 PM, Arnaldo Carvalho de Melo >> > > +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv >> > > @@ -13,5 +13,5 @@ >> > > # >> > > #Family-model,Version,Filename,EventType >> > > 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core >> > > -0x00000000420f5160,v1,cavium/thunderx2,core >> > > +0x00000000430f0af0,v1,cavium/thunderx2,core >> > > 0x00000000480fd010,v1,hisilicon/hip08,core > >> > please do not delete existing entry, add additional entry. >> > > +0x00000000430f0af0,v1,cavium/thunderx2,core > >> Ok, my bad, I think my eyes are failing me, I swear I saw them in the >> original patch, which is not the case... > >> Ok, will add, together with Will's Acked-by > > So this is how it ended up: > > > commit 9245299469de2e02d9c3cb167c0e52f75f1cc180 > Author: Ganapatrao Kulkarni > Date: Wed Mar 7 16:38:03 2018 +0530 > > perf vendor events arm64: Enable JSON events for ThunderX2 B0 > > There is MIDR change on ThunderX2 B0, adding an entry to mapfile to > enable JSON events for B0. > > Signed-off-by: Ganapatrao Kulkarni > Acked-by: Will Deacon > Cc: Alexander Shishkin > Cc: Ganapatrao Kulkarni > Cc: Jayachandran C > Cc: Jiri Olsa > Cc: John Garry > Cc: Mark Rutland > Cc: Peter Zijlstra > Cc: Robert Richter > Cc: William Cohen > Cc: linux-arm-kernel@lists.infradead.org > Link: http://lkml.kernel.org/r/20180307110803.32418-1-ganapatrao.kulkarni@cavium.com > [ Fixup wrt recent patchset by John Garry ] > Signed-off-by: Arnaldo Carvalho de Melo > > diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv > index 8f11aeb003a9..f03e26ecb658 100644 > --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv > +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv > @@ -14,4 +14,5 @@ > #Family-model,Version,Filename,EventType > 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core > 0x00000000420f5160,v1,cavium/thunderx2,core > +0x00000000430f0af0,v1,cavium/thunderx2,core > 0x00000000480fd010,v1,hisilicon/hip08,core thanks for help Arnaldo! thanks ganapat