Re: [linux-sunxi] /cpus/cpu@1 missing clock-frequency property

2014-06-27 Thread Maxime Ripard
On Thu, Jun 26, 2014 at 06:50:05PM -0700, 左宝柱 wrote:
> 
> 
> 在 2014年6月26日星期四UTC+8下午3时27分07秒,Hans de Goede写道:
> >
> > Hi, 
> >
> > On 06/26/2014 07:40 AM, zuob...@gmail.com  wrote: 
> > > I booting linux-3.15 on pcDuino V3(A20 onboard). 
> > > 1,second CPU failed,I used 
> > https://github.com/jwrdegoede/u-boot-sunxi,then fixed it. 
> > > 2,missing clock-frequency property 
> >
> > Those messages can be safely ignored. 
> >
> does not affect the performance of the system in the end? 

No, it only affects big.LITTLE systems, which is not the case with the
A20.

See commit 339ca09d7adac80eda8d097ab473c6c23ee86b17

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


signature.asc
Description: Digital signature


Re: [linux-sunxi] /cpus/cpu@1 missing clock-frequency property

2014-06-27 Thread 左宝柱


在 2014年6月26日星期四UTC+8下午3时27分07秒,Hans de Goede写道:
>
> Hi, 
>
> On 06/26/2014 07:40 AM, zuob...@gmail.com  wrote: 
> > I booting linux-3.15 on pcDuino V3(A20 onboard). 
> > 1,second CPU failed,I used 
> https://github.com/jwrdegoede/u-boot-sunxi,then fixed it. 
> > 2,missing clock-frequency property 
>
> Those messages can be safely ignored. 
>
does not affect the performance of the system in the end? 

>
> Regards, 
>
> Hans 
>
> > The following is a useful log 
> > [0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
> Nodes=1 
> > [0.00] Hierarchical RCU implementation. 
> > [0.00] RCU restricting CPUs from NR_CPUS=4 to 
> nr_cpu_ids=2. 
> > [0.00] RCU: Adjusting geometry for rcu_fanout_leaf=16, 
> nr_cpu_ids=2 
> > [0.00] NR_IRQS:16 nr_irqs:16 16 
> > [0.00] Architected cp15 timer(s) running at 24.00MHz (phys). 
> > [0.07] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps 
> every 2863311519744ns 
> > [0.14] Switching to timer-based delay loop 
> > [0.000281] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps 
> every 178956969942ns 
> > [0.000402] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps 
> every 26843545593ns 
> > [0.000553] Console: colour dummy device 80x30 
> > [0.000581] Calibrating delay loop (skipped), value calculated using 
> timer frequency.. 48.00 BogoMIPS (lpj=24) 
> > [0.000593] pid_max: default: 32768 minimum: 301 
> > [0.000701] Mount-cache hash table entries: 2048 (order: 1, 8192 
> bytes) 
> > [0.000712] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 
> bytes) 
> > [0.001230] CPU: Testing write buffer coherency: ok 
> > [0.001486] /cpus/cpu@0 missing clock-frequency property 
> > [0.001503] /cpus/cpu@1 missing clock-frequency property 
> > [0.001514] CPU0: thread -1, cpu 0, socket 0, mpidr 8000 
> > [0.001541] Setting up static identity map for 0x404755e0 - 
> 0x40475638 
> > [0.002624] CPU1: Booted secondary processor 
> > [0.002665] CPU1: thread -1, cpu 1, socket 0, mpidr 8001 
> > [0.002769] Brought up 2 CPUs 
> > [0.002789] SMP: Total of 2 processors activated. 
> > [0.002795] CPU: All CPU(s) started in HYP mode. 
> > [0.002800] CPU: Virtualization extensions available. 
> > [0.003351] devtmpfs: initialized 
> > [0.006961] VFP support v0.3: implementor 41 architecture 2 part 30 
> variant 7 rev 4 
> > [0.007171] pinctrl core: initialized pinctrl subsystem 
> > [0.007357] regulator-dummy: no parameters 
> > [0.011695] NET: Registered protocol family 16 
> > [0.011962] DMA: preallocated 256 KiB pool for atomic coherent 
> allocations 
> > [0.020704] vcc3v0: 3000 mV 
> > [0.020865] vcc3v3: 3300 mV 
> > 
> > also I can see /proc/cpuinfo 
> > # cat /proc/cpuinfo 
> > processor: 0 
> > model name: ARMv7 Processor rev 4 (v7l) 
> > Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 
> idiva idivt vfpd32 lpae evtstrm 
> > CPU implementer: 0x41 
> > CPU architecture: 7 
> > CPU variant: 0x0 
> > CPU part: 0xc07 
> > CPU revision: 4 
> > 
> > processor: 1 
> > model name: ARMv7 Processor rev 4 (v7l) 
> > Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 
> idiva idivt vfpd32 lpae evtstrm 
> > CPU implementer: 0x41 
> > CPU architecture: 7 
> > CPU variant: 0x0 
> > CPU part: 0xc07 
> > CPU revision: 4 
> > 
> > Hardware: Allwinner sun7i (A20) Family 
> > Revision:  
> > Serial:  
> > 
> > is there some way to fixed it? 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] /cpus/cpu@1 missing clock-frequency property

2014-06-26 Thread Hans de Goede

Hi,

On 06/26/2014 07:40 AM, zuobao...@gmail.com wrote:

I booting linux-3.15 on pcDuino V3(A20 onboard).
1,second CPU failed,I used https://github.com/jwrdegoede/u-boot-sunxi,then 
fixed it.
2,missing clock-frequency property


Those messages can be safely ignored.

Regards,

Hans


The following is a useful log
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[0.00] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[0.00] NR_IRQS:16 nr_irqs:16 16
[0.00] Architected cp15 timer(s) running at 24.00MHz (phys).
[0.07] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 
2863311519744ns
[0.14] Switching to timer-based delay loop
[0.000281] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 
178956969942ns
[0.000402] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 
26843545593ns
[0.000553] Console: colour dummy device 80x30
[0.000581] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 48.00 BogoMIPS (lpj=24)
[0.000593] pid_max: default: 32768 minimum: 301
[0.000701] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[0.000712] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[0.001230] CPU: Testing write buffer coherency: ok
[0.001486] /cpus/cpu@0 missing clock-frequency property
[0.001503] /cpus/cpu@1 missing clock-frequency property
[0.001514] CPU0: thread -1, cpu 0, socket 0, mpidr 8000
[0.001541] Setting up static identity map for 0x404755e0 - 0x40475638
[0.002624] CPU1: Booted secondary processor
[0.002665] CPU1: thread -1, cpu 1, socket 0, mpidr 8001
[0.002769] Brought up 2 CPUs
[0.002789] SMP: Total of 2 processors activated.
[0.002795] CPU: All CPU(s) started in HYP mode.
[0.002800] CPU: Virtualization extensions available.
[0.003351] devtmpfs: initialized
[0.006961] VFP support v0.3: implementor 41 architecture 2 part 30 variant 
7 rev 4
[0.007171] pinctrl core: initialized pinctrl subsystem
[0.007357] regulator-dummy: no parameters
[0.011695] NET: Registered protocol family 16
[0.011962] DMA: preallocated 256 KiB pool for atomic coherent allocations
[0.020704] vcc3v0: 3000 mV
[0.020865] vcc3v3: 3300 mV

also I can see /proc/cpuinfo
# cat /proc/cpuinfo
processor   : 0
model name  : ARMv7 Processor rev 4 (v7l)
Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva 
idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part: 0xc07
CPU revision: 4

processor   : 1
model name  : ARMv7 Processor rev 4 (v7l)
Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva 
idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part: 0xc07
CPU revision: 4

Hardware: Allwinner sun7i (A20) Family
Revision: 
Serial  : 

is there some way to fixed it?



--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.