summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2026-07-21 13:17:51 -0500
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-07-27 14:42:16 +0300
commit9cef693bce96bb4c6952f48d855284cf7fa4f367 (patch)
tree94c49ad33061cfb03dd26cd0e878e0112a33eb87 /tools/perf/scripts/python/stackcollapse.py
parentc7acedb2db001160b1ec41cdcc759dd664150666 (diff)
platform/x86/amd/pmc: Restore msg_port on amd_stb_s2d_init() error paths
dev->msg_port is switched to MSG_PORT_S2D before issuing the S2D SMU commands but is only restored to MSG_PORT_PMC on the success path. The early "return -EIO" and "return -ENOMEM" leave the port stuck on MSG_PORT_S2D, so all subsequent SMU communication - including the s2idle prepare/restore handlers - is directed at the wrong mailbox. Consolidate the exit path through a single label so the message port is always restored. Fixes: 3d7d407dfb05 ("platform/x86: amd-pmc: Add support for AMD Spill to DRAM STB feature") Cc: stable@vger.kernel.org Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patch.msgid.link/20260721181756.143084-2-mario.limonciello@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions