cpufreq.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CPUFREQ: Try to load pcc driver on HP ProLiants automatically
@ 2014-04-23 13:49 Thomas Renninger
  2014-04-24  4:04 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Renninger @ 2014-04-23 13:49 UTC (permalink / raw)
  To: viresh.kumar; +Cc: rjw, cpufreq, thomas.mingarelli

HP ProLiants are sold with CPU frequency controlled by BIOS by default.
The pcc-cpufreq driver still exports some frequency info to userspace and
should be tried to get loaded on these platforms.

Successfully tested on a recent ProLiant machine:
  - without this patch no pcc-cpufreq driver loaded, no frequency info
  - with this patch the driver got autoloaded

Signed-off-by: Thomas Renninger <trenn@suse.de>

diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c
index 728a2d8..ff1ebd0 100644
--- a/drivers/cpufreq/pcc-cpufreq.c
+++ b/drivers/cpufreq/pcc-cpufreq.c
@@ -603,6 +603,8 @@ static void __exit pcc_cpufreq_exit(void)
 	free_percpu(pcc_cpu_info);
 }
 
+MODULE_ALIAS("dmi:*:svnHP:pnProLiant*:*");
+
 MODULE_AUTHOR("Matthew Garrett, Naga Chumbalkar");
 MODULE_VERSION(PCC_VERSION);
 MODULE_DESCRIPTION("Processor Clocking Control interface driver");


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-24  4:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-23 13:49 CPUFREQ: Try to load pcc driver on HP ProLiants automatically Thomas Renninger
2014-04-24  4:04 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).