Received: by 10.223.185.111 with SMTP id b44csp599077wrg; Fri, 9 Mar 2018 10:04:07 -0800 (PST) X-Google-Smtp-Source: AG47ELuwkGK6ekg8zzFBHgf/qwdSJZTFI4pzzHiyn4wCOymaVEWzGsoJopfOh1vzVUElyWJHLV0f X-Received: by 2002:a17:902:47aa:: with SMTP id r39-v6mr28152562pld.72.1520618647384; Fri, 09 Mar 2018 10:04:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520618647; cv=none; d=google.com; s=arc-20160816; b=x/AwDMzaezPN+yEgzAOriyD8xDyxeNMBjcIHNnJ6NSd1kYjcA8+HdSON/nPtZPMExs ZBPeu8KF0tGu3H5dMb+h4FQW+mhPS5GM4SGU7kFCfI/9OOeiSVNuAjkvqo1JJUcjVG6b g6ke8KQyLzV65Nc99AvhV9ECixlQ+hLnN/DBtlV95mn/ydEI4HjOpkHmT/xtmEihYDCl AFdpfbcntWFTVLOPg9BU21geyKBPzUwjvgcRClh+Vj2IlKKp7DFOCEU1sXTOmWqKcbYj ddsam07MvoymAD/2jVmrI9JqbSMzZIPo19CUe0HjdhYO2xt8TeHfLdnkaMLK7ao+ASGA UUIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=AXExNDqBd9n53SqVN/CK4Cshr0tzE5DpW4dK24rZHOs=; b=oX/XgVUUWllDXRE9vk+NKjcbucXu1HHVGHfriJLHzUHWY+wds1/FSAlZwI/57OZhYe u4DQsVUxEn0STROyVtXvB4Qp8Kk18tufjjLp0rxNS27p5OPGj7YuQS6dZDa81zsB9u8u JiEwFboswhTe8fb/NVGrqKdCq4R5MW4L0/l9mCSdZC7N+Hk04uY/2a23yPjwKkNCwnti kilDbJruJZ/EKnF9gUChpkl0LbOKC8DPWYQJaw6Vz3KbiNLHhl2aqUPwM2zi7f5XMzBx 3z4hg30ORVkae71TErNc7nTkI/cCF/ox4XyyXzdOLaX07oOxjrU2+cdaNnxeL3x8Mf3l jWpw== 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 z5si1194845pfe.255.2018.03.09.10.03.46; Fri, 09 Mar 2018 10:04:07 -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 S932439AbeCISCp (ORCPT + 99 others); Fri, 9 Mar 2018 13:02:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:60990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbeCISCn (ORCPT ); Fri, 9 Mar 2018 13:02:43 -0500 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 19038206B2; Fri, 9 Mar 2018 18:02:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19038206B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 3CA1B1450F2; Fri, 9 Mar 2018 15:02:41 -0300 (-03) Date: Fri, 9 Mar 2018 15:02:41 -0300 From: Arnaldo Carvalho de Melo To: Ganapatrao Kulkarni 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 Subject: Re: [PATCH] perf vendor events arm64: Enable JSON events for ThunderX2 B0 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180309180040.GI8347@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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