Re: [PATCH 13/13] clk: basic: improve parent_names & return errors

2012-04-11 Thread Shawn Guo
On Wed, Apr 11, 2012 at 06:02:51PM -0700, Mike Turquette wrote: ... > @@ -175,23 +188,32 @@ struct clk *clk_register_divider(struct device *dev, > const char *name, > div->flags = clk_divider_flags; > div->lock = lock; > > + /* allocate the temporary parent_names */ > if (p

3.4 based config-fragment tree for 12.04

2012-04-11 Thread John Stultz
Hey Andrey, I rebased the config-fragment tree to 3.4-rc2, and you can find it here: git://git.linaro.org/people/jstultz/android.git linaro-configs-3.4 Let me know if you run into any issues. thanks -john ___ linaro-dev mailing list linaro-dev@

[PATCH 12/13] clk: core: copy parent_names & return error codes

2012-04-11 Thread Mike Turquette
This patch cleans up clk_register and solves a few bugs by teaching clk_register and __clk_init to return error codes (instead of just NULL) to better align with the existing clk.h api. Along with that change this patch also introduces a new behavior whereby clk_register copies the parent_names ar

[PATCH 13/13] clk: basic: improve parent_names & return errors

2012-04-11 Thread Mike Turquette
This patch is the basic clk version of 'clk: core: copy parent_names & return error codes'. The registration functions are changed to allow the core code to copy the array of strings and allow platforms to declare those arrays as __initdata. This patch also converts all of the basic clk registrat

[PATCH 08/13] clk: declare clk_ops of basic clks in clk-provider.h

2012-04-11 Thread Mike Turquette
From: Shawn Guo Besides the static initialization, the clk_ops of basic clks could also be used by particular clk type being subclass of the basic clks. For example, clk_busy_divider has the same clk_ops as clk_divider, except it has to wait for a busy bit before return success with .set_rate.

[PATCH 07/13] clk: add "const" for clk_ops of basic clks

2012-04-11 Thread Mike Turquette
From: Shawn Guo The clk_ops of basic clks should have "const" to match the definition in "struct clk" and clk_register prototype. Signed-off-by: Shawn Guo Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sascha Hauer Cc: Richard Zhao Cc: Saravana Kann

[PATCH 04/13] clk: core: enforce clk_ops consistency

2012-04-11 Thread Mike Turquette
Documentation/clk.txt has some handsome ASCII art outlining which clk_ops are mandatory for a given clock, given the capability of the hardware. Enforce those mandates with sanity checks in __clk_init. Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sasc

[PATCH 00/13] common clk framework misc fixes

2012-04-11 Thread Mike Turquette
This series collects many of the fixes posted for the recently merged common clock framework as well as some general clean-up. Most of the code classifies as a clean-up moreso than a bug fix; hopefully this is not a problem since the common clk framework is new code pulled for 3.4. Patches are ba

[PATCH 06/13] clk: remove unnecessary EXPORT_SYMBOL_GPL

2012-04-11 Thread Mike Turquette
From: Shawn Guo It makes no sense to have EXPORT_SYMBOL_GPL on static functions. Signed-off-by: Shawn Guo Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sascha Hauer Cc: Richard Zhao Cc: Saravana Kannan Cc: Mark Brown Cc: Andrew Lunn Cc: Rajendra

[PATCH 11/13] clk: Constify parent name arrays

2012-04-11 Thread Mike Turquette
From: Mark Brown Drivers should be able to declare their arrays of parent names as const so the APIs need to accept const arguments. Signed-off-by: Mark Brown [mturque...@linaro.org: constified gate] Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sasc

[PATCH 01/13] clk: core: correct clk_set_rate kerneldoc

2012-04-11 Thread Mike Turquette
Remove old and misleading documentation from the previous clk_set_rate implementaion. Reported-by: Shawn Guo Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sascha Hauer Cc: Shawn Guo Cc: Richard Zhao Cc: Saravana Kannan Cc: Mark Brown Cc: Andrew Lu

[PATCH 09/13] clk: Make clk_get_rate() return 0 on error

2012-04-11 Thread Mike Turquette
From: Rajendra Nayak Most users of clk_get_rate() actually assume a non zero return value as a valid rate returned. Returing -EINVAL might confuse such users, so make it instead return zero on error. Besides the return value of clk_get_rate seems to be 'unsigned long'. Signed-off-by: Rajendra n

[PATCH 10/13] clk: Remove comment for end of CONFIG_COMMON_CLK section

2012-04-11 Thread Mike Turquette
From: Mark Brown The comment is inaccurate (it actually ends the CONFIG_COMMON_CLK section, there's no else) and given that we've just got a single level of ifdef isn't really needed anyway. Signed-off-by: Mark Brown Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russe

[PATCH 05/13] clk: use kzalloc in clk_register_mux

2012-04-11 Thread Mike Turquette
From: Shawn Guo Change clk_register_mux to use kzalloc, just like what all other basic clk registration functions do. Signed-off-by: Shawn Guo Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sascha Hauer Cc: Richard Zhao Cc: Saravana Kannan Cc: Mark

[PATCH 03/13] clk: core: clk_calc_new_rates handles NULL parents

2012-04-11 Thread Mike Turquette
It is possible to call clk_set_rate on a clock with a NULL parent. One such example is an adjustable-rate root clock. Ensure that clk_calc_new_rates does not dereference parent without checking first and also handle the corner cases gracefully. Reported-by: Rajendra Nayak Signed-off-by: Mike Tu

[PATCH 02/13] clk: core: remove dead code paths

2012-04-11 Thread Mike Turquette
Some static inline dummy functions were left over from before the clock core was consolidated from several C files down to one. Remove them. Reported-by: Shawn Guo Signed-off-by: Mike Turquette Cc: Arnd Bergman Cc: Olof Johansson Cc: Russell King Cc: Sascha Hauer Cc: Richard Zhao Cc: Sarav

ANN: live-build_3.0~a45-1-1linaro3

2012-04-11 Thread Tom Gall
Announcing the release of live-build_3.0~a45-1-1linaro3 to ppa:linaro-maintainers/tools Included in this release are two minor but important fixes 1) for cross builds make sure to qualify the use of the linaro-overlay ppa correctly so armel isn't hardcoded 2) for precise, defend against the

Re: Linaro 12.04 3.4-rc1 based androidization branch is available

2012-04-11 Thread Andrey Konovalov
On 04/11/2012 11:19 PM, John Stultz wrote: On 04/09/2012 03:18 PM, John Stultz wrote: I went ahead and forward ported the AOSP-3.3 tree to 3.4-rc1. You can grab it here: git://git.linaro.org/people/jstultz/android.git linaro-android-3.4-jstultz-rebase Sigh. Looks like the Google devs are foll

Re: Linaro 12.04 3.4-rc1 based androidization branch is available

2012-04-11 Thread John Stultz
On 04/09/2012 03:18 PM, John Stultz wrote: I went ahead and forward ported the AOSP-3.3 tree to 3.4-rc1. You can grab it here: git://git.linaro.org/people/jstultz/android.git linaro-android-3.4-jstultz-rebase Sigh. Looks like the Google devs are following close behind and released their own

Re: [PATCH v3 4/4] ARM: omap: pass minimal SoC/board data for UART from dt

2012-04-11 Thread Ramirez Luna, Omar
On Wed, Apr 11, 2012 at 3:39 AM, Cousson, Benoit wrote: > Yes, it is a known issue and the fix was unfortunately was not merged during > -rc phases but is fixed in 3.4 and should be fixed in 3.3 stable branch as > well. I received the notification from Greg KH 2 weeks ago about the stable: > Patch

Re: [Activity] (Omar Ramirez) Apr 2 - Apr 8

2012-04-11 Thread Omar Ramirez Luna
On 10 April 2012 19:29, Deepak Saxena wrote: >> Last week we tried v3.3 mainline and it dies in some problem about UART. > > Have you tried 3.4-rc kernels? I tried 3.4-rc1 and failed with nfs and mmc, it does work with cramfs which I didn't try until now, according to Benoit Cousson there is a fi

Re: [Activity] (Omar Ramirez) Apr 2 - Apr 8

2012-04-11 Thread Omar Ramirez Luna
On 10 April 2012 19:01, Andy Green wrote: > Omar, you should look here > > http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git;a=summary > > use tilt-tracking and omap_5430evm_defconfig > > That's workable on 4430, 4460 (and Omap5) with DT boot.  We have a race > bug about mmc probe

Re: [PATCH V2 0/6] thermal: exynos: Add kernel thermal support for exynos platform

2012-04-11 Thread Amit Kachhap
Hi Rui, Thanks for looking into the patches. On 10 April 2012 06:28, Zhang Rui wrote: > Hi, Amit, > > On 三, 2012-04-04 at 10:02 +0530, Amit Kachhap wrote: >> Hi Len/Rui, >> >> Any comment or feedback from your side about the status of this patch? >> Is it merge-able or major re-work is needed? I

Re: [RFC] Scheduler recorder and playback

2012-04-11 Thread Pantelis Antoniou
Hi Dmitry, On Apr 11, 2012, at 11:02 AM, Dmitry Antipov wrote: > On 04/09/2012 09:24 PM, Pantelis Antoniou wrote: > >> Here's a updated patch for builtin-sched.c that should fix your issues. >> >> Now when you issue list a field will show the amount of nsecs the >> task was burning cycles. >>

Re: Call for testing Linaro Android 12.04 candidates

2012-04-11 Thread Abhishek Paliwal
Hi All, I did boot testing across boards today for 12.04 pre-RC for builds as listed by Fathi. Panda 4430 and 4460, Snowball, iMX53(No iMX6 with me), Origen and Vexpress. All builds bootup fine. Hope other tests will be done by assigned individuals. Let me know if anyone is facing any problems wi

Re: [PATCH v3 4/4] ARM: omap: pass minimal SoC/board data for UART from dt

2012-04-11 Thread Cousson, Benoit
Hi Omar, On 4/11/2012 2:16 AM, Ramirez Luna, Omar wrote: Hi, On Wed, Dec 14, 2011 at 5:55 AM, Rajendra Nayak wrote: Pass minimal data needed for console boot, from dt, for OMAP4 panda/sdp and OMAP3 beagle boards, and get rid of the static initialization from generic board file. ... diff --g

Re: [RFC] Scheduler recorder and playback

2012-04-11 Thread Dmitry Antipov
On 04/09/2012 09:24 PM, Pantelis Antoniou wrote: Here's a updated patch for builtin-sched.c that should fix your issues. Now when you issue list a field will show the amount of nsecs the task was burning cycles. It should also fix the crash you've encountered. 1) IIUC, 'perf sched spr-replay