summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPratap Nirujogi <pratap.nirujogi@amd.com>2026-03-11 12:15:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-03-17 10:49:52 -0400
commitc51632d1ed7ac5aed2d40dbc0718d75342c12c6a (patch)
tree541365405fb9ea4a30aac23a1a9712fe7a5dcd24 /tools/perf/scripts/python/stackcollapse.py
parente14d468304832bcc4a082d95849bc0a41b18ddea (diff)
drm/amdgpu: Fix ISP segfault issue in kernel v7.0
Add NULL pointer checks for dev->type before accessing dev->type->name in ISP genpd add/remove functions to prevent kernel crashes. This regression was introduced in v7.0 as the wakeup sources are registered using physical device instead of ACPI device. This led to adding wakeup source device as the first child of AMDGPU device without initializing dev-type variable, and resulted in segfault when accessed it in the amdgpu isp driver. Fixes: 057edc58aa59 ("ACPI: PM: Register wakeup sources under physical devices") Suggested-by: Bin Du <Bin.Du@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions