summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKetan Patil <ketanp@nvidia.com>2026-09-03 18:25:20 +0000
committerKrzysztof Kozlowski <krzk@kernel.org>2026-09-15 09:06:34 +0200
commitf4e16143420f4021431cc652ebd71e176267ecbc (patch)
tree7a54bdabf0c684fafacc18a79bf2fb8b9531cb15 /tools/perf/scripts/python/task-analyzer.py
parentfb8af372f899690646444cd0b38a88ec52568cbc (diff)
memory: tegra: Refactor Tegra264 mc-err code
The MC and HUB error-logging paths on Tegra264 used large switch statements that interleaved register offsets, bit positions and decoding parameters for each error type, which made them hard to read and review. Turn the error logging into a more structured implementation: - Describe each MCF error type with a tegra264_mc_fault descriptor filled in by a small per-type get_offsets() callback, and move the register access, client lookup and reporting into a common tegra264_mc_report_fault() helper. - Describe each HUB error type with a static tegra264_hub_error_handler table, since the HUB register offsets are fixed on Tegra264. No functional change intended. Signed-off-by: Ketan Patil <ketanp@nvidia.com> Link: https://patch.msgid.link/20260903182520.950555-4-ketanp@nvidia.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions