[PATCH] hp-timing for ppc32/64

Benjamin Herrenschmidt benh@kernel.crashing.org
Mon Nov 14 04:33:00 GMT 2005


> 403 is already in the case of the kernel and glibc a bit  
> "iffy" given the state of support of powerpc cpus without floating 
> point hardware. 

How so ? We have perfect support for a lot of processors without FPU,
like 4xx, 8xx, etc... and we have an FPU emulator in the kernel that
allows an existing distro to run fine on these.

> Additionally consider how many embedded boards with 
> 4xx chips got tossed since no one was maintaining them in the kernel 
> as a result of the recent ppc/ppc64 kernel merge? 

And ? How does that relate to our problem ?

> I don't mind keeping 403 or 601 going for that matter. It's just a bit
> of a challenged when you don't have the hardware or don't know anyone that
> does. (O ok, I fess up I have a series 1 tivo upstairs ...)

Well, it's not like I was asking for something difficult: basically
detect that bit being passed by the kernel and just don't do hp_timing
when set. Just error out or use gettimeofday fallbacks or whatever. Easy
to test by building a kernel that forces the flag anyway. And I do have
a 601 machine just next to me :)





More information about the Libc-alpha mailing list