Commit 2697b79a authored by Xu Yang's avatar Xu Yang Committed by Namhyung Kim

perf vendor events arm64:: Add i.MX93 DDR Performance Monitor metrics

Add JSON metrics for i.MX93 DDR Performance Monitor.
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarXu Yang <xu.yang_2@nxp.com>
Cc: festevam@gmail.com
Cc: conor+dt@kernel.org
Cc: robh+dt@kernel.org
Cc: shawnguo@kernel.org
Cc: will@kernel.org
Cc: krzysztof.kozlowski+dt@linaro.org
Cc: mike.leach@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: imx@lists.linux.dev
Cc: john.g.garry@oracle.com
Cc: kernel@pengutronix.de
Cc: s.hauer@pengutronix.de
Cc: devicetree@vger.kernel.org
Link: https://lore.kernel.org/r/20240529080358.703784-7-xu.yang_2@nxp.comSigned-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 1059fb52
[
{
"BriefDescription": "ddr cycles event",
"EventCode": "0x00",
"EventName": "imx93_ddr.cycles",
"Unit": "imx9_ddr",
"Compat": "imx93"
}
]
[
{
"BriefDescription": "bandwidth usage for lpddr4x evk board",
"MetricName": "imx93_bandwidth_usage.lpddr4x",
"MetricExpr": "(((( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8 ) + (( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32 )) / duration_time) / (3733 * 1000000 * 2)",
"ScaleUnit": "1e2%",
"Unit": "imx9_ddr",
"Compat": "imx93"
},
{
"BriefDescription": "bytes all masters read from ddr",
"MetricName": "imx93_ddr_read.all",
"MetricExpr": "( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8",
"ScaleUnit": "9.765625e-4KB",
"Unit": "imx9_ddr",
"Compat": "imx93"
},
{
"BriefDescription": "bytes all masters write to ddr",
"MetricName": "imx93_ddr_write.all",
"MetricExpr": "( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32",
"ScaleUnit": "9.765625e-4KB",
"Unit": "imx9_ddr",
"Compat": "imx93"
}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment