Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-21 Thread Boris Ostrovsky
On 01/18/2013 02:00 PM, Konrad Rzeszutek Wilk wrote: So something like this in the hypervisor maybe (not even tested): diff --git a/xen/arch/x86/acpi/cpufreq/powernow.c b/xen/arch/x86/acpi/cpufreq/powernow.c index a9b7792..54e7808 100644 --- a/xen/arch/x86/acpi/cpufreq/powernow.c +++ b/xen/a

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-18 Thread Boris Ostrovsky
On 01/18/2013 02:00 PM, Konrad Rzeszutek Wilk wrote: Right, that information is gathered from the MSRs. I think the Xen would need to do this since it can do the MSRs correctly and modify the P-states. So something like this in the hypervisor maybe (not even tested): Is there any harm in allo

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-16 Thread Stefan Bader
On 01/16/2013 11:26 AM, Jan Beulich wrote: On 15.01.13 at 18:53, Konrad Rzeszutek Wilk wrote: On Mon, Jan 14, 2013 at 05:34:45PM +0100, Borislav Petkov wrote: On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perf

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-16 Thread Jan Beulich
>>> On 15.01.13 at 18:53, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 14, 2013 at 05:34:45PM +0100, Borislav Petkov wrote: >> On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: >> > --- a/drivers/acpi/processor_perflib.c >> > +++ b/drivers/acpi/processor_perflib.c >> > @@ -340,6 +340,9 @

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-15 Thread Matt Wilson
On Tue, Jan 15, 2013 at 02:04:30PM +0100, Matt Wilson wrote: > On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: > > Starting with kernel v3.7 the following commit added a quirk > > to obtain the real frequencies of certain AMD systems: > > > > commit f594065faf4f9067c2283a34619fc0714e

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-14 Thread André Przywara
On Mon, 14 Jan 2013 18:08:45 +0100 Stefan Bader wrote: > On 14.01.2013 17:34, Borislav Petkov wrote: > > On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: > >> Starting with kernel v3.7 the following commit added a quirk > >> to obtain the real frequencies of certain AMD systems: > >>

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-14 Thread Stefan Bader
On 14.01.2013 17:34, Borislav Petkov wrote: > On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: >> Starting with kernel v3.7 the following commit added a quirk >> to obtain the real frequencies of certain AMD systems: >> >> commit f594065faf4f9067c2283a34619fc0714e79a98d >> Author: Matt

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-14 Thread Jan Beulich
>>> On 14.01.13 at 17:34, Borislav Petkov wrote: > On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: >> --- a/drivers/acpi/processor_perflib.c >> +++ b/drivers/acpi/processor_perflib.c >> @@ -340,6 +340,9 @@ static void amd_fixup_frequency(struct acpi_processor_px > *px >> if