ARM: imx: Add AXI address filter support for MMDC profiling
authorTiberiu Breana <andrei-tiberiu.breana@nxp.com>
Wed, 15 Feb 2017 12:00:26 +0000 (14:00 +0200)
committerShawn Guo <shawnguo@kernel.org>
Thu, 9 Mar 2017 17:19:27 +0000 (18:19 +0100)
commit55edcbb2db3a41c1520425b84c620286f4e5e394
tree543f67d9c460dfe59e01dfbf482e0b824e7adf89
parent579616bac106282b1f0d4cf4026e54a1e1326a2f
ARM: imx: Add AXI address filter support for MMDC profiling

Add support for an extra config parameter for perf commands:
axi_id, which will be written in the MMDC's MADPCR1 register,
to filter memory usage profiling (see i.MX6 reference manual,
chapter 44.7 MMDC Profiling for AXI id usage).

Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Acked-by: Frank Li <Frank.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mmdc.c