summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTimo Alho <talho@nvidia.com>2022-04-06 18:17:00 +0300
committerThierry Reding <treding@nvidia.com>2022-05-04 12:30:32 +0300
commit2db12b15c6f3e41ae2f2b3bb15627f28d1eaf715 (patch)
tree4876ba278f5759b8ae8f8fbb40de886dbaaa18d9 /scripts/gdb/linux/utils.py
parent23a43cc437e747473d5f8f98b4fe189fb5c433b7 (diff)
downloadlinux-2db12b15c6f3e41ae2f2b3bb15627f28d1eaf715.tar.xz
clk: tegra: Register clocks from root to leaf
Current clock initialization causes intermediate registering of orphan clocks (i.e. a clock without a parent registered). CCF keeps track of orphan clocks and any time a new clock is registered, it will loop through the list of orphan and queries if the parent is now available. This operation triggers one or more clock operations, which are IPCs with BPMP-FW. Hence, due to the order in which the clocks appear currently, this causes > 5000 IPC messages to be sent to BPMP-FW during clock initialization. Optimize the clock probing by registering clocks hierarchically from root clock towards leafs. Signed-off-by: Timo Alho <talho@nvidia.com> [jonathanh@nvidia.com: checkpatch fixes] Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions