Re: [PATCH 03/56] microblaze_v2: Cpuinfo handling

Michal Simek
2008-05-05T14:18:40Z

>> --- /dev/null
>> +++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c
>> @@ -0,0 +1,117 @@
>
>> +
>> + ci->cpu_clock_freq = fcpu(cpu, "timebase-frequency");
>
> Should this be added to cpuinfo-pvr.c?

I moved it. This was in cpuinfo.c because you can't load frequency from PVR regs.
this value was loaded from DTS and I don't want to setup second parameter to pvr
function.

>> --- /dev/null
>> +++ b/include/asm-microblaze/cpuinfo.h
> ...
>
>> + /* HW debug support */
>> + int hw_debug;
>> + int num_pc_brk;
>> + int num_rd_brk;
>> + int num_wr_brk;
>
> + /* CPU and system timebase info */
>> + int cpu_clock_freq;
>> +
>
>> +void set_cpuinfo_pvr_partial(struct cpuinfo *ci);
>
> pvr_partial never got written - it can be deleted.

I removed it and changed values
M