Xu Yang fef1a538af perf: imx_perf: fix counter start and config sequence
[ Upstream commit ac9aa295f7a89d38656739628796f086f0b160e2 ]

In current driver, the counter will start firstly and then be configured.
This sequence is not correct for AXI filter events since the correct
AXI_MASK and AXI_ID are not set yet. Then the results may be inaccurate.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Fixes: 55691f99d417 ("drivers/perf: imx_ddr: Add support for NXP i.MX9 SoC DDRC PMU driver")
cc: stable@vger.kernel.org
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240529080358.703784-5-xu.yang_2@nxp.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-11 12:57:47 +02:00
..
2024-05-16 08:50:32 -07:00
2024-06-08 10:48:11 -07:00
2024-05-14 18:25:53 -07:00
2024-05-23 12:04:36 -07:00
2024-05-23 12:04:36 -07:00
2024-05-08 19:21:51 +01:00
2024-05-23 12:04:36 -07:00
2024-05-24 10:24:49 -07:00