summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorChuan Liu <chuan.liu@amlogic.com>2026-09-20 18:25:05 +0800
committerNeil Armstrong <neil.armstrong@linaro.org>2026-10-02 11:24:25 +0200
commitabb63af22300c59e0e8dca322c21ed186ba7e51f (patch)
tree4c4e6abbec0385c7ac34419b0b706ac61811b447 /tools/perf/scripts/python/flamegraph.py
parent668232197683898b1dbab05d6f1e7f93084160c1 (diff)
soc: amlogic: clk-measure: Support more measurement channels
On S4 and C3, as well as later SoCs, the clk-measure IP expands the number of supported measurement channels from 128 to 256. Accordingly, the MSR_CLK_SRC field in the register is extended from 7 bits to 8 bits. To support both the old and new implementations, the driver now uniformly defines the valid MSR_CLK_SRC field as bits[27:20]. For SoCs where MSR_CLK_SRC is only 7 bits wide, the driver never sets bit27, and on those SoCs bit27 is read-only. Therefore, using bits[27:20] as the unified field definition does not introduce any behavioral change or compatibility issue for existing SoCs. Signed-off-by: Chuan Liu <chuan.liu@amlogic.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260920-more-socs-to-support-clk_measure-v2-3-224382a429e8@amlogic.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions