Rudramuni, Vishwesh M | 1 Feb 2012 11:59
Picon
Favicon

sfi based cpufreq driver for intel soc platforms

From 507b896942045c0df3073960922c9d5d88b8fa2c Mon Sep 17 00:00:00 2001
From: Vishwesh M Rudramuni <vishwesh.m.rudramuni <at> intel.com>
Date: Thu, 2 Feb 2012 16:07:31 +0530
Subject: [PATCH] [CPUFREQ] sfi based p-state driver

This is the sfi p-state driver for all the intel soc platforms.
This is based on the acpi p-state driver.This patch is generated
against linux 3.2.2.

Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni <at> intel.com>
Acked-by: Len Brown <len.brown <at> intel.com>
Reviewed-by: Hari Sesadri <harinarayanan.sesadri <at> intel.com>
Reviewed-by: Rajeev D Muralidhar <rajeev.d.muralidhar <at> intel.com>
---
 drivers/cpufreq/Kconfig.x86   |   15 ++
 drivers/cpufreq/Makefile      |    1 +
 drivers/cpufreq/sfi-cpufreq.c |  529 +++++++++++++++++++++++++++++++++++++++++
 drivers/cpufreq/sfi-cpufreq.h |   65 +++++
 4 files changed, 610 insertions(+), 0 deletions(-)
 create mode 100644 drivers/cpufreq/sfi-cpufreq.c
 create mode 100644 drivers/cpufreq/sfi-cpufreq.h

diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index 78ff7ee..7c53591 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
 <at>  <at>  -32,6 +32,21  <at>  <at>  config X86_ACPI_CPUFREQ

 	  If in doubt, say N.

(Continue reading)

Tushar Behera | 1 Feb 2012 12:08
Favicon

Re: [PATCH] EXYNOS: Initialize locking_frequency with initial frequency

Ping

On 01/25/2012 10:15 AM, Tushar Behera wrote:
> As per definition, locking_frequency is the initial frequency which is
> set by boot-loader. Hence the value is updated with the initial value
> during boot time init call.
> 
> This code was present in exynos210-cpufreq.c before this consolidation
> patch.
> - a125a17fa61a ([CPUFREQ] EXYNOS: Make EXYNOS common cpufreq driver).
> 
> Signed-off-by: Tushar Behera <tushar.behera <at> linaro.org>
> Signed-off-by: Inderpal Singh <inderpal.singh <at> linaro.org>
> ---
> The patch is based on v3.3-rc1.
> 
>  drivers/cpufreq/exynos-cpufreq.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
> index 5467879..7cfb516 100644
> --- a/drivers/cpufreq/exynos-cpufreq.c
> +++ b/drivers/cpufreq/exynos-cpufreq.c
>  <at>  <at>  -210,6 +210,8  <at>  <at>  static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
>  
>  	cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu);
>  
> +	locking_frequency = exynos_getspeed(0);
> +
>  	/* set the transition latency value */
(Continue reading)

davej@redhat.com | 1 Feb 2012 15:51
Picon
Favicon

Re: sfi based cpufreq driver for intel soc platforms

On Wed, Feb 01, 2012 at 10:59:49AM +0000, Rudramuni, Vishwesh M wrote:

 > +config X86_SFI_CPUFREQ
 > +        tristate "SFI Processor P-States driver"
 > +        select CPU_FREQ_TABLE
 > +        help

...

 >  obj-$(CONFIG_X86_POWERNOW_K8)		+= powernow-k8.o mperf.o
 >  obj-$(CONFIG_X86_ACPI_CPUFREQ)		+= acpi-cpufreq.o mperf.o
 > +obj-$(CONFIG_X86_ACPI_CPUFREQ)		+= sfi-cpufreq.o mperf.o
 >  obj-$(CONFIG_X86_PCC_CPUFREQ)		+= pcc-cpufreq.o
 >  obj-$(CONFIG_X86_POWERNOW_K6)		+= powernow-k6.o
 >  obj-$(CONFIG_X86_POWERNOW_K7)		+= powernow-k7.o

This should be 

+obj-$(CONFIG_X86_SFI_CPUFREQ)              += sfi-cpufreq.o mperf.o

I assume ?

	Dave
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Rudramuni, Vishwesh M | 2 Feb 2012 04:25
Picon
Favicon

RE: sfi based cpufreq driver for intel soc platforms

> This should be
> 
> +obj-$(CONFIG_X86_SFI_CPUFREQ)              += sfi-cpufreq.o mperf.o
> 
> I assume ?
> 
Yes Agree. Resending the patch.

From 507b896942045c0df3073960922c9d5d88b8fa2c Mon Sep 17 00:00:00 2001
From: Vishwesh M Rudramuni <vishwesh.m.rudramuni <at> intel.com>
Date: Thu, 2 Feb 2012 16:07:31 +0530
Subject: [PATCH] [CPUFREQ] sfi based p-state driver

This is the sfi p-state driver for all the intel soc platforms.
This is based on the acpi p-state driver.This patch is generated
against linux 3.2.2.

Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni <at> intel.com>
Acked-by: Len Brown <len.brown <at> intel.com>
Reviewed-by: Hari Seshadri <harinarayanan.seshadri <at> intel.com>
Reviewed-by: Rajeev D Muralidhar <rajeev.d.muralidhar <at> intel.com>
---
 drivers/cpufreq/Kconfig.x86   |   15 ++
 drivers/cpufreq/Makefile      |    1 +
 drivers/cpufreq/sfi-cpufreq.c |  529 +++++++++++++++++++++++++++++++++++++++++
 drivers/cpufreq/sfi-cpufreq.h |   65 +++++
 4 files changed, 610 insertions(+), 0 deletions(-)
 create mode 100644 drivers/cpufreq/sfi-cpufreq.c
 create mode 100644 drivers/cpufreq/sfi-cpufreq.h

(Continue reading)

bugzilla-daemon | 2 Feb 2012 07:05

[Bug 15331] sound stuttering when loading speedstep-smi

https://bugzilla.kernel.org/show_bug.cgi?id=15331

Zhang Rui <rui.zhang <at> intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |CLOSED
         Resolution|                            |INSUFFICIENT_DATA

--

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Alexander Perschbacher | 3 Feb 2012 10:59
Picon

Bug entdeckt

Hallo! Ich habe folgenden Fehler entdeckt:

Es scheint einen Anzeige-Bug zu geben: Obwohl 
"cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq"
800000 anzeigt (also innerhalb der Grenzen, die ich in der 
cpufreqd.conf setzte), zeigt cpufreq-info beständig 2,40GHz an. 
Auch "cat /proc/cpuinfo" bestätigt mir, dass der Prozessor mit 
800MHz läuft.

Cpufreq-info scheint hier falsche Daten auszugeben.

Mein System: Acer TimelineX 3830TG, Core i5, Treiber ist 
acpi_cpufreq  und mein Linux Gentoo.

Liebe Grüße,
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Petr Šabata | 3 Feb 2012 11:16
Picon
Favicon
Gravatar

Re: Bug entdeckt

On Fri, Feb 03, 2012 at 10:59:11AM +0100, Alexander Perschbacher wrote:
> Hallo! Ich habe folgenden Fehler entdeckt:
> 
> Es scheint einen Anzeige-Bug zu geben: Obwohl 
> "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq"
> 800000 anzeigt (also innerhalb der Grenzen, die ich in der 
> cpufreqd.conf setzte), zeigt cpufreq-info beständig 2,40GHz an. 
> Auch "cat /proc/cpuinfo" bestätigt mir, dass der Prozessor mit 
> 800MHz läuft.
> 
> Cpufreq-info scheint hier falsche Daten auszugeben.
> 
> Mein System: Acer TimelineX 3830TG, Core i5, Treiber ist 
> acpi_cpufreq  und mein Linux Gentoo.
> 
> 
> Liebe Grüße,

I suggest you resend your email in English if you expect any help.

-P

> --
> To unsubscribe from this list: send the line "unsubscribe cpufreq" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alexander Perschbacher | 3 Feb 2012 11:31
Picon

Re: Bug entdeckt

i cant english

google!?: 

"Hello! I have discovered the following errors:

There seems to be a display bug: Although
"cat / sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq"
800 000 display (that is, within the limits that I did in the
cpufreqd.conf set), cpufreq-info shows stable at 2.40 GHz.
Also, "cat / proc / cpuinfo" confirmed to me that the processor
800MHz running.

Cpufreq-info seems to output wrong data.

My system: Acer Timeline 3830TG, Core i5, driver's
acpi_cpufreq and my Gentoo Linux.

Best regards,"

Am Freitag, 3. Februar 2012, 11:16:12 schrieb Petr Šabata:
> On Fri, Feb 03, 2012 at 10:59:11AM +0100, Alexander 
Perschbacher wrote:
> > Hallo! Ich habe folgenden Fehler entdeckt:
> > 
> > Es scheint einen Anzeige-Bug zu geben: Obwohl
> > "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq"
> > 800000 anzeigt (also innerhalb der Grenzen, die ich in der
> > cpufreqd.conf setzte), zeigt cpufreq-info beständig 2,40GHz 
an.
(Continue reading)

bugzilla-daemon | 5 Feb 2012 23:04

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

https://bugzilla.kernel.org/show_bug.cgi?id=42671

Artem S. Tashkinov <t.artem <at> mailcity.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED

--

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

bugzilla-daemon | 7 Feb 2012 10:14

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

https://bugzilla.kernel.org/show_bug.cgi?id=42671

--- Comment #3 from Artem S. Tashkinov <t.artem <at> mailcity.com>  2012-02-07 09:14:56 ---
Is there any other information I can provide to help resolve this bug, Len?

--

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane