All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] EXYNOS: Initialize locking_frequency with initial frequency
@ 2012-01-25  4:45 Tushar Behera
  2012-02-01 11:08 ` Tushar Behera
  0 siblings, 1 reply; 5+ messages in thread
From: Tushar Behera @ 2012-01-25  4:45 UTC (permalink / raw)
  To: cpufreq, linux-samsung-soc; +Cc: davej, jc.lee, myungjoo.ham

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@linaro.org>
Signed-off-by: Inderpal Singh <inderpal.singh@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
@@ -210,6 +210,8 @@ 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 */
 	policy->cpuinfo.transition_latency = 100000;
 
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] EXYNOS: Initialize locking_frequency with initial frequency
  2012-01-25  4:45 [PATCH] EXYNOS: Initialize locking_frequency with initial frequency Tushar Behera
@ 2012-02-01 11:08 ` Tushar Behera
  2012-02-09  4:42   ` [PATCH] [CPUFREQ] " Tushar Behera
  0 siblings, 1 reply; 5+ messages in thread
From: Tushar Behera @ 2012-02-01 11:08 UTC (permalink / raw)
  To: cpufreq, linux-samsung-soc; +Cc: davej, jc.lee, myungjoo.ham

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@linaro.org>
> Signed-off-by: Inderpal Singh <inderpal.singh@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
> @@ -210,6 +210,8 @@ 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 */
>  	policy->cpuinfo.transition_latency = 100000;
>  


-- 
Tushar Behera

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] [CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency
  2012-02-01 11:08 ` Tushar Behera
@ 2012-02-09  4:42   ` Tushar Behera
  2012-02-13  9:54     ` Tushar Behera
  0 siblings, 1 reply; 5+ messages in thread
From: Tushar Behera @ 2012-02-09  4:42 UTC (permalink / raw)
  To: cpufreq, linux-samsung-soc; +Cc: davej, jc.lee, myungjoo.ham

Ping

On 02/01/2012 04:38 PM, Tushar Behera wrote:
> 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@linaro.org>
>> Signed-off-by: Inderpal Singh <inderpal.singh@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
>> @@ -210,6 +210,8 @@ 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 */
>>  	policy->cpuinfo.transition_latency = 100000;
>>  
> 
> 


-- 
Tushar Behera

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] [CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency
  2012-02-09  4:42   ` [PATCH] [CPUFREQ] " Tushar Behera
@ 2012-02-13  9:54     ` Tushar Behera
  2012-02-13 14:35       ` [PATCH] " Dave Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Tushar Behera @ 2012-02-13  9:54 UTC (permalink / raw)
  To: cpufreq, linux-samsung-soc, davej; +Cc: jc.lee, myungjoo.ham

Hi Dave,

On 02/09/2012 10:12 AM, Tushar Behera wrote:
> Ping
> 
> On 02/01/2012 04:38 PM, Tushar Behera wrote:
>> 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@linaro.org>
>>> Signed-off-by: Inderpal Singh <inderpal.singh@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
>>> @@ -210,6 +210,8 @@ 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 */
>>>  	policy->cpuinfo.transition_latency = 100000;
>>>  
>>
>>
> 
> 

Any concerns with this patch?

-- 
Tushar Behera

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] EXYNOS: Initialize locking_frequency with initial frequency
  2012-02-13  9:54     ` Tushar Behera
@ 2012-02-13 14:35       ` Dave Jones
  0 siblings, 0 replies; 5+ messages in thread
From: Dave Jones @ 2012-02-13 14:35 UTC (permalink / raw)
  To: Tushar Behera; +Cc: cpufreq, linux-samsung-soc, jc.lee, myungjoo.ham

On Mon, Feb 13, 2012 at 03:24:56PM +0530, Tushar Behera wrote:

 > >>> 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
 > >>> @@ -210,6 +210,8 @@ 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 */
 > >>>  	policy->cpuinfo.transition_latency = 100000;
 > 
 > Any concerns with this patch?

it's in my queue for applying to -next. I'll clear everything out today.

	Dave

 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-13 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25  4:45 [PATCH] EXYNOS: Initialize locking_frequency with initial frequency Tushar Behera
2012-02-01 11:08 ` Tushar Behera
2012-02-09  4:42   ` [PATCH] [CPUFREQ] " Tushar Behera
2012-02-13  9:54     ` Tushar Behera
2012-02-13 14:35       ` [PATCH] " Dave Jones

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.