Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-11 Thread Sanjay Singh Rawat
Pawel, Nicolas, Thanks for the clarification :), dropping. sanjay On Tuesday 11 June 2013 09:00 PM, Nicolas Pitre wrote: On Tue, 11 Jun 2013, Pawel Moll wrote: On Tue, 2013-06-11 at 06:33 +0100, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Sing

Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-11 Thread Nicolas Pitre
On Tue, 11 Jun 2013, Pawel Moll wrote: > On Tue, 2013-06-11 at 06:33 +0100, Sanjay Singh Rawat wrote: > > >> use cpu_do_idle for entering the wfi mode. > > >> > > >> Signed-off-by: Sanjay Singh Rawat > > >> --- > > >> arch/arm/mach-vexpress/hotplug.c |3 ++- > > >> 1 file changed, 2 insert

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Jon Medhurst (Tixy)
On Tue, 2013-06-11 at 22:49 +0800, Andy Green wrote: > Blows chunks the same with this > > cpus { > #size-cells = <0>; > #address-cells = <1>; > > cpu@0 { > compatible = "arm,cortex-a9"; > next-level-cache = <&L2>; > reg = <0>; > }; > cpu@1 { > compatible = "arm,co

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Andy Green
Blows chunks the same with this cpus { #size-cells = <0>; #address-cells = <1>; cpu@0 { compatible = "arm,cortex-a9"; next-level-cache = <&L2>; reg = <0>; }; cpu@1 { compatible = "arm,cortex-a9"; next-level-cache = <&L2>; reg = <1>; }; }; I think it's following Lo

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Jon Medhurst (Tixy)
On Tue, 2013-06-11 at 22:09 +0800, Andy Green wrote: > Thanks. This and the similar issue with perf might be telling us a > global probed SoC capability flag for bL or-ed with the config being > there might be helpful. Now we have accepted DT bindings for cpu nodes [1] perhaps all board's device-

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Andy Green
Thanks. This and the similar issue with perf might be telling us a global probed SoC capability flag for bL or-ed with the config being there might be helpful. -Andy On 11 June 2013 22:01, Jon Medhurst (Tixy) wrote: > On Tue, 2013-06-11 at 21:30 +0800, Andy Green wrote: >> No, unfortunately I a

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Jon Medhurst (Tixy)
On Tue, 2013-06-11 at 21:30 +0800, Andy Green wrote: > No, unfortunately I am evidently ahead of the times ^^ -- your patch > does not fix my bug... > > I have a valid DT table, it's just not on a SoC that has big.LITTLE. > > mpidr_cpuids_count is 0 and nr_cpu_ids is 2 ... > > Instead of using D

Re: [PATCH] cpuidle: arm_big_little: pass target residency to mcpm

2013-06-11 Thread Liviu Dudau
On Mon, Jun 10, 2013 at 06:30:25PM +0100, Sebastian Capella wrote: > Hi, > > I haven't heard back from anyone regarding my last request. If there are no > objections, I'll go ahead and publish this patch to LKML and LAKML. No objections from me, Sebastian. When you have time and the inclination

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Andy Green
No, unfortunately I am evidently ahead of the times ^^ -- your patch does not fix my bug... I have a valid DT table, it's just not on a SoC that has big.LITTLE. mpidr_cpuids_count is 0 and nr_cpu_ids is 2 ... Instead of using DT being there or not it seems you need to test something more to do w

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Jon Medhurst (Tixy)
On Tue, 2013-06-11 at 21:08 +0800, Andy Green wrote: > I see... I was still on -rc4 > > https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git;a=commitdiff;h=882503738c0cbef28da55b511913c0c603016e26 > > ...behind the times... Actually, it was also fixed on -rc4 too [1]. From your BUG()

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Andy Green
I see... I was still on -rc4 https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git;a=commitdiff;h=882503738c0cbef28da55b511913c0c603016e26 ...behind the times... thanks for the fix. -Andy On 11 June 2013 21:04, Jon Medhurst (Tixy) wrote: > On Tue, 2013-06-11 at 20:29 +0800, Andy G

Re: Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Jon Medhurst (Tixy)
On Tue, 2013-06-11 at 20:29 +0800, Andy Green wrote: > Hi - > > If you have a CONFIG_ARCH_MULTIPLATFORM kernel, with big.LITTLE > configured but running on say, a CA9 system, and you have gator from > llct, and you insert gator Looks like a bug I fixed a week ago... https://bugs.launchpad.net

Gator with IKS config but not running on big.LITTLE

2013-06-11 Thread Andy Green
Hi - If you have a CONFIG_ARCH_MULTIPLATFORM kernel, with big.LITTLE configured but running on say, a CA9 system, and you have gator from llct, and you insert gator root@localhost:~# modprobe gator [ 73.951009] [ cut here ] [ 73.955673] kernel BUG at /projects/lina

Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-11 Thread Pawel Moll
On Tue, 2013-06-11 at 06:33 +0100, Sanjay Singh Rawat wrote: > >> use cpu_do_idle for entering the wfi mode. > >> > >> Signed-off-by: Sanjay Singh Rawat > >> --- > >> arch/arm/mach-vexpress/hotplug.c |3 ++- > >> 1 file changed, 2 insertions(+), 1 deletion(-) > >> > >> diff --git a/arch/arm