cpufreq: Add the "cpufreq.off=1" cmdline option
authorLen Brown <len.brown@intel.com>
Tue, 28 Feb 2017 21:44:16 +0000 (16:44 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 5 Mar 2017 23:05:31 +0000 (00:05 +0100)
commitd82f26925599cae83c38d17d07ae982356e81318
tree3ee139fb6287426538053878a874a0231f51821a
parent6407829901f074cf6beef566d6af9a0b0e238f0d
cpufreq: Add the "cpufreq.off=1" cmdline option

Add the "cpufreq.off=1" cmdline option.

At boot-time, this allows a user to request CONFIG_CPU_FREQ=n
behavior from a kernel built with CONFIG_CPU_FREQ=y.

This is analogous to the existing "cpuidle.off=1" option
and CONFIG_CPU_IDLE=y

This capability is valuable when we need to debug end-user
issues in the BIOS or in Linux.  It is also convenient
for enabling comparisons, which may otherwise require a new kernel,
or help from BIOS SETUP, which may be buggy or unavailable.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/admin-guide/kernel-parameters.txt
drivers/cpufreq/cpufreq.c