diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2024-05-29 10:03:56 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-01 16:42:59 +0200 |
commit | d0d7c66c537d36fbb87c515edb695c1e8ea3cdcb (patch) | |
tree | 46b3131dc59a5cc27878fed1796c9c8789ababf9 /security/lockdown | |
parent | perf: imx_perf: fix counter start and config sequence (diff) | |
download | linux-d0d7c66c537d36fbb87c515edb695c1e8ea3cdcb.tar.xz linux-d0d7c66c537d36fbb87c515edb695c1e8ea3cdcb.zip |
perf: imx_perf: add support for i.MX95 platform
i.MX95 has a DDR PMU which is almostly same as i.MX93, it now supports
read beat and write beat filter capabilities. This will add support for
i.MX95 and enhance the driver to support specific filter handling for it.
Usage:
For read beat:
~# perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_rd_beat_filt2,axi_mask=ID_MASK,axi_id=ID/
~# perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_rd_beat_filt1,axi_mask=ID_MASK,axi_id=ID/
~# perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_rd_beat_filt0,axi_mask=ID_MASK,axi_id=ID/
eg: For edma2: perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_rd_beat_filt0,axi_mask=0x00f,axi_id=0x00c/
For write beat:
~# perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_wr_beat_filt,axi_mask=ID_MASK,axi_id=ID/
eg: For edma2: perf stat -a -I 1000 -e imx9_ddr0/eddrtq_pm_wr_beat_filt,axi_mask=0x00f,axi_id=0x00c/
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240529080358.703784-6-xu.yang_2@nxp.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'security/lockdown')
0 files changed, 0 insertions, 0 deletions