···11311131 0 disables intel_idle and fall back on acpi_idle.11321132 1 to 6 specify maximum depth of C-state.1133113311341134+ intel_pstate= [X86]11351135+ disable11361136+ Do not enable intel_pstate as the default11371137+ scaling driver for the supported processors11381138+11341139 intremap= [X86-64, Intel-IOMMU]11351140 on enable Interrupt Remapping (default)11361141 off disable Interrupt Remapping
+1-6
drivers/cpufreq/Kconfig.x86
···33#4455config X86_INTEL_PSTATE66- tristate "Intel P state control"66+ bool "Intel P state control"77 depends on X8688 help99 This driver provides a P state for Intel core processors.···12121313 When this driver is enabled it will become the perferred1414 scaling driver for Sandy bridge processors.1515-1616- Note: This driver should be built with the same settings as1717- the other scaling drivers configured into the system1818- (module/built-in) in order for the driver to register itself1919- as the scaling driver on the system.20152116 If in doubt, say N.2217
+16
drivers/cpufreq/intel_pstate.c
···773773}774774module_exit(intel_pstate_exit);775775776776+static int __initdata no_load;777777+776778static int __init intel_pstate_init(void)777779{778780 int rc = 0;779781 const struct x86_cpu_id *id;782782+783783+ if (no_load)784784+ return -ENODEV;780785781786 id = x86_match_cpu(intel_pstate_cpu_ids);782787 if (!id)···806801 return -ENODEV;807802}808803device_initcall(intel_pstate_init);804804+805805+static int __init intel_pstate_setup(char *str)806806+{807807+ if (!str)808808+ return -EINVAL;809809+810810+ if (!strcmp(str, "disable"))811811+ no_load = 1;812812+ return 0;813813+}814814+early_param("intel_pstate", intel_pstate_setup);809815810816MODULE_AUTHOR("Dirk Brandewie <dirk.j.brandewie@intel.com>");811817MODULE_DESCRIPTION("'intel_pstate' - P state driver Intel Core processors");