summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorXiang Liu <xiang.liu@amd.com>2026-06-23 10:59:18 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:47:46 -0400
commit2bf6867e5953a140fc91c3159987656e44ed29fb (patch)
tree31db2c1dbaab52f02f78620e5735edaad03e74fe /tools/perf/scripts/python/bin/stackcollapse-record
parent2d222780579fad6c46532d147c795a55d4604bfd (diff)
drm/amd/pm: Guard VBIOS AC timing table walk
Reject AC timing blocks with a stride smaller than a dword before walking VBIOS data. A zero stride can otherwise keep reg_data pinned on a nonmatching MEM_ID forever. Also bound the data-block and END marker reads by the returned VRAM_Info table size so malformed index/data sizes do not push the timing walk past the table. Signed-off-by: Xiang Liu <xiang.liu@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions