Loading
coresight: etm4x: add CPU hotplug support for probing
mainline inclusion from mainline-v6.2-rc1 commit 3c728e07 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAKVFA CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3c728e079d83f581a1f8b7755f6e26087b15c4fb -------------------------------- 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> Signed-off-by:
Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20220705145935.24679-1-tamas.zsoldos@arm.com Signed-off-by:
Junhao He <hejunhao3@huawei.com>