[PATCH 1/2] ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp

2012-02-28 Thread Richard Zhao
If CONFIG_SMP, cpufreq skips loops_per_jiffy update, because different arch has different per-cpu loops_per_jiffy definition. Signed-off-by: Richard Zhao Acked-by: Russell King --- arch/arm/kernel/smp.c | 54 + 1 files changed, 54 insertions(+),

[PATCH 0/2] change lpj in arm smp common code

2012-02-28 Thread Richard Zhao
The two patches were originally in [PATCH V6 0/7] add a generic cpufreq driver. I seperated them and hope they can go to upstream earlier. Richard Zhao (2): ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp cpufreq: OMAP: remove loops_per_jiffy recalculate for smp arch/ar

[PATCH 2/2] cpufreq: OMAP: remove loops_per_jiffy recalculate for smp

2012-02-28 Thread Richard Zhao
arm registered cpufreq transition notifier to recalculate it. Signed-off-by: Richard Zhao --- drivers/cpufreq/omap-cpufreq.c | 36 1 files changed, 0 insertions(+), 36 deletions(-) diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.

Re: 3, 2, 1....BLASTOFF

2012-02-28 Thread Guruswamy, Senthilvadivu
Zach, On Wed, Feb 29, 2012 at 7:54 AM, Zach Pfeffer wrote: > The preliminary 12.03 Android plan is up. > > https://launchpad.net/linaro-android/+milestone/12.03 > > ARM A15, A7 and A15/A7 Fast Models running Android, big.LITTLE > testing, dual SD cards, unit tests, more enablement, improved Andro

Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

2012-02-28 Thread Dmitry Antipov
On 02/28/2012 05:30 PM, Dan Carpenter wrote: Could you include that in the changelog when the final version is ready? What changelog you're saying about? Dmitry ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman

Re: ARM A9 oprofile

2012-02-28 Thread Dmitry Antipov
On 02/28/2012 05:27 PM, Ming Lei wrote: OK, could you try the MLO and u-boot.bin under the link of http://kernel.ubuntu.com/~ming/up to see if 'perf' may work well? Is it really possible that the bootloader stuff affects perf/oprofile? If still not, could you tell me what is the revision of

Re: [PATCH 2/3] ARM: EXYNOS: Add clkdev lookup entry for lcd clock

2012-02-28 Thread Tushar Behera
Hi Kukjin, On 12/01/2011 11:20 AM, Tushar Behera wrote: > The framebuffer driver needs the clock named 'lcd' as its bus > clock but the equivalent clock on Exynos4 is named as 'fimd'. > Hence, create a clkdev lookup entry with the name 'lcd' that > references the 'fimd' clock. > > Signed-off-by:

Benchmark summary for Linaro GCC

2012-02-28 Thread Michael Hope
The topic of benchmarking keeps coming up. We're working on making the next FSF release better, but it's a good idea to track how the current Linaro GCC stacks up against other releases. The summary is at: https://wiki.linaro.org/Internal/ToolChain/Now Included is how our current 4.6 release d

3, 2, 1....BLASTOFF

2012-02-28 Thread Zach Pfeffer
The preliminary 12.03 Android plan is up. https://launchpad.net/linaro-android/+milestone/12.03 ARM A15, A7 and A15/A7 Fast Models running Android, big.LITTLE testing, dual SD cards, unit tests, more enablement, improved Android SMP, and more!!! -- Zach Pfeffer Android Platform Team Lead, Linar

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Lee
>> Sounds reasonable.  In some cases it may be helpful to track state >> demotion as well.  Since I'm still a noob and wearing my submission >> training wheels, I'm trying to minimize things that fall outside of >> this basic consolidation effort for this patch series.  But I added >> Jon's suggest

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Turquette, Mike
On Tue, Feb 28, 2012 at 3:33 PM, Rob Lee wrote: >> >> I brought this topic up internally and Jon suggested that the 'usage' >> statistics that are reported in sysfs should also reflect failed >> versus successful C-state transitions, which is a great idea.  This >> could simply be achieved by rena

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Lee
> > I brought this topic up internally and Jon suggested that the 'usage' > statistics that are reported in sysfs should also reflect failed > versus successful C-state transitions, which is a great idea.  This > could simply be achieved by renaming the current 'usage' count to > something like 'tr

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Turquette, Mike
On Tue, Feb 28, 2012 at 7:50 AM, Rob Lee wrote: > On Mon, Feb 27, 2012 at 6:49 PM, Turquette, Mike wrote: >> On Sun, Feb 26, 2012 at 8:47 PM, Robert Lee wrote: >>> +/** >>> + * cpuidle_enter_wrap - performing timekeeping and irq around enter >>> function >>> + * @dev: pointer to a valid cpuidle

Re: Sample big.LITTLE model boot images

2012-02-28 Thread Zach Pfeffer
ps: > > {{{ > $ : >payload/fsimg > $ cp ../../zBlob payload/kernel > $ cp initrd.img payload/fsimg > }}} > > ... and build: > > {{{ > $ make > [...] >  LD      img.axf > }}} > > img.axf is the boot payload which is needed to start the model.  I

Sample big.LITTLE model boot images

2012-02-28 Thread Dave Martin
oad images can be found in http://people.linaro.org/~dmart/bl-images/model-images-20120228.tar.bz2 Run like this: {{{ $ ./RTSM_VE_Cortex-A15x4-A7x4 -C motherboard.mmc.p_mmc_file=mmc.bin -a coretile.cluster0.*=img.axf }}} This should be enough to boot to a prompt on the simulated UART. Beware tho

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Lee
>>> Any reason that this code is in the header?  Why not in cpuidle.c? >>> >> >> Not a strong reason.  I thought making it an inline would introduce >> slightly less new execution when adding this code (realizing that >> there are function calls immediately after, so the only benefit is the >> redu

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Herring
On 02/28/2012 09:45 AM, Rob Lee wrote: > Hey Mike, > > On Mon, Feb 27, 2012 at 6:06 PM, Turquette, Mike wrote: >> On Sun, Feb 26, 2012 at 8:47 PM, Robert Lee wrote: >>> +/** >>> + * cpuidle_enter_wrap - performing timekeeping and irq around enter >>> function >>> + * @dev: pointer to a valid cp

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Lee
On Mon, Feb 27, 2012 at 6:49 PM, Turquette, Mike wrote: > On Sun, Feb 26, 2012 at 8:47 PM, Robert Lee wrote: >> +/** >> + * cpuidle_enter_wrap - performing timekeeping and irq around enter function >> + * @dev: pointer to a valid cpuidle_device object >> + * @drv: pointer to a valid cpuidle_drive

Re: [PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-28 Thread Rob Lee
Hey Mike, On Mon, Feb 27, 2012 at 6:06 PM, Turquette, Mike wrote: > On Sun, Feb 26, 2012 at 8:47 PM, Robert Lee wrote: >> +/** >> + * cpuidle_enter_wrap - performing timekeeping and irq around enter function >> + * @dev: pointer to a valid cpuidle_device object >> + * @drv: pointer to a valid cp

Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

2012-02-28 Thread Dan Carpenter
On Tue, Feb 28, 2012 at 03:59:25PM +0400, Dmitry Antipov wrote: > On 02/28/2012 01:44 PM, Dan Carpenter wrote: > >On Tue, Feb 28, 2012 at 01:33:59PM +0400, Dmitry Antipov wrote: > >> - Fix vmap() to return ZERO_SIZE_PTR if 0 pages are requested; > >> - fix __vmalloc_node_range() to return ZERO_SI

Re: ARM A9 oprofile

2012-02-28 Thread Ming Lei
On Tue, Feb 28, 2012 at 8:13 PM, Dmitry Antipov wrote: > On 02/28/2012 04:45 AM, Ming Lei wrote: > >> Please try the uImage on the link below: >> >>       http://kernel.ubuntu.com/~ming/up/uImage-3.3-rc5-perf >> > > No good news for the oprofile: OK, could you try the MLO and u-boot.bin under the

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Stefano Stabellini
On Tue, 28 Feb 2012, Ian Campbell wrote: > On Tue, 2012-02-28 at 10:20 +, Dave Martin wrote: > > On Mon, Feb 27, 2012 at 07:33:39PM +, Ian Campbell wrote: > > > On Mon, 2012-02-27 at 18:03 +, Dave Martin wrote: > > > > > Since we support only ARMv7+ there are "T2" and "T3" encodings >

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Stefano Stabellini
On Tue, 28 Feb 2012, Dave Martin wrote: > > Given that Stefano is proposing to make the ISS a (per-hypervisor) > > constant we could consider just defining the Thumb and non-Thumb > > constants instead of doing all the construction with the __HVC_IMM stuff > > -- that would remove a big bit of the

Re: ARM A9 oprofile

2012-02-28 Thread Dmitry Antipov
On 02/28/2012 04:45 AM, Ming Lei wrote: Please try the uImage on the link below: http://kernel.ubuntu.com/~ming/up/uImage-3.3-rc5-perf No good news for the oprofile: ... irq 34: nobody cared (try booting with the "irqpoll" option) [stack] Disabling IRQ #34 irq 33: nobody cared (try b

Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

2012-02-28 Thread Dmitry Antipov
On 02/28/2012 01:44 PM, Dan Carpenter wrote: On Tue, Feb 28, 2012 at 01:33:59PM +0400, Dmitry Antipov wrote: - Fix vmap() to return ZERO_SIZE_PTR if 0 pages are requested; - fix __vmalloc_node_range() to return ZERO_SIZE_PTR if 0 bytes are requested; - fix __vunmap() to check passed po

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Ian Campbell
On Mon, 2012-02-27 at 21:05 +, Peter Maydell wrote: > On 27 February 2012 16:27, Ian Campbell wrote: > > R12 is not accessible from the 16 bit "T1" Thumb encoding of mov > > immediate (which can only target r0..r7). > > > > Since we support only ARMv7+ there are "T2" and "T3" encodings availab

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Ian Campbell
On Tue, 2012-02-28 at 10:20 +, Dave Martin wrote: > On Mon, Feb 27, 2012 at 07:33:39PM +, Ian Campbell wrote: > > On Mon, 2012-02-27 at 18:03 +, Dave Martin wrote: > > > > Since we support only ARMv7+ there are "T2" and "T3" encodings available > > > > which do allow direct mov of an im

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Ian Campbell
On Tue, 2012-02-28 at 09:46 +, Dave Martin wrote: > On Mon, Feb 27, 2012 at 07:48:45PM +, Ian Campbell wrote: > > Given that Stefano is proposing to make the ISS a (per-hypervisor) > > constant we could consider just defining the Thumb and non-Thumb > > constants instead of doing all the co

Re: [PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

2012-02-28 Thread Dan Carpenter
On Tue, Feb 28, 2012 at 01:33:59PM +0400, Dmitry Antipov wrote: > - Fix vmap() to return ZERO_SIZE_PTR if 0 pages are requested; > - fix __vmalloc_node_range() to return ZERO_SIZE_PTR if 0 bytes >are requested; > - fix __vunmap() to check passed pointer with ZERO_OR_NULL_PTR. > Why? Also

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Dave Martin
On Mon, Feb 27, 2012 at 07:33:39PM +, Ian Campbell wrote: > On Mon, 2012-02-27 at 18:03 +, Dave Martin wrote: > > On Mon, Feb 27, 2012 at 04:27:23PM +, Ian Campbell wrote: > > > On Thu, 2012-02-23 at 17:48 +, Stefano Stabellini wrote: > > > > We need a register to pass the hypercall

Re: [PATCH v3 0/2] Device tree support for TWL regulators

2012-02-28 Thread Mark Brown
On Tue, Feb 28, 2012 at 11:11:48AM +0530, Rajendra Nayak wrote: > changes have no dependencies with any other DT series. I will repost > all of Tero/Peter and my changes (to add DT support to the driver) as > one single series and drop the dts file updates, which I guess can go > via Tony/OMAP tre

Re: [PATCH-WIP 01/13] xen/arm: use r12 to pass the hypercall number to the hypervisor

2012-02-28 Thread Dave Martin
On Mon, Feb 27, 2012 at 07:48:45PM +, Ian Campbell wrote: > On Mon, 2012-02-27 at 17:53 +, Dave Martin wrote: > > On Thu, Feb 23, 2012 at 05:48:22PM +, Stefano Stabellini wrote: > > > We need a register to pass the hypercall number because we might not > > > know it at compile time and

[PATCH 3/4] regulator: twl-regulator: Add fixed LDO for V1V8, V2V1 supply

2012-02-28 Thread Rajendra Nayak
From: Peter Ujfalusi V1V8 supply most common use is to provide VIO for the system. V2V1 supply is used on SDP4430/PandaBoards to provide 2.1V to twl6040, and also as an input to VCXIO_IN, VDAC_IN of twl6030. Also update the bindings documentation with the new compatible property for these additi

[PATCH 2/4] regulator: twl: adapt twl-regulator driver to dt

2012-02-28 Thread Rajendra Nayak
Modify the twl regulator driver to extract the regulator_init_data from device tree when passed, instead of getting it through platform_data structures (on non-DT builds) Also add documentation for TWL regulator specific bindings. Signed-off-by: Rajendra Nayak --- .../bindings/regulator/twl-reg

[PATCH 1/4] regulator: twl6030: add support for vdd1, vdd2 and vdd3 regulators

2012-02-28 Thread Rajendra Nayak
From: Tero Kristo vdd1 and vdd2 are now common regulators for twl4030 and twl6030. Also added vdd3 as a new regulator for twl6030. twl6030 vdd1...vdd3 smps regulator voltages can only be controlled through the smartreflex voltage channel, thus the support for the voltage_get and set is minimal an

[PATCH 4/4] MFD: twl-core: regulator configuration for twl6030 V1V8, V2V1 SMPS

2012-02-28 Thread Rajendra Nayak
From: Peter Ujfalusi To be able to attach consumers to these supplies from board files we need to have regulator_init_data for them. Signed-off-by: Peter Ujfalusi Signed-off-by: Rajendra Nayak Cc: Samuel Ortiz Cc: Misael Lopez Cruz Cc: Santosh Shilimkar --- drivers/mfd/twl-core.c | 10 +

[PATCH 0/4] twl-regulator DT adaptation and updates to add new regulators

2012-02-28 Thread Rajendra Nayak
Hi Mark, Here is a consolidated series which adds DT support for twl regulator driver and adds support for VDD1/2/3 regulator and support for fixed LDO V1V8 and V2V1. The patches are based on -next and tested on omap3 beagle and omap4 panda boards. I have dropped the patch updating the dts entrie

[PATCH 2/2] module: use ZERO_OR_NULL_PTR allocation pointer checking

2012-02-28 Thread Dmitry Antipov
Use ZERO_OR_NULL_PTR allocation pointer checking where allocation function may return ZERO_SIZE_PTR. --- kernel/module.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/module.c b/kernel/module.c index 2c93276..ae438db 100644 --- a/kernel/module.c +++ b/kerne

[PATCH 1/2] vmalloc: use ZERO_SIZE_PTR / ZERO_OR_NULL_PTR

2012-02-28 Thread Dmitry Antipov
- Fix vmap() to return ZERO_SIZE_PTR if 0 pages are requested; - fix __vmalloc_node_range() to return ZERO_SIZE_PTR if 0 bytes are requested; - fix __vunmap() to check passed pointer with ZERO_OR_NULL_PTR. Signed-off-by: Dmitry Antipov --- mm/vmalloc.c | 10 +++--- 1 files changed, 7

[RFC PATCH] module: debugging check for runaway kthreads

2012-02-28 Thread Dmitry Antipov
Debugging option CONFIG_MODULE_KTHREAD_CHECK provides a way to check whether all kernel threads created by the module and have used module code as a thread worker function are really exited when the module is unloaded. The following pseudo-code contains example of an error which is likely to be cat

[RFC PATCH] hrtimers: system-wide and per-task hrtimer slacks

2012-02-28 Thread Dmitry Antipov
This patch proposes a system-wide sysctl-aware default for the high-resolution timer slack value, which may be changed from 0 to HRTIMER_MAX_SLACK nanoseconds. Default system-wide and per-task values are HRTIMER_DEFAULT_SLACK. Per-task value isn't inherited across fork(); instead, newborn task uses