aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2026-04-30 19:30:28 +0100
committerConor Dooley <conor.dooley@microchip.com>2026-05-20 16:51:28 +0100
commitc8a3be5bc2b2f2d53c56a8b9cab731e917b95c07 (patch)
tree1796f4df07c5a6db75912ff0157dbc6c70a56a4e /tools/perf/scripts/python/task-analyzer.py
parentb6f6ebb0fb57ae6da622fb8fd4ebdc9ba1ae5756 (diff)
clk: microchip: mpfs-ccc: fix peripheral driver registration failures after oob fix
Commit 2f7ae8ab6aa73 ("clk: microchip: mpfs-ccc: fix out of bounds access during output registration") fixed the out of bounds access, but it did so by packing sparse indices into a linear space. When peripheral drivers request clocks, they obviously don't care for this compression and use the sparse indices, and therefore try to request the wrong clocks or clocks that don't exist. The most straightforward fix here seems to stop being clever with the packing and just overallocate the array. Fixes: 2f7ae8ab6aa73 ("clk: microchip: mpfs-ccc: fix out of bounds access during output registration") Fixes: d39fb172760e ("clk: microchip: add PolarFire SoC fabric clock support") Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions