Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753021AbdLENpy (ORCPT ); Tue, 5 Dec 2017 08:45:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:41810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbdLENpt (ORCPT ); Tue, 5 Dec 2017 08:45:49 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE44021878 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 Date: Tue, 5 Dec 2017 10:45:46 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: William Cohen , peterz@infradead.org, mingo@redhat.com, mpetlan@redhat.com, linux-kernel@vger.kernel.org, shriyak@linux.vnet.ibm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org Subject: Re: [PATCH v4] Use more flexible pattern matching for CPU identification for mapfile.csv Message-ID: <20171205134546.GB28405@kernel.org> References: <20171204145728.16792-1-wcohen@redhat.com> <1a494349-2c85-bd09-73c3-fc5ed733d2ef@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a494349-2c85-bd09-73c3-fc5ed733d2ef@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 20 Em Tue, Dec 05, 2017 at 09:25:56AM +0530, Ravi Bangoria escreveu: > > On 12/04/2017 08:27 PM, William Cohen wrote: > > The powerpc cpuid information includes chip revision information. > > Changes between chip revisions are usually minor bug fixes and usually > > do not affect the operation of the performance monitoring hardware. > > The original mapfile.csv matching requires enumerating every possible > > cpuid string. When a new minor chip revision is produced a new entry > > has to be added to the mapfile.csv and the code recompiled to allow > > perf to have the implementation specific perf events for this new > > minor revision. For users of various distibutions of Linux having to > > wait for a new release of the kernel's perf tool to be built with > > these trivial patches is inconvenient. > > > > Tested-by: Ravi Bangoria Thanks, added to the commit. - Arnaldo