All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: viresh.kumar@linaro.org
Cc: rjw@rjwysocki.net, cpufreq@vger.kernel.org, thomas.mingarelli@hp.com
Subject: CPUFREQ: Try to load pcc driver on HP ProLiants automatically
Date: Wed, 23 Apr 2014 15:49:23 +0200	[thread overview]
Message-ID: <7669060.dKLoxkfpfu@skinner> (raw)

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");


             reply	other threads:[~2014-04-23 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 13:49 Thomas Renninger [this message]
2014-04-24  4:04 ` CPUFREQ: Try to load pcc driver on HP ProLiants automatically Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7669060.dKLoxkfpfu@skinner \
    --to=trenn@suse.de \
    --cc=cpufreq@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=thomas.mingarelli@hp.com \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.