HI Shavi, 

I had a quick word with my office friend regarding this. 

I guess you dont need to set the governor per-core. As the governor policy 
is per CPU not per core entity. 

And to set , no need to call in loop for each core. Just set it for cpu0 
(main core) , and then corss-check by reading the 'scaling_governor' (same 
sys/devices/../...  path) entry for other cores, it will be same. 

Also there is a scaling_available_governor to check which all governors are 
allowed to be set. (decided by Soc vendor)

I belive this per core cpu governor might be enabled in non-smp based 
systems, like the new exynos having hetrogenous cores of A7 and A15 running 
simaltaneously, then again won't be possible to have different governor 
among same type of cores. Will read on this. 


Hope that was helpful.

Regards,
Anirudh

On Friday, October 25, 2013 11:13:37 AM UTC+5:30, raghavendra shavi wrote:
>
> hello there,
>
> I am stuck at the inability of kernel to allow a one point settting of 
> scaling_governor for all cores. I tried with a for loop to echo, in each 
> core's
> cpufreq module, a scaling governor, but failed for offline cores as they 
> have no cpufreq folder when they are offline. I tested cpu tuner app and it 
> does the above said amazingly well. I would like to request anyone to help 
> me in knowing
>
> how to programatically set cpu governor to all cores irrespective of their 
> online status?
>
> thanking all.
>
> shavi
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to