From patchwork Fri Mar 9 18:02:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 10271501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4A48F6016D for ; Fri, 9 Mar 2018 18:02:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34E4E2846F for ; Fri, 9 Mar 2018 18:02:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2939629BF2; Fri, 9 Mar 2018 18:02:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 772AA2846F for ; Fri, 9 Mar 2018 18:02:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=quoVzqwJ4L8hajdE8Fd0JBJvtyboYZum1RVPNzESWK0=; b=qsde3Pl3gxNIvA NsL8yklif/yy+IWUc46U79wsdHoiTCACzLw2z1c2KVTSwOS5GW5Do9gwTR2bySv5G0Jv96ZXnjCbF eOSnqeNaUBEnUtqDZIGYbLkFjd5NFGvcJs8Z+bWATUKApp3OLruVR8F8IV7Mngo0c7fEUCrcUoSsg lFJUpgEedW3v4Uf1JMFHOXjLldcVfSAbs0v7HgubPVynBFQ1OpklGphVYo32c2elPhb02OIWKjnCi 6xry5+fI5HPzMrknpYgvfk3kjlVKiqvLgcGSuQjTOMx5hoLR6VlQftzfeMJJveyv9aQhcgZ0ox2Jx SWFsatzI8Dbkk69fqebg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1euMLt-0002Yj-6p; Fri, 09 Mar 2018 18:02:45 +0000 Received: from [190.15.121.82] (helo=jouet.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1euMLr-0002XC-6K; Fri, 09 Mar 2018 18:02:43 +0000 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 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-Disposition: inline In-Reply-To: <20180309180040.GI8347@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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 , William Cohen , Jiri Olsa , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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