Thread (4 messages) 4 messages, 3 authors, 2021-02-01

Re: [PATCH] cpufreq: Remove CPUFREQ_STICKY flag

From: Dominik Brodowski <linux@dominikbrodowski.net>
Date: 2021-02-01 09:45:14
Also in: linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-mips, linux-omap, linux-pm, linux-samsung-soc, lkml

Viresh,

Am Mon, Feb 01, 2021 at 01:35:51PM +0530 schrieb Viresh Kumar:
The removal of such a driver is avoided if the driver carries the
CPUFREQ_STICKY flag. This was added way back [1] in 2004 and perhaps no
one should ever need it now. A lot of driver do set this flag, probably
because they just copied it from another driver.
IIRC, it was required on various ARM systems,[*] as CPUs were registered as
subsys_initcall(), while cpufreq used to be initialized only later, as an
arch_initcall(). If the ordering is opposite now on all architectures (it
wasn't on ARM back then), we should be fine.

[*] https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/arch/arm/mach-sa1100/cpu-sa1100.c?id=f59d3bbe35f6268d729f51be82af8325d62f20f5

Thanks,
	Dominik
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help