Skip to contentSkip to conversation

perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events

PATCH Applied Florian Fainelli 3 participants 7 messages Apr 5, 2019 – May 13, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf vendor events arm64: Map Brahma-B53 CPUID to cortex-a53 events

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.

---
 tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
 1 file changed, 1 insertion(+)
tools/perf/pmu-events/arch/arm64/mapfile.csv +1 -0
index 59cd8604b0bd..e97c12484bc6 100644
@@ -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
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Florian Fainelli

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.

---
 tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
 1 file changed, 1 insertion(+)
tools/perf/pmu-events/arch/arm64/mapfile.csv +0 -0
index 59cd8604b0bd..e97c12484bc6 100644

tools/perf/pmu-events/arch/arm64/mapfile.csv line 19

Quoted 7 lines
tools/perf/pmu-events/arch/arm64/mapfile.csv +1 -0
@@ -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

Will

#2 lore raw
Quoted 10 lines · Will Deacon
Quoted 9 lines · Florian Fainelli

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.

---
 tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
 1 file changed, 1 insertion(+)
Quoted 14 lines

tools/perf/pmu-events/arch/arm64/mapfile.csv line 19

Quoted 12 lines
tools/perf/pmu-events/arch/arm64/mapfile.csv +1 -0
index 59cd8604b0bd..e97c12484bc6 100644
@@ -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

Thanks! Can this be picked up?

Signature · 1 line
Florian
#3 lore raw

Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:

Quoted 26 lines · Will Deacon
Quoted 10 lines · Florian Fainelli
Quoted 9 lines

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.

---
 tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
 1 file changed, 1 insertion(+)
Quoted 14 lines

tools/perf/pmu-events/arch/arm64/mapfile.csv line 19

Quoted 12 lines
tools/perf/pmu-events/arch/arm64/mapfile.csv +1 -0
index 59cd8604b0bd..e97c12484bc6 100644
@@ -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
Quoted 1 line

Thanks! Can this be picked up?

Thanks, applied to perf/core.

- Arnaldo

#4 lore raw
Quoted 27 lines · Arnaldo Carvalho de Melo

Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:

Quoted 26 lines · Will Deacon
Quoted 24 lines · Florian Fainelli
Quoted 14 lines

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.

---
 tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 +
 1 file changed, 1 insertion(+)
tools/perf/pmu-events/arch/arm64/mapfile.csv +0 -0
index 59cd8604b0bd..e97c12484bc6 100644

tools/perf/pmu-events/arch/arm64/mapfile.csv line 19

Quoted 7 lines
tools/perf/pmu-events/arch/arm64/mapfile.csv +1 -0
@@ -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
Quoted 3 lines
Quoted 1 line

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.

Signature · 1 line
Florian
#5 lore raw

Em Mon, May 13, 2019 at 11:04:49AM -0700, Florian Fainelli escreveu:

Quoted 11 lines · Arnaldo Carvalho de Melo
Quoted 7 lines

Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:

Quoted 4 lines · Will Deacon
Quoted 1 line

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

#6 lore raw
Quoted 8 lines · Arnaldo Carvalho de Melo

Em Mon, May 13, 2019 at 11:04:49AM -0700, Florian Fainelli escreveu:

Quoted 6 lines · Arnaldo Carvalho de Melo
Quoted 5 lines

Em Thu, May 02, 2019 at 02:28:02PM -0700, Florian Fainelli escreveu:

Quoted 4 lines · Will Deacon
Quoted 1 line

Thanks! Can this be picked up?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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.

Quoted 8 lines

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!

Signature · 1 line
Florian