On 11/07/2022 16:41, Tamas Zsoldos wrote:
etm4x devices cannot be successfully probed when their CPU is offline. For example, when booting with maxcpus=n, ETM probing will fail on CPUs >n, and the probing won't be reattempted once the CPUs come online. This will leave those CPUs unable to make use of ETM.
This change adds a mechanism to delay the probing if the corresponding CPU is offline, and to try it again when the CPU comes online.
Signed-off-by: Tamas Zsoldos tamas.zsoldos@arm.com
Changes since v2:
- Fix tear down issue (thanks to Suzuki).
Apologies for missing this one. I have now queued to next [0]
[0] https://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git/commit/?...
Suzuki