perf/imx_ddr: Add enhanced AXI ID filter support
authorJoakim Zhang <qiangqing.zhang@nxp.com>
Fri, 1 Nov 2019 08:36:16 +0000 (08:36 +0000)
committerWill Deacon <will@kernel.org>
Mon, 4 Nov 2019 16:27:34 +0000 (16:27 +0000)
commit44f8bd014a94ed679ddb77d0b92350d4ac4f23a5
tree7b13d33509821f55326b31b5a6fb400dd4a36e10
parent1178addaca66292b309b3cbbdc12421cef4894b2
perf/imx_ddr: Add enhanced AXI ID filter support

With DDR_CAP_AXI_ID_FILTER quirk, indicating HW supports AXI ID filter
which only can get bursts from DDR transaction, i.e. DDR read/write
requests.

This patch add DDR_CAP_AXI_ID_ENHANCED_FILTER quirk, indicating HW
supports AXI ID filter which can get bursts and bytes from DDR
transaction at the same time. We hope PMU always return bytes in the
driver due to it is more meaningful for users.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/fsl_imx8_ddr_perf.c