[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 05 May 2008 16:19:38 +0200
From: Michal Simek <monstr@...nam.cz>
To: John Williams <john.williams@...alogix.com>
CC: linux-kernel@...r.kernel.org, arnd@...db.de,
linux-arch@...r.kernel.org, stephen.neuendorffer@...inx.com,
John.Linn@...inx.com, matthew@....cx, will.newton@...il.com,
drepper@...hat.com, microblaze-uclinux@...e.uq.edu.au,
grant.likely@...retlab.ca, Michal Simek <monstr@...str.eu>
Subject: Re: [PATCH 03/56] microblaze_v2: Cpuinfo handling
>> --- /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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists