diff options
author | Xu Yang <[email protected]> | 2024-05-29 16:03:55 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-07-01 15:42:59 +0100 |
commit | ac9aa295f7a89d38656739628796f086f0b160e2 (patch) | |
tree | 87e10838f0baa8d0532eb5fcd236ca4c1bd84f15 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | fab5e5a866e86054a78bedd1bd1d6707421149a5 (diff) |
perf: imx_perf: fix counter start and config sequence
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 <[email protected]>
Fixes: 55691f99d417 ("drivers/perf: imx_ddr: Add support for NXP i.MX9 SoC DDRC PMU driver")
cc: [email protected]
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions