LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
@ 2019-04-05 16:50 Florian Fainelli
2019-04-08 16:26 ` Will Deacon
0 siblings, 1 reply; 7+ messages in thread
From: Florian Fainelli @ 2019-04-05 16:50 UTC (permalink / raw)
To: linux-kernel
Cc: bcm-kernel-feedback-list, Florian Fainelli, Peter Zijlstra,
Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin,
Jiri Olsa, Namhyung Kim, Will Deacon, Mark Rutland,
Catalin Marinas, moderated list:ARM PMU PROFILING AND DEBUGGING
Broadcom's Brahma-B53 CPUs support the same type of events that the
Cortex-A53 supports, recognize its CPUID and map it to the cortex-a53
events.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
index 59cd8604b0bd..e97c12484bc6 100644
--- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
+++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
@@ -13,6 +13,7 @@
#
#Family-model,Version,Filename,EventType
0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
+0x00000000420f100[[:xdigit:]],v1,arm/cortex-a53,core
0x00000000420f5160,v1,cavium/thunderx2,core
0x00000000430f0af0,v1,cavium/thunderx2,core
0x00000000480fd010,v1,hisilicon/hip08,core
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-04-05 16:50 [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events Florian Fainelli
@ 2019-04-08 16:26 ` Will Deacon
2019-05-02 21:28 ` Florian Fainelli
0 siblings, 1 reply; 7+ messages in thread
From: Will Deacon @ 2019-04-08 16:26 UTC (permalink / raw)
To: Florian Fainelli
Cc: linux-kernel, bcm-kernel-feedback-list, Peter Zijlstra,
Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin,
Jiri Olsa, Namhyung Kim, Mark Rutland, Catalin Marinas,
moderated list:ARM PMU PROFILING AND DEBUGGING
On Fri, Apr 05, 2019 at 09:50:47AM -0700, Florian Fainelli wrote:
> Broadcom's Brahma-B53 CPUs support the same type of events that the
> Cortex-A53 supports, recognize its CPUID and map it to the cortex-a53
> events.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> index 59cd8604b0bd..e97c12484bc6 100644
> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> @@ -13,6 +13,7 @@
> #
> #Family-model,Version,Filename,EventType
> 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
> +0x00000000420f100[[:xdigit:]],v1,arm/cortex-a53,core
> 0x00000000420f5160,v1,cavium/thunderx2,core
> 0x00000000430f0af0,v1,cavium/thunderx2,core
> 0x00000000480fd010,v1,hisilicon/hip08,core
Acked-by: Will Deacon <will.deacon@arm.com>
Will
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-04-08 16:26 ` Will Deacon
@ 2019-05-02 21:28 ` Florian Fainelli
2019-05-02 23:57 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 7+ messages in thread
From: Florian Fainelli @ 2019-05-02 21:28 UTC (permalink / raw)
To: Will Deacon, Arnaldo Carvalho de Melo, Jiri Olsa
Cc: linux-kernel, bcm-kernel-feedback-list, Peter Zijlstra,
Ingo Molnar, Alexander Shishkin, Namhyung Kim, Mark Rutland,
Catalin Marinas, moderated list:ARM PMU PROFILING AND DEBUGGING
On 4/8/19 9:26 AM, Will Deacon wrote:
> On Fri, Apr 05, 2019 at 09:50:47AM -0700, Florian Fainelli wrote:
>> Broadcom's Brahma-B53 CPUs support the same type of events that the
>> Cortex-A53 supports, recognize its CPUID and map it to the cortex-a53
>> events.
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>> ---
>> tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
>> index 59cd8604b0bd..e97c12484bc6 100644
>> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
>> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
>> @@ -13,6 +13,7 @@
>> #
>> #Family-model,Version,Filename,EventType
>> 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
>> +0x00000000420f100[[:xdigit:]],v1,arm/cortex-a53,core
>> 0x00000000420f5160,v1,cavium/thunderx2,core
>> 0x00000000430f0af0,v1,cavium/thunderx2,core
>> 0x00000000480fd010,v1,hisilicon/hip08,core
>
> Acked-by: Will Deacon <will.deacon@arm.com>
Thanks! Can this be picked up?
--
Florian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-05-02 21:28 ` Florian Fainelli
@ 2019-05-02 23:57 ` Arnaldo Carvalho de Melo
2019-05-13 18:04 ` Florian Fainelli
0 siblings, 1 reply; 7+ messages in thread
From: Arnaldo Carvalho de Melo @ 2019-05-02 23:57 UTC (permalink / raw)
To: Florian Fainelli
Cc: Will Deacon, Jiri Olsa, linux-kernel, bcm-kernel-feedback-list,
Peter Zijlstra, Ingo Molnar, Alexander Shishkin, Namhyung Kim,
Mark Rutland, Catalin Marinas,
moderated list:ARM PMU PROFILING AND DEBUGGING
Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:
> On 4/8/19 9:26 AM, Will Deacon wrote:
> > On Fri, Apr 05, 2019 at 09:50:47AM -0700, Florian Fainelli wrote:
> >> Broadcom's Brahma-B53 CPUs support the same type of events that the
> >> Cortex-A53 supports, recognize its CPUID and map it to the cortex-a53
> >> events.
> >>
> >> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> >> ---
> >> tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> >> index 59cd8604b0bd..e97c12484bc6 100644
> >> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
> >> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> >> @@ -13,6 +13,7 @@
> >> #
> >> #Family-model,Version,Filename,EventType
> >> 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
> >> +0x00000000420f100[[:xdigit:]],v1,arm/cortex-a53,core
> >> 0x00000000420f5160,v1,cavium/thunderx2,core
> >> 0x00000000430f0af0,v1,cavium/thunderx2,core
> >> 0x00000000480fd010,v1,hisilicon/hip08,core
> >
> > Acked-by: Will Deacon <will.deacon@arm.com>
>
> Thanks! Can this be picked up?
Thanks, applied to perf/core.
- Arnaldo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-05-02 23:57 ` Arnaldo Carvalho de Melo
@ 2019-05-13 18:04 ` Florian Fainelli
2019-05-13 19:22 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 7+ messages in thread
From: Florian Fainelli @ 2019-05-13 18:04 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Will Deacon, Jiri Olsa, linux-kernel, bcm-kernel-feedback-list,
Peter Zijlstra, Ingo Molnar, Alexander Shishkin, Namhyung Kim,
Mark Rutland, Catalin Marinas,
moderated list:ARM PMU PROFILING AND DEBUGGING
On 5/2/19 4:57 PM, Arnaldo Carvalho de Melo wrote:
> Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:
>> On 4/8/19 9:26 AM, Will Deacon wrote:
>>> On Fri, Apr 05, 2019 at 09:50:47AM -0700, Florian Fainelli wrote:
>>>> Broadcom's Brahma-B53 CPUs support the same type of events that the
>>>> Cortex-A53 supports, recognize its CPUID and map it to the cortex-a53
>>>> events.
>>>>
>>>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>>>> ---
>>>> tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
>>>> index 59cd8604b0bd..e97c12484bc6 100644
>>>> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
>>>> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
>>>> @@ -13,6 +13,7 @@
>>>> #
>>>> #Family-model,Version,Filename,EventType
>>>> 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
>>>> +0x00000000420f100[[:xdigit:]],v1,arm/cortex-a53,core
>>>> 0x00000000420f5160,v1,cavium/thunderx2,core
>>>> 0x00000000430f0af0,v1,cavium/thunderx2,core
>>>> 0x00000000480fd010,v1,hisilicon/hip08,core
>>>
>>> Acked-by: Will Deacon <will.deacon@arm.com>
>>
>> Thanks! Can this be picked up?
>
> Thanks, applied to perf/core.
Thanks, I don't seem to be able to find it being pushed out to that tree
or in linux-next.
--
Florian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-05-13 18:04 ` Florian Fainelli
@ 2019-05-13 19:22 ` Arnaldo Carvalho de Melo
2019-05-13 19:30 ` Florian Fainelli
0 siblings, 1 reply; 7+ messages in thread
From: Arnaldo Carvalho de Melo @ 2019-05-13 19:22 UTC (permalink / raw)
To: Florian Fainelli
Cc: Arnaldo Carvalho de Melo, Will Deacon, Jiri Olsa, linux-kernel,
bcm-kernel-feedback-list, Peter Zijlstra, Ingo Molnar,
Alexander Shishkin, Namhyung Kim, Mark Rutland, Catalin Marinas,
moderated list:ARM PMU PROFILING AND DEBUGGING
Em Mon, May 13, 2019 at 11:04:49AM -0700, Florian Fainelli escreveu:
> On 5/2/19 4:57 PM, Arnaldo Carvalho de Melo wrote:
> > Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:
> >> On 4/8/19 9:26 AM, Will Deacon wrote:
> >>> Acked-by: Will Deacon <will.deacon@arm.com>
> >> Thanks! Can this be picked up?
> > Thanks, applied to perf/core.
> Thanks, I don't seem to be able to find it being pushed out to that tree
> or in linux-next.
What tree? acme/perf/core? That is the one I referred to, have you
looked instead at tip/perf/core? That one still doesn't have it, as I
was in LSFMM/BPF and then vacation and haven't pushed that to Ingo yet,
look at:
https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/core&id=c0c410e9c4f36972c393a4cc61368d92feb23d67
I can remove it and wait for your resubmit addressing the issues
discussed in that other message, ok?
- Arnaldo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events
2019-05-13 19:22 ` Arnaldo Carvalho de Melo
@ 2019-05-13 19:30 ` Florian Fainelli
0 siblings, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2019-05-13 19:30 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo, Florian Fainelli
Cc: Will Deacon, Jiri Olsa, linux-kernel, bcm-kernel-feedback-list,
Peter Zijlstra, Ingo Molnar, Alexander Shishkin, Namhyung Kim,
Mark Rutland, Catalin Marinas,
moderated list:ARM PMU PROFILING AND DEBUGGING
On 5/13/19 12:22 PM, Arnaldo Carvalho de Melo wrote:
> Em Mon, May 13, 2019 at 11:04:49AM -0700, Florian Fainelli escreveu:
>> On 5/2/19 4:57 PM, Arnaldo Carvalho de Melo wrote:
>>> Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:
>>>> On 4/8/19 9:26 AM, Will Deacon wrote:
>>>>> Acked-by: Will Deacon <will.deacon@arm.com>
>
>>>> Thanks! Can this be picked up?
>
>>> Thanks, applied to perf/core.
>
>> Thanks, I don't seem to be able to find it being pushed out to that tree
>> or in linux-next.
>
> What tree? acme/perf/core? That is the one I referred to, have you
> looked instead at tip/perf/core?
Yes that's the one I checked.
> That one still doesn't have it, as I
> was in LSFMM/BPF and then vacation and haven't pushed that to Ingo yet,
> look at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/core&id=c0c410e9c4f36972c393a4cc61368d92feb23d67
>
> I can remove it and wait for your resubmit addressing the issues
> discussed in that other message, ok?
OK, let's do that then, thanks!
--
Florian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-05-13 19:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 16:50 [PATCH] perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events Florian Fainelli
2019-04-08 16:26 ` Will Deacon
2019-05-02 21:28 ` Florian Fainelli
2019-05-02 23:57 ` Arnaldo Carvalho de Melo
2019-05-13 18:04 ` Florian Fainelli
2019-05-13 19:22 ` Arnaldo Carvalho de Melo
2019-05-13 19:30 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).