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

2013-06-20 Thread Andy Green
On 20 June 2013 17:34, Dave Martin wrote: > On Thu, Jun 13, 2013 at 12:08:49PM +0100, Jon Medhurst (Tixy) wrote: >> On Thu, 2013-06-13 at 12:14 +0800, Andy Green wrote: >> > Hi - >> > >> > Something maybe unrelated after inserting gator successfully get >> > some kernel logs coming >> > >> >

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

2013-06-20 Thread Dave Martin
On Thu, Jun 13, 2013 at 12:08:49PM +0100, Jon Medhurst (Tixy) wrote: > On Thu, 2013-06-13 at 12:14 +0800, Andy Green wrote: > > Hi - > > > > Something maybe unrelated after inserting gator successfully get > > some kernel logs coming > > > > [ 52.491528] CPU PMU: unable to set irq affinity

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

2013-06-13 Thread Jon Medhurst (Tixy)
On Thu, 2013-06-13 at 12:14 +0800, Andy Green wrote: > Hi - > > Something maybe unrelated after inserting gator successfully get > some kernel logs coming > > [ 52.491528] CPU PMU: unable to set irq affinity (irq=0, cpu=0) > [ 52.496351] CPU PMU: unable to set irq affinity (irq=0, cpu=0)

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

2013-06-12 Thread Andy Green
Hi - Something maybe unrelated after inserting gator successfully get some kernel logs coming [ 52.491528] CPU PMU: unable to set irq affinity (irq=0, cpu=0) [ 52.496351] CPU PMU: unable to set irq affinity (irq=0, cpu=0) ... irq = 0 isn't looking very happy... are there more new DT pro

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

2013-06-12 Thread Andy Green
Thanks for the info: you're right I missed that. When I add it, the BUG is gone on gator module insertion, so from my POV we can call it fixed. -Andy On 11 June 2013 23:12, Jon Medhurst (Tixy) wrote: > On Tue, 2013-06-11 at 22:49 +0800, Andy Green wrote: >> Blows chunks the same with this >> >>

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: 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