aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2024-08-14 13:44:34 +0800
committerPalmer Dabbelt <[email protected]>2024-10-17 11:34:43 -0700
commit27b4d6aa29abe6c4f0b7695bc831fcc8d32267d9 (patch)
tree8fc7e3c5b6717449b60e94d861dbd4ade3e1e857 /tools/perf/scripts/python/gecko.py
parentf8a23e3b79d6c622e1b329706cbd802bc88a058f (diff)
cpuidle: riscv-sbi: Add cpuidle_disabled() check
The consumer devices that inside the cpu/cluster power domain may register the genpd notifier where their power domains point to the pd nodes under '/cpus/power-domains'. If the cpuidle.off==1, the genpd notifier will fail due to sbi_cpuidle_pd_allow_domain_state is not set. We also need the sbi_cpuidle_cpuhp_up/down to invoke the callbacks. Therefore adding a cpuidle_disabled() check before cpuidle_register() to address the issue. Signed-off-by: Nick Hu <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions