summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2026-01-30 08:11:35 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-01-30 20:39:37 +0100
commit562357a6310f79e45844c3e980d410a1e8e02ce6 (patch)
tree70d08ce63ed0354c6aaec7453a1c2e0f528b5c24 /tools/perf/scripts/python/stackcollapse.py
parent432b119ab8d8bf1f550c247f7fbe960e87ba6c92 (diff)
downloadlinux-562357a6310f79e45844c3e980d410a1e8e02ce6.tar.gz
linux-562357a6310f79e45844c3e980d410a1e8e02ce6.zip
power: reset: tdx-ec-poweroff: fix restart
During testing, restart occasionally failed on Toradex modules. The issue was traced to an interaction between the EC-based reset/poweroff handler and the PSCI restart handler. While the embedded controller is resetting or powering off the module, the PSCI code may still be invoked, triggering an I2C transaction to the PMIC. This can leave the PMIC I2C in a frozen state. Add a delay after issuing the EC reset or power-off command to give the controller time to complete the operation and avoid falling back to another restart/poweroff provider. Also print an error message if sending the command to the embedded controller fails. Fixes: 18672fe12367 ("power: reset: add Toradex Embedded Controller") Cc: stable@vger.kernel.org Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://patch.msgid.link/20260130071208.1184239-1-ghidoliemanuele@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions