drivers/cpufreq/Kconfig.x86

Source file repositories/reference/linux-study-clean/drivers/cpufreq/Kconfig.x86

File Facts

System
Linux kernel
Corpus path
drivers/cpufreq/Kconfig.x86
Extension
.x86
Size
10525 bytes
Lines
330
Domain
Driver Families
Bucket
drivers/cpufreq
Inferred role
Driver Families: drivers/cpufreq
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# x86 CPU Frequency scaling drivers
#

config X86_INTEL_PSTATE
	bool "Intel P state control"
	select ACPI_PROCESSOR if ACPI
	select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
	select CPU_FREQ_GOV_PERFORMANCE
	select CPU_FREQ_GOV_SCHEDUTIL if SMP
	help
	  This driver provides a P state for Intel core processors.
	  The driver implements an internal governor and will become
	  the scaling driver and governor for Sandy bridge processors.

	  When this driver is enabled it will become the preferred
	  scaling driver for Sandy bridge processors.

	  If in doubt, say N.

config X86_PCC_CPUFREQ
	tristate "Processor Clocking Control interface driver"
	depends on ACPI && ACPI_PROCESSOR
	help
	  This driver adds support for the PCC interface.

	  For details, take a look at:
	  <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.

	  To compile this driver as a module, choose M here: the
	  module will be called pcc-cpufreq.

	  If in doubt, say N.

config X86_AMD_PSTATE
	bool "AMD Processor P-State driver"
	depends on ACPI
	select ACPI_PROCESSOR
	select ACPI_CPPC_LIB if X86_64
	select CPU_FREQ_GOV_SCHEDUTIL if SMP
	select ACPI_PLATFORM_PROFILE
	select POWER_SUPPLY
	help
	  This driver adds a CPUFreq driver which utilizes a fine grain
	  processor performance frequency control range instead of legacy
	  performance levels. _CPC needs to be present in the ACPI tables
	  of the system.

	  For details, take a look at:
	  <file:Documentation/admin-guide/pm/amd-pstate.rst>.

	  If in doubt, say N.

config X86_AMD_PSTATE_DEFAULT_MODE
	int "AMD Processor P-State default mode"
	depends on X86_AMD_PSTATE
	default 3 if X86_AMD_PSTATE
	range 1 4
	help
	  Select the default mode the amd-pstate driver will use on
	  supported hardware.
	  The value set has the following meanings:
		1 -> Disabled
		2 -> Passive
		3 -> Active (EPP)
		4 -> Guided

	  For details, take a look at:
	  <file:Documentation/admin-guide/pm/amd-pstate.rst>.

Annotation

Implementation Notes