Skip to contentSkip to conversation

bus: arm-ccn: Enable stats for CCN-512 interconnect

PATCH In review [email protected] 4 participants 7 messages Oct 7, 2019 – Oct 28, 2019

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

PATCH 1/2 bus: arm-ccn: Enable stats for CCN-512 interconnect

From: Marek Bykowski <[email protected]>

Add compatible string for the ARM CCN-512 interconnect

---
 drivers/perf/arm-ccn.c | 1 +
 1 file changed, 1 insertion(+)
drivers/perf/arm-ccn.c +1 -0
index 7dd850e02f19..b6e00f35a448 100644
@@ -1545,6 +1545,7 @@ static int arm_ccn_remove(struct platform_device *pdev)
 static const struct of_device_id arm_ccn_match[] = {
 	{ .compatible = "arm,ccn-502", },
 	{ .compatible = "arm,ccn-504", },
+	{ .compatible = "arm,ccn-512", },
 	{},
 };
 MODULE_DEVICE_TABLE(of, arm_ccn_match);
Signature · 1 line
2.21.0.896.g6a6c0f1
#1 lore raw

PATCH 2/2 Documentation: Add documentation for CCN-512 DTS binding

From: Marek Bykowski <[email protected]>

Indicate the arm-ccn perf back-end supports now ccn-512.

---
 Documentation/devicetree/bindings/perf/arm-ccn.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/perf/arm-ccn.txt +1 -0
index 43b5a71a5a9d..1c53b5aa3317 100644
@@ -6,6 +6,7 @@ Required properties:
 	"arm,ccn-502"
 	"arm,ccn-504"
 	"arm,ccn-508"
+	"arm,ccn-512"
 
 - reg: (standard registers property) physical address and size
 	(16MB) of the configuration registers block
Signature · 1 line
2.21.0.896.g6a6c0f1
maintainer Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] Documentation: Add documentation for CCN-512 DTS binding

Quoted 9 lines · On Mon, 7 Oct 2019 15:21:15 +0200, [email protected] wrote:

From: Marek Bykowski <[email protected]>

Indicate the arm-ccn perf back-end supports now ccn-512.

---
 Documentation/devicetree/bindings/perf/arm-ccn.txt | 1 +
 1 file changed, 1 insertion(+)

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
In reply to [email protected]

Add compatible string for the ARM CCN-502 interconnect

---
Changelog v1->v2:
- Change the subject to reflect where the driver got moved to (drivers/perf) from (drivers/bus).
- Add credit to my work mate that helped me validate the counts from the interconnect.

---
 drivers/perf/arm-ccn.c | 1 +
 1 file changed, 1 insertion(+)
drivers/perf/arm-ccn.c +1 -0
index 7dd850e02f19..b6e00f35a448 100644
@@ -1545,6 +1545,7 @@ static int arm_ccn_remove(struct platform_device *pdev)
 static const struct of_device_id arm_ccn_match[] = {
        { .compatible = "arm,ccn-502", },
        { .compatible = "arm,ccn-504", },
+       { .compatible = "arm,ccn-512", },
        {},
 };
 MODULE_DEVICE_TABLE(of, arm_ccn_match);
#4 lore raw

Re: [PATCHv3 1/2] perf: arm-ccn: Enable stats for CCN-512 interconnect

Add compatible string for the ARM CCN-512 interconnect

---
Changelog v2->v3
- Correcting copy-paste typo: this commit adds compatible string for CCN-512 and not for CCN-502 which has already a support for.
- Now *for real* change the subject to reflect where the driver got moved to (drivers/perf) from (drivers/bus).
Changelog v1->v2:
- Change the subject to reflect where the driver got moved to (drivers/perf) from (drivers/bus).
- Add credit to my work mate that helped me validate the counts from the interconnect.

---
 drivers/perf/arm-ccn.c | 1 +
 1 file changed, 1 insertion(+)
drivers/perf/arm-ccn.c +1 -0
index 7dd850e02f19..b6e00f35a448 100644
@@ -1545,6 +1545,7 @@ static int arm_ccn_remove(struct platform_device *pdev)
 static const struct of_device_id arm_ccn_match[] = {
        { .compatible = "arm,ccn-502", },
        { .compatible = "arm,ccn-504", },
+       { .compatible = "arm,ccn-512", },
        {},
 };
 MODULE_DEVICE_TABLE(of, arm_ccn_match);
maintainer
#5 lore raw

Re: [PATCHv3 1/2] perf: arm-ccn: Enable stats for CCN-512 interconnect

Quoted 4 lines · Marek Bykowski

Add compatible string for the ARM CCN-512 interconnect

I've queued this (and the docs change), but does it really need two sign-offs for a one-line change? Boleslaw isn't even on cc!

Will

Quoted 15 lines
 drivers/perf/arm-ccn.c | 1 +
 1 file changed, 1 insertion(+)
drivers/perf/arm-ccn.c +1 -0
index 7dd850e02f19..b6e00f35a448 100644
@@ -1545,6 +1545,7 @@ static int arm_ccn_remove(struct platform_device *pdev)
 static const struct of_device_id arm_ccn_match[] = {
        { .compatible = "arm,ccn-502", },
        { .compatible = "arm,ccn-504", },
+       { .compatible = "arm,ccn-512", },
        {},
 };
 MODULE_DEVICE_TABLE(of, arm_ccn_match);
Acked-by
#6 lore raw
In reply to Marek Bykowski
Quoted 19 lines · Marek Bykowski

Add compatible string for the ARM CCN-502 interconnect

---
Changelog v1->v2:
- Change the subject to reflect where the driver got moved to (drivers/perf) from (drivers/bus).
- Add credit to my work mate that helped me validate the counts from the interconnect.

---
 drivers/perf/arm-ccn.c | 1 +
 1 file changed, 1 insertion(+)
drivers/perf/arm-ccn.c +0 -0
index 7dd850e02f19..b6e00f35a448 100644

drivers/perf/arm-ccn.c static int arm_ccn_remove(struct platform_device *pdev) · line 1551

Quoted 7 lines
drivers/perf/arm-ccn.c +1 -0
@@ -1545,6 +1545,7 @@ static int arm_ccn_remove(struct platform_device *pdev)
 static const struct of_device_id arm_ccn_match[] = {
        { .compatible = "arm,ccn-502", },
        { .compatible = "arm,ccn-504", },
+       { .compatible = "arm,ccn-512", },
        {},
 };
 MODULE_DEVICE_TABLE(of, arm_ccn_match);

Thanks!

Pawel