From: mihn <mihnsk@gmail.com>
To: 吴名 <wkq5325@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: cpu voltage change question
Date: Fri, 28 Jan 2011 01:10:52 -0800 [thread overview]
Message-ID: <1296205852.26579.18.camel@genix> (raw)
In-Reply-To: <AANLkTim=ZGBU8AD9_ub5gAL8YHn6EDoORsLvMc6M-3aU@mail.gmail.com>
Thanks for the reply.
I'm happy to hear that OS can change MSR value.
Yes. I noticed from intel i7 datasheet that IA32_PERF_CTL MSR register
can change voltage and frequency at the same time.
What i want to know is how to change voltage while keeping the frequency
unchanged.
Say that current frequency is 2.8Ghz, and voltage is 1.5v.
In this case, i just want to increase voltage to 1.6v w/o frequency
changing.
If i know the spec of IA32_PERF_CTL_MSR, then would it be possible?
If not or if there's no way to get the spec of MSR, is there any
possible way to achieve it?
Thanks,
mihn
On Fri, 2011-01-28 at 14:16 +0800, 吴名 wrote:
> OS can change MSR value. If not, how cpufreq do the scaling job.
> You just can't write frequency and voltage separately.
> Because they are not separate.
>
> wkq
>
> 2011/1/28 mihn leigh <mihnsk@gmail.com>:
> > Yes, you're right. As you said, MSR register contains the frequency
> > and voltage information of cpu. By writing the register, we can change
> > voltage as well (it's the information from intel datasheet). But, i
> > cannot find the detail of this register.
> >
> > BTW, what's the reason that MSR register can not be changed in OS
> > level? is it only possible to change in BIOS?
> >
> > Thanks.
> >
> > 2011/1/27 Phillip Susi <psusi@cfl.rr.com>:
> >> On 1/27/2011 4:10 AM, mihn wrote:
> >>> Hi,
> >>>
> >>> I want to change voltage and frequency seperately.
> >>> With cpu-freq, i can change frequency, but cannot change voltage AFAIK.
> >>
> >> The voltage is controlled by the platform and should already be set to a
> >> level appropriate for that frequency. AFAIK, recent intel cpus have
> >> MSRs that configure the voltage for each P-state, but these are set up
> >> by the bios and shouldn't need changed.
> >>
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-28 9:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 9:10 cpu voltage change question mihn
2011-01-27 16:12 ` Phillip Susi
2011-01-27 18:31 ` Henrique de Moraes Holschuh
2011-01-27 18:39 ` mihn leigh
2011-01-27 18:47 ` Henrique de Moraes Holschuh
[not found] ` <AANLkTim=ZGBU8AD9_ub5gAL8YHn6EDoORsLvMc6M-3aU@mail.gmail.com>
2011-01-28 9:10 ` mihn [this message]
2011-01-28 19:46 ` Phillip Susi
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=1296205852.26579.18.camel@genix \
--to=mihnsk@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=wkq5325@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox