Re: [Query]: sched/fair: prio_changed_fair()

2012-11-06 Thread Michael Wang
On 11/07/2012 03:49 PM, Viresh Kumar wrote: Hi, Viresh > Hi Ingo/Peter, > > I am trying to understand the complex scheduler code and just found > something incorrect (maybe i am not reading it well): > > File: kernel/sched/fair.c > > static void > prio_changed_fair(struct rq *rq, struct task_str

[Query]: sched/fair: prio_changed_fair()

2012-11-06 Thread Viresh Kumar
Hi Ingo/Peter, I am trying to understand the complex scheduler code and just found something incorrect (maybe i am not reading it well): File: kernel/sched/fair.c static void prio_changed_fair(struct rq *rq, struct task_struct *p, int oldprio) { if (!p->se.on_rq) return;

Re: [PATCH V3 3/5] Thermal: Remove the cooling_cpufreq_list.

2012-11-06 Thread Zhang Rui
On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: > From: "hongbo.zhang" > > Problem of using this list is that the cpufreq_get_max_state callback will be > called when register cooling device by thermal_cooling_device_register, but > this list isn't ready at this moment. What's more, there

Re: [PATCH V3 2/5] Thermal: fix bug of counting cpu frequencies.

2012-11-06 Thread Zhang Rui
On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: > From: "hongbo.zhang" > > In the while loop for counting cpu frequencies, if table[i].frequency equals > CPUFREQ_ENTRY_INVALID, index i won't be increased, so this leads to an endless > loop, what's more the index i cannot be referred as cpu

Re: [PATCH V3 1/5] Thermal: add indent for code alignment.

2012-11-06 Thread Zhang Rui
On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: > From: "hongbo.zhang" > > The curly bracket should be aligned with corresponding if else statements. > > Signed-off-by: hongbo.zhang > Reviewed-by: Viresh Kumar applied to thermal-next. thanks, rui > --- > drivers/thermal/cpu_cooling.

Re: Repositories shown twice at: http://git.linaro.org/

2012-11-06 Thread Fathi Boudra
seems a bug to me. It's reported and should be fixed soon. Thanks Viresh. On 7 November 2012 06:59, Viresh Kumar wrote: > Hi Guys, > > Since sometime i see following in git.linaro.org: > > android/boot/u-boot-pandroid > Unna

Repositories shown twice at: http://git.linaro.org/

2012-11-06 Thread Viresh Kumar
Hi Guys, Since sometime i see following in git.linaro.org: android/boot/u-boot-pandroidUnnamed repository; edit this... *nobody*16 months agosummary

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-06 Thread viresh kumar
On Tue, Nov 6, 2012 at 7:48 PM, Rob Herring wrote: >> +#define of_property_read_array(_np, _pname, _out, _sz) >> \ >> + while (_sz--) \ >> + *_out++ = (typeof(*_out))be32_to_cpup(_val++); \ > This w

Re: [PATCH] net: dsa/slave: Fix compilation warnings

2012-11-06 Thread Viresh Kumar
On 30 October 2012 13:01, Viresh Kumar wrote: > From: Viresh Kumar > Date: Mon, 29 Oct 2012 22:19:14 +0530 > Subject: [PATCH] net: dsa/slave: Fix compilation warnings > Ping!! > > Currently when none of CONFIG_NET_DSA_TAG_DSA, CONFIG_NET_DSA_TAG_EDSA and > CONFIG_NET_DSA_TAG_TRAILER is defin

Re: linux-linaro kernel trees move to 3.7 and 12.11 schedule

2012-11-06 Thread Andrey Konovalov
config. vexpress boots ok. * November 6: updated big-LITTLE-MP topic arrives, llct rebuild (llct-20121106) Done. The tag is llct-20121106.0. v3.7-rc4 based. Android and big-LITTLE-MP topics are back. New Gator version (v5.12). *ubuntu-sauce topic will be dropped* Anyone objects? The sam

Re: New Gator version

2012-11-06 Thread Andrey Konovalov
Hi Tixy, On 11/05/2012 07:34 PM, Jon Medhurst (Tixy) wrote: Hi Andrey Two weeks ago ARM released a new version of Developer Studio 5 (v5.12) which as usual included a new version of the Streamline plugin and the corresponding new versions of the Gator daemon and module which run on the target d

Linaro Release 12.10 Postmortem Summary

2012-11-06 Thread David Zinman
Postmortem and lessons learned for Linaro's release 2012.10 https://wiki.linaro.org/Cycles/1210/Release/Review Highlights and Key Successes http://www.linaro.org/downloads/1210 Linaro is now making early ARMv8 images available to interested developers. For a primer

ANN: people.linaro.org going down for 30 min, today at 17:00UTC

2012-11-06 Thread Fathi Boudra
Hi All, There's a scheduled downtime for 30 min, today at 17:00UTC. We plan to increase the disk space available on people.linaro.org. Thanks. Cheers, -- Fathi Boudra Linaro Release Manager | LAVA Project Manager Linaro.org | Open source software for ARM SoCs ___

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-06 Thread Viresh Kumar
On 6 November 2012 19:48, Rob Herring wrote: > > diff --git a/drivers/of/base.c b/drivers/of/base.c > > > +#define of_property_read_array(_np, _pname, _out, _sz) > \ > > + struct property *_prop = of_find_property(_np, _pname, NULL); \ > > + const __be32 *_val;

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-06 Thread Rob Herring
On 10/25/2012 11:20 PM, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > First two actually share most of the code with of_property_read_u32_array(), > so > the comm

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-06 Thread Viresh Kumar
On 26 October 2012 09:50, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > First two actually share most of the code with > of_property_read_u32_array(), so > the co

[PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2012-11-06 Thread Viresh Kumar
Workqueues queues work on current cpu, if the caller haven't passed a preferred cpu. This may wake up an idle CPU, which is actually not required. This work can be processed by any CPU and so we must select a non-idle CPU here. This patch adds in support in workqueue framework to get preferred CPU

[PATCH V2 Resend 4/4] timer: Migrate running timer

2012-11-06 Thread Viresh Kumar
Till now, we weren't migrating a running timer because with migration del_timer_sync() can't detect that the timer's handler yet has not finished. Now, when can we actually to reach to the code (inside __mod_timer()) where base->running_timer == timer ? i.e. We are trying to migrate current timer

[PATCH V2 Resend 1/4] sched: Create sched_select_cpu() to give preferred CPU for power saving

2012-11-06 Thread Viresh Kumar
In order to save power, it would be useful to schedule work onto non-IDLE cpus instead of waking up an IDLE one. To achieve this, we need scheduler to guide kernel frameworks (like: timers & workqueues) on which is the most preferred CPU that must be used for these tasks. This routine returns the

[PATCH V2 Resend 2/4] timer: hrtimer: Don't check idle_cpu() before calling get_nohz_timer_target()

2012-11-06 Thread Viresh Kumar
Check for current cpu's idleness already done in implementation of sched_select_cpu() which is called by get_nohz_timer_target(). So, no need to call idle_cpu() twice, once from sched_select_cpu() and once from timer and hrtimer before calling get_nohz_timer_target(). This patch removes calls to i

[PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-06 Thread Viresh Kumar
Hi All, This is V2 Resend of my sched_select_cpu() work. Resend because didn't got much attention on V2. Including more guys now in cc :) In order to save power, it would be useful to schedule work onto non-IDLE cpus instead of waking up an IDLE one. To achieve this, we need scheduler to guide k

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 6 November 2012 18:17, Hongbo Zhang wrote: > On 1 November 2012 09:52, Zhang, Rui wrote: >> >> >>> -Original Message- >>> From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] >>> Sent: Wednesday, October 31, 2012 12:49 AM >>> To: linaro-dev@lists.linaro.org; linux-ker...@vger.kernel.org

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 1 November 2012 09:52, Zhang, Rui wrote: > > >> -Original Message- >> From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] >> Sent: Wednesday, October 31, 2012 12:49 AM >> To: linaro-dev@lists.linaro.org; linux-ker...@vger.kernel.org; linux- >> p...@vger.kernel.org; Zhang, Rui; amit.kach

Re: [GIT PULL]: big LITTLE MP v11

2012-11-06 Thread Viresh Kumar
On 6 November 2012 14:01, Amit Kucheria wrote: > On Tue, Nov 6, 2012 at 1:48 PM, Viresh Kumar > wrote: > > Then let's put it in your wiki page and link to that page from this > announcement. There are several folks who are interested in those > patches. :) > Good to hear that :) Updated my w

Re: [GIT PULL]: big LITTLE MP v11

2012-11-06 Thread Amit Kucheria
On Tue, Nov 6, 2012 at 1:48 PM, Viresh Kumar wrote: > On 6 November 2012 13:42, Amit Kucheria wrote: >> >> On Tue, Nov 6, 2012 at 1:13 PM, Viresh Kumar >> wrote: > > >> >> >- per-entity-load-tracking-with-core-sched-v1: 15 by Preeti >> >> My understanding was that this patchset by Preeti

Re: [GIT PULL]: big LITTLE MP v11

2012-11-06 Thread Preeti U Murthy
Hi, On 11/06/2012 01:48 PM, Viresh Kumar wrote: > On 6 November 2012 13:42, Amit Kucheria > wrote: > > On Tue, Nov 6, 2012 at 1:13 PM, Viresh Kumar > mailto:viresh.ku...@linaro.org>> wrote: > > > > >- per-entity-load-tracking-with-core-sch

Re: [GIT PULL]: big LITTLE MP v11

2012-11-06 Thread Viresh Kumar
On 6 November 2012 13:42, Amit Kucheria wrote: > On Tue, Nov 6, 2012 at 1:13 PM, Viresh Kumar > wrote: > > >- per-entity-load-tracking-with-core-sched-v1: 15 by Preeti > > My understanding was that this patchset by Preeti wasn't well received > by the maintainers and is being reworked.

Re: [GIT PULL]: big LITTLE MP v11

2012-11-06 Thread Amit Kucheria
On Tue, Nov 6, 2012 at 1:13 PM, Viresh Kumar wrote: > Hi Andrey, > > Please PULL b.L MP V11 branch from my tree. Pull request is generated > against v3.7-rc3: Thanks Viresh. > Updates: > --- > - Based on v3.7-rc3 > - Stats: > - Total Patches: 70 > - New Patches: 22