summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2023-05-09 09:36:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 13:59:07 +0200
commit748713da3b4d1cf2a4ea86a5a1e51f7123b3ca73 (patch)
tree8205bf82de576ac976750907025a8de52b59f397 /tools/perf/scripts/python/stackcollapse.py
parent71e1f44077db83e205db70a684c1f2c5d2247174 (diff)
drm/amd/pm: avoid potential UBSAN issue on legacy asics
commit 5247f05eadf1081a74b2233f291cee2efed25e3a upstream. Prevent further dpm casting on legacy asics without od_enabled in amdgpu_dpm_is_overdrive_supported. This can avoid UBSAN complain in init sequence. v2: add a macro to check legacy dpm instead of checking asic family/type v3: refine macro name for naming consistency Suggested-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions