linux-kernelorg-stable/drivers/cpuidle
Rafael J. Wysocki 7b1b796117 cpuidle: Fail cpuidle device registration if there is one already
Refuse to register a cpuidle device if the given CPU has a cpuidle
device already and print a message regarding it.

Without this, an attempt to register a new cpuidle device without
unregistering the existing one leads to the removal of the existing
cpuidle device without removing its sysfs interface.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2025-09-20 13:08:54 +02:00
..
governors cpuidle: governors: menu: Rearrange main loop in menu_select() 2025-08-21 22:02:28 +02:00
Kconfig
Kconfig.arm
Kconfig.mips
Kconfig.powerpc
Kconfig.riscv
Makefile tracing: Disable branch profiling in noinstr code 2025-03-22 09:49:26 +01:00
coupled.c
cpuidle-arm.c cpuidle: Init cpuidle only for present CPUs 2025-03-12 21:31:59 +01:00
cpuidle-at91.c
cpuidle-big_little.c cpuidle: Init cpuidle only for present CPUs 2025-03-12 21:31:59 +01:00
cpuidle-calxeda.c
cpuidle-clps711x.c
cpuidle-cps.c
cpuidle-exynos.c
cpuidle-haltpoll.c
cpuidle-kirkwood.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
cpuidle-mvebu-v7.c
cpuidle-powernv.c
cpuidle-psci-domain.c cpuidle: psci: Drop redundant sync_state support 2025-07-09 13:30:01 +02:00
cpuidle-psci.c cpuidle: psci: Fix cpuhotplug routine with PREEMPT_RT=y 2025-07-14 13:09:04 +02:00
cpuidle-psci.h cpuidle: psci: Correct the domain-idlestate statistics in debugfs 2025-04-23 10:08:34 +02:00
cpuidle-pseries.c
cpuidle-qcom-spm.c cpuidle: qcom-spm: drop unnecessary initialisations 2025-09-10 12:49:52 +02:00
cpuidle-riscv-sbi.c cpuidle: riscv-sbi: Drop redundant sync_state support 2025-07-09 13:30:06 +02:00
cpuidle-tegra.c
cpuidle-ux500.c
cpuidle-zynq.c
cpuidle.c cpuidle: Fail cpuidle device registration if there is one already 2025-09-20 13:08:54 +02:00
cpuidle.h
driver.c
dt_idle_genpd.c
dt_idle_genpd.h
dt_idle_states.c cpuidle: dt: fix opencoded for_each_cpu() in idle_state_valid() 2025-07-10 14:53:28 +02:00
dt_idle_states.h
governor.c
poll_state.c
sysfs.c cpuidle: sysfs: Use sysfs_emit()/sysfs_emit_at() instead of sprintf()/scnprintf() 2025-09-20 13:06:37 +02:00