ARM: perf: Support i.MX53
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ARM: perf: Support i.MX53
Hi Martin,
Quoted 6 lines · Martin Fuzzey
This series enables hardware performance counters on the i.MX53 SoC
This requires setting registers at both the ARM V7 core level and the i.MX53 SoC level.
From a quick look at the patches, it sounds like you're booting in secure
mode and are trying to use perf there. Whilst I understand that you may want to do this, I don't think the code you currently have is quite right:
- It accesses the SDER unconditionally, which is undefined for non-secure modes.
- It adds yet more callbacks to arm_pmu_platdata
Instead, how about we add a new property on the PMU node that says it requires secure access, then we use that to configuer SDER in the perf code. Then you can do your SoC-specific magic as part of the runtime PM hooks we already have (it looks like enabled/disabling a clock really).
Will