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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:34:49 +0000 (09:34 +0000)
commit81909bd070db431e9ef271aa58d2d6fb9df91616
tree4540e895b0b51e2d4a9efedf7d6bfde1e0cea1ff
parentb02b0a6bcc81c76d243eddcfed7271c8e54fde40
perf/imx_ddr: Add enhanced AXI ID filter support

[ Upstream commit 44f8bd014a94ed679ddb77d0b92350d4ac4f23a5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/perf/fsl_imx8_ddr_perf.c