Skip to contentSkip to conversation

MAINTAINERS: coresight: Add filename catchall for Coresight

PATCH In review James Clark 3 participants 4 messages Oct 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: coresight: Add filename catchall for Coresight

There are a few files missing from the list like test_arm_coresight.sh and arm-coresight.txt. These could be picked up just with a name match.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 90f13281d297..3ee45066b7e4 100644
@@ -2066,6 +2066,7 @@ F:	tools/perf/arch/arm/util/pmu.c
 F:	tools/perf/tests/shell/coresight/*
 F:	tools/perf/util/cs-etm-decoder/*
 F:	tools/perf/util/cs-etm.*
+N:	coresight
 
 ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
 M:	Hans Ulli Kroll <[email protected]>
Signature · 1 line
2.34.1
#1 lore raw

Won't this also pick up....

drivers/accel/habanalabs/gaudi/gaudi_coresight.c

?

Which isn't part of anything we maintain

Quoted 24 lines · James Clark

There are a few files missing from the list like test_arm_coresight.sh and arm-coresight.txt. These could be picked up just with a name match.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -1
index 90f13281d297..3ee45066b7e4 100644
@@ -2066,6 +2066,7 @@ F:        tools/perf/arch/arm/util/pmu.c
 F:     tools/perf/tests/shell/coresight/*
 F:     tools/perf/util/cs-etm-decoder/*
 F:     tools/perf/util/cs-etm.*
+N:     coresight
 
 ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
 M:     Hans Ulli Kroll <[email protected]>
--

2.34.1

Signature · 3 lines
Mike Leach
Principal Engineer, ARM Ltd.
Manchester Design Centre. UK
#2 lore raw
Quoted 8 lines · Mike Leach

Won't this also pick up....

drivers/accel/habanalabs/gaudi/gaudi_coresight.c

?

Which isn't part of anything we maintain

Ah ok I did try to check for other non Arm Coresight files with Coresight in the name and didn't find any, but I must have missed that one.

I will just explicitly add the missing ones instead.

Although on further inspection it does seem to be related to some Arm Coresight implementation, although not one that fits in the existing Perf or Coresight driver framework. So I'm not sure if there could ever be any sharing of code between the two, maybe not from an initial glance.

Quoted 27 lines · James Clark
Quoted 24 lines

There are a few files missing from the list like test_arm_coresight.sh and arm-coresight.txt. These could be picked up just with a name match.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -1
index 90f13281d297..3ee45066b7e4 100644
@@ -2066,6 +2066,7 @@ F:        tools/perf/arch/arm/util/pmu.c
 F:     tools/perf/tests/shell/coresight/*
 F:     tools/perf/util/cs-etm-decoder/*
 F:     tools/perf/util/cs-etm.*
+N:     coresight
 
 ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
 M:     Hans Ulli Kroll <[email protected]>
--

2.34.1

#3 lore raw
Quoted 12 lines · James Clark
Quoted 8 lines · Mike Leach

Won't this also pick up....

drivers/accel/habanalabs/gaudi/gaudi_coresight.c

?

Which isn't part of anything we maintain

Quoted 7 lines

Ah ok I did try to check for other non Arm Coresight files with Coresight in the name and didn't find any, but I must have missed that one.

I will just explicitly add the missing ones instead.

Although on further inspection it does seem to be related to some Arm Coresight implementation, although not one that fits in the existing

True, indeed it is hand written code sequence that we do for the normal CoreSight components. The access to the components looks a bit convoluted. However, with the coresight_access abstraction we have, it is possible to abstract it away and move the driver framework to CoreSight drivers.

Quoted 2 lines

Perf or Coresight driver framework. So I'm not sure if there could ever be any sharing of code between the two, maybe not from an initial glance.

Nothing that we could do at the moment without support from the habana labs folks.

Suzuki

Quoted 28 lines
Quoted 28 lines · James Clark
Quoted 24 lines

There are a few files missing from the list like test_arm_coresight.sh and arm-coresight.txt. These could be picked up just with a name match.

---
  MAINTAINERS | 1 +
  1 file changed, 1 insertion(+)
MAINTAINERS +1 -1
index 90f13281d297..3ee45066b7e4 100644
@@ -2066,6 +2066,7 @@ F:        tools/perf/arch/arm/util/pmu.c
  F:     tools/perf/tests/shell/coresight/*
  F:     tools/perf/util/cs-etm-decoder/*
  F:     tools/perf/util/cs-etm.*
+N:     coresight
 
  ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
  M:     Hans Ulli Kroll <[email protected]>
--

2.34.1