On Tue, 05 May 2026 17:51:25 +0100, James Clark wrote:
System register ETMs and ETE are unlikely to be preserved on CPU power down. The ETE DT binding also never documented "arm,coresight-loses-context-with-cpu" so nobody would have legitimately been able to use that binding to fix it and ACPI has no such binding at all.
Fix it by hard coding the setting for sysreg ETMs (ETE is always sysreg) or ACPI boots. Use a local variable when setting up save_state so that it's immune to concurrent probing when devices have different configurations which is an issue with modifying the global.
[...]
Applied, thanks!
[1/1] coresight: ete: Always save state on power down https://git.kernel.org/coresight/c/2ab4645fe420
Best regards,