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

From: Marek Bykowski
Date: Wed Oct 16 2019 - 05:57:53 EST


Add compatible string for the ARM CCN-512 interconnect

Signed-off-by: Marek Bykowski <marek.bykowski@xxxxxxxxx>
Signed-off-by: Boleslaw Malecki <boleslaw.malecki@xxxxxxxxx>
---
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(+)

diff --git a/drivers/perf/arm-ccn.c b/drivers/perf/arm-ccn.c
index 7dd850e02f19..b6e00f35a448 100644
--- a/drivers/perf/arm-ccn.c
+++ b/drivers/perf/arm-ccn.c
@@ -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);