750GX

2008-06-06 Thread Kevin Diggs
Hi, In the 750GX data sheet (750GX_ds2-17-05.pdf), page 45 has Table 5-1 that describes the PLL range field. It goes something like this: PLL_RNGrange 00600 - 900 01900 - 1000 10500 - 600 Anyone have any thoughts as to what the correct va

inline assembly

2008-06-04 Thread Kevin Diggs
Hi, When doing inline assembly, is there a way to get the compiler to assign "extra" (one not specified for inputs and outputs) registers? In the following: __asm__ __volatile__ ( "addi 5,%1,-1\n" "andc 5,%1,5\n"

750GX cpu freq support

2008-06-03 Thread Kevin Diggs
This will show how much of a novice I am: What's a "git"? /* * cf750gx.c - cpufreq driver for the dual PLLs in the 750gx * ($Revision: 1.0 $) * * Copyright (C) 2008 kevin Diggs * * ~~ * * This pro

cntlzw

2008-06-03 Thread Kevin Diggs
Hi, x86 has bsf and bsr. PPC has cntlzw which I think is equivalent to bsr. Anyone know of a sneaky algorithm to do bsf? kevin ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

questions

2008-05-25 Thread Kevin Diggs
Hi, In idle_6xx.S one finds instructions like: lis r4,[EMAIL PROTECTED] lwz r4,[EMAIL PROTECTED](r4) Can someone explain what this is doing? Presumably the first is loading an address and the second a value. What do the '@ha' and '@l' do? Also, is there an

Re: function calls from identify_cpu()

2008-05-02 Thread Kevin Diggs
Benjamin Herrenschmidt wrote: On Fri, 2008-05-02 at 13:42 -0700, Kevin Diggs wrote: I added: int __init iDoNothingUseful(struct cpu_spec *s,struct cpu_spec *t) { return s-t; } right before the definition of identify_cpu() in cputable.c and: // (void) (*PTRRELOC

function calls from identify_cpu()

2008-05-02 Thread Kevin Diggs
I added: int __init iDoNothingUseful(struct cpu_spec *s,struct cpu_spec *t) { return s-t; } right before the definition of identify_cpu() in cputable.c and: // (void) (*PTRRELOC(&iDoNothingUseful))(s,t); (void) iDoNothingUseful(s,t); right b

mucking with cputable ...

2008-04-30 Thread Kevin Diggs
Hi, I'm trying to monkey with cputable. It is hanging after printing: Preparing BATs on the console (PowerMac 8600 with PowerLogix 750GX card, 2.6.24 YDL 4.0). I am guessing I am doing this PTRRELOC() thing wrong? Can someone explain what is going on here: *PTRRELOC(&cur_cp

DPMS for Radeon 9600 in G5

2008-04-30 Thread Kevin Diggs
Anyone one have any suggestions on how to get DPMS working for a Radeon 9600? Using a DVI cable? Thanks! kevin ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: get_cycles()

2008-04-27 Thread Kevin Diggs
David Miller wrote: From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 19:39:07 -0700 This looks pretty cool ... but I don't want to create a dependency on hrtimer. It doesn't create such a dependency. We use it unconditionally in the generic networking.

Re: get_cycles()

2008-04-26 Thread Kevin Diggs
David Miller wrote: From: Kevin Diggs <[EMAIL PROTECTED]> Date: Sat, 26 Apr 2008 00:54:11 -0700 Anyone know how to turn get_cycles() into an actual time in a module? ppc_tb_freq does not seem to be exported? You should really be using ktime_t and associated interfaces. This looks

get_cycles()

2008-04-26 Thread Kevin Diggs
H, Anyone know how to turn get_cycles() into an actual time in a module? ppc_tb_freq does not seem to be exported? kevin ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: sysfs cpu entry

2008-04-25 Thread Kevin Diggs
Kumar Gala wrote: What 32-bit chip are you looking to enable this for? - k I am working on some stuff for the 750GX kevin ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

sysfs cpu entry

2008-04-25 Thread Kevin Diggs
Hi, Can someone suggest where to add the code for a cpu (/sys/devices/system/cpu/cpu0) entry in sysfs? The 2.6.24 release has a sysfs.c file but it only seems to be used for 64-bit? Anyone know why? What kind of planetary disasters will I create if I allow it to be used in 32-bit as well?

sysfs cpu entry

2008-04-24 Thread Kevin Diggs
Hi, Can someone suggest where to add the code for a cpu (/sys/devices/system/cpu/cpu0) entry in sysfs? The 2.6.24 release has a sysfs.c file but it only seems to be used for 64-bit? Anyone know why? What kind of planetary disasters will I create if I allow it to be used in 32-bit as w

<    1   2