Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread Will Deacon
On Fri, Oct 05, 2018 at 01:09:33AM +0530, Ganapatrao Kulkarni wrote: > On Thu, Oct 4, 2018 at 5:51 PM Will Deacon wrote: > > On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > > > can you please pull this patch? > > > > I still don't like the idea of just removing events like

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread Will Deacon
On Fri, Oct 05, 2018 at 01:09:33AM +0530, Ganapatrao Kulkarni wrote: > On Thu, Oct 4, 2018 at 5:51 PM Will Deacon wrote: > > On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > > > can you please pull this patch? > > > > I still don't like the idea of just removing events like

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread Will Deacon
On Fri, Oct 05, 2018 at 01:27:08PM +0100, John Garry wrote: > On 04/10/2018 13:22, Will Deacon wrote: > >Hi Ganapat, > > > >On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > >>can you please pull this patch? > > > >I still don't like the idea of just removing events like this,

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread Will Deacon
On Fri, Oct 05, 2018 at 01:27:08PM +0100, John Garry wrote: > On 04/10/2018 13:22, Will Deacon wrote: > >Hi Ganapat, > > > >On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > >>can you please pull this patch? > > > >I still don't like the idea of just removing events like this,

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread John Garry
On 04/10/2018 13:22, Will Deacon wrote: Hi Ganapat, On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: can you please pull this patch? I still don't like the idea of just removing events like this, especially when other architectures (including some x86 and Power CPUs

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-05 Thread John Garry
On 04/10/2018 13:22, Will Deacon wrote: Hi Ganapat, On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: can you please pull this patch? I still don't like the idea of just removing events like this, especially when other architectures (including some x86 and Power CPUs

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-04 Thread Ganapatrao Kulkarni
Hi Will, On Thu, Oct 4, 2018 at 5:51 PM Will Deacon wrote: > > Hi Ganapat, > > On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > > can you please pull this patch? > > I still don't like the idea of just removing events like this, especially > when other architectures

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-04 Thread Ganapatrao Kulkarni
Hi Will, On Thu, Oct 4, 2018 at 5:51 PM Will Deacon wrote: > > Hi Ganapat, > > On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > > can you please pull this patch? > > I still don't like the idea of just removing events like this, especially > when other architectures

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-04 Thread Will Deacon
Hi Ganapat, On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > can you please pull this patch? I still don't like the idea of just removing events like this, especially when other architectures (including some x86 and Power CPUs afaict) playa similar games for generic events,

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-04 Thread Will Deacon
Hi Ganapat, On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote: > can you please pull this patch? I still don't like the idea of just removing events like this, especially when other architectures (including some x86 and Power CPUs afaict) playa similar games for generic events,

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-03 Thread Ganapatrao Kulkarni
Hi Will, can you please pull this patch? On Mon, Oct 1, 2018 at 10:09 PM Ganapatrao Kulkarni wrote: > > Hi Will, > > On Mon, Oct 1, 2018 at 7:58 PM Will Deacon wrote: > > > > Hi Ganapat, > > > > On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > > > Perf events

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-03 Thread Ganapatrao Kulkarni
Hi Will, can you please pull this patch? On Mon, Oct 1, 2018 at 10:09 PM Ganapatrao Kulkarni wrote: > > Hi Will, > > On Mon, Oct 1, 2018 at 7:58 PM Will Deacon wrote: > > > > Hi Ganapat, > > > > On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > > > Perf events

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Ganapatrao Kulkarni
Hi Will, On Mon, Oct 1, 2018 at 7:58 PM Will Deacon wrote: > > Hi Ganapat, > > On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > > Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to > > armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Ganapatrao Kulkarni
Hi Will, On Mon, Oct 1, 2018 at 7:58 PM Will Deacon wrote: > > Hi Ganapat, > > On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > > Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to > > armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Will Deacon
Hi Ganapat, On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to > armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is incorrect, > since L1D_CACHE_REFILL counts both load and store misses. >

Re: [PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Will Deacon
Hi Ganapat, On Mon, Oct 01, 2018 at 10:07:43AM +, Kulkarni, Ganapatrao wrote: > Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to > armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is incorrect, > since L1D_CACHE_REFILL counts both load and store misses. >

[PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Kulkarni, Ganapatrao
Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is incorrect, since L1D_CACHE_REFILL counts both load and store misses. Similarly the events L1-dcache-loads, L1-dcache-stores, dTLB-load-misses and dTLB-loads are

[PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Kulkarni, Ganapatrao
Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is incorrect, since L1D_CACHE_REFILL counts both load and store misses. Similarly the events L1-dcache-loads, L1-dcache-stores, dTLB-load-misses and dTLB-loads are