From: Andre Przywara <andre.przywara@amd.com>
To: Konrad Rzeszutek Wilk <konrad@kernel.org>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>,
Thomas Renninger <trenn@suse.de>,
"Rafael J. Wysocki" <rjw@sisk.pl>, <cpufreq@vger.kernel.org>,
<linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Matthew Garret <mjg@redhat.com>
Subject: Re: [PATCH 2/8 v2] acpi-cpufreq: Add quirk to disable _PSD usage on all AMD CPUs
Date: Mon, 17 Sep 2012 09:41:20 +0200 [thread overview]
Message-ID: <5056D420.80808@amd.com> (raw)
In-Reply-To: <CACJDEmrOoZ_azqTrtfoGC-O=H0V=AHy8VExoFYYPhbUUx+7UAg@mail.gmail.com>
On 09/15/2012 01:20 PM, Konrad Rzeszutek Wilk wrote:
>
> On Sep 4, 2012 4:26 AM, "Andre Przywara" <andre.przywara@amd.com
> <mailto:andre.przywara@amd.com>> wrote:
> >
> > To workaround some Windows specific behavior, the ACPI _PSD table
> > on AMD desktop boards advertises all cores as dependent, meaning
> > that they all can only use the same P-state. acpi-cpufreq strictly
> > obeys this description, instantiating one CPU only and symlinking
> > the others. But the hardware can have distinct frequencies for each
> > core and powernow-k8 did it that way.
> > So, in order to use the hardware to its full potential and keep the
> > original powernow-k8 behavior, lets override the _PSD table setting
> > on AMD hardware.
>
> Can you tell on which motherboards this different freq on cores can be
> exposed?
Actually I think the motherboard is not the limiting factor here.
Per-core P-states are possible on AMD Family 10h and greater CPUs, so
Phenoms/Barcelona and beyond. You may need an AM2+/AM3 board, though.
Fam10h CPUs run in some older AM2-only boards, but the power-management
capabilities may be limited here. This definitely applies to the voltage
(single power plane only), but the older BIOS on these boards may limit
the frequency switching also.
The actual reason for this patch is the (Fam10h) BKDG [1] recommendation
in chapter 2.4.2.13.4 _PSD (P-State Dependency). There advertising only
one possible P-state per package is recommended - for desktop CPUs
(which are supposed to run Windows ;-)
This was to overcome some nasty interaction between the Windows
scheduler and their version of the ondemand governor.
Regards,
Andre.
[1] http://support.amd.com/us/Processor_TechDocs/31116.pdf
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
next prev parent reply other threads:[~2012-09-17 7:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 8:28 [PATCH 0/8 v2] acpi-cpufreq: Move modern AMD cpufreq support to acpi-cpufreq Andre Przywara
2012-09-04 8:28 ` [PATCH 1/8 v2] acpi-cpufreq: Add support for modern AMD CPUs Andre Przywara
2012-09-04 8:28 ` [PATCH 2/8 v2] acpi-cpufreq: Add quirk to disable _PSD usage on all " Andre Przywara
[not found] ` <CACJDEmrOoZ_azqTrtfoGC-O=H0V=AHy8VExoFYYPhbUUx+7UAg@mail.gmail.com>
2012-09-17 7:41 ` Andre Przywara [this message]
2012-09-17 11:40 ` Thomas Renninger
2012-09-04 8:28 ` [PATCH 3/8 v2] cpufreq: Add warning message to powernow-k8 Andre Przywara
2012-09-04 8:28 ` [PATCH 4/8 v2] powernow-k8: delay info messages until initialization has succeeded Andre Przywara
2012-09-04 8:28 ` [PATCH 5/8 v2] ACPI: Add fixups for AMD P-state figures Andre Przywara
2012-09-04 8:28 ` [PATCH 6/8 v2] acpi-cpufreq: Add support for disabling dynamic overclocking Andre Przywara
2012-09-04 8:28 ` [PATCH 7/8 v2] acpi-cpufreq: Add compatibility for legacy AMD cpb sysfs knob Andre Przywara
2012-09-04 8:28 ` [PATCH 8/8 v2] cpufreq: Remove support for hardware P-state chips from powernow-k8 Andre Przywara
2012-09-05 13:46 ` [PATCH 0/8 v2] acpi-cpufreq: Move modern AMD cpufreq support to acpi-cpufreq Rafael J. Wysocki
2012-09-05 14:25 ` Thomas Renninger
2012-09-05 15:05 ` Andre Przywara
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=5056D420.80808@amd.com \
--to=andre.przywara@amd.com \
--cc=andreas.herrmann3@amd.com \
--cc=cpufreq@vger.kernel.org \
--cc=konrad@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rjw@sisk.pl \
--cc=trenn@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).