Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-13 Thread Will Deacon
On Wed, Jan 11, 2017 at 03:02:39PM -0600, Kim Phillips wrote: > On Wed, 11 Jan 2017 12:37:15 + > Will Deacon wrote: > > On Tue, Jan 10, 2017 at 04:04:19PM -0600, Kim Phillips wrote: > > > Also, curiously, arm_spe_pmu doesn't appear in 'perf list' (even when > > > SPE h/w is present). > > > >

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-12 Thread Marc Zyngier
On 10/01/17 22:04, Kim Phillips wrote: > On Tue, 3 Jan 2017 18:10:26 + > Will Deacon wrote: > >> +#define DRVNAME "arm_spe_pmu" > > Based on Intel naming "intel_pt" and "intel_bts', I had expected > "arm-spe" as the universal basename for SPE. I don't really care

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-11 Thread Kim Phillips
On Wed, 11 Jan 2017 12:37:15 + Will Deacon wrote: > Hi Kim, > > On Tue, Jan 10, 2017 at 04:04:19PM -0600, Kim Phillips wrote: > > On Tue, 3 Jan 2017 18:10:26 + > > Will Deacon wrote: > > > > > +#define DRVNAME "arm_spe_pmu" > > > > Based on Intel naming "intel

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-11 Thread Will Deacon
Hi Kim, On Tue, Jan 10, 2017 at 04:04:19PM -0600, Kim Phillips wrote: > On Tue, 3 Jan 2017 18:10:26 + > Will Deacon wrote: > > > +#define DRVNAME"arm_spe_pmu" > > Based on Intel naming "intel_pt" and "intel_bts', I had expected > "arm-spe" as the universal basena

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-10 Thread Kim Phillips
On Tue, 3 Jan 2017 18:10:26 + Will Deacon wrote: > +#define DRVNAME "arm_spe_pmu" Based on Intel naming "intel_pt" and "intel_bts', I had expected "arm-spe" as the universal basename for SPE. I don't really care about whether '_pmu' is included, but it's yet ano

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-05 Thread Peter Zijlstra
On Wed, Jan 04, 2017 at 07:14:14PM +, Will Deacon wrote: > Hi Peter, > > On Wed, Jan 04, 2017 at 11:37:13AM +0100, Peter Zijlstra wrote: > > On Tue, Jan 03, 2017 at 06:10:26PM +, Will Deacon wrote: > > > The ARMv8.2 architecture introduces the Statistical Profiling Extension > > > (SPE). S

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-04 Thread Will Deacon
Hi Peter, On Wed, Jan 04, 2017 at 11:37:13AM +0100, Peter Zijlstra wrote: > On Tue, Jan 03, 2017 at 06:10:26PM +, Will Deacon wrote: > > The ARMv8.2 architecture introduces the Statistical Profiling Extension > > (SPE). SPE provides a way to configure and collect profiling samples > > from the

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-04 Thread Peter Zijlstra
On Tue, Jan 03, 2017 at 06:10:26PM +, Will Deacon wrote: > The ARMv8.2 architecture introduces the Statistical Profiling Extension > (SPE). SPE provides a way to configure and collect profiling samples > from the CPU in the form of a trace buffer, which can be mapped directly > into userspace u

[RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-03 Thread Will Deacon
The ARMv8.2 architecture introduces the Statistical Profiling Extension (SPE). SPE provides a way to configure and collect profiling samples from the CPU in the form of a trace buffer, which can be mapped directly into userspace using the perf AUX buffer infrastructure. This patch adds support for