440EP FPU patch

Tom Rini trini at kernel.crashing.org
Fri Apr 1 06:15:48 EST 2005


On Thu, Mar 31, 2005 at 01:10:44PM -0700, Matt wrote:
> On Thu, Mar 31, 2005 at 09:34:21AM -0700, Tom Rini wrote:
> > On Thu, Mar 31, 2005 at 09:26:18AM -0700, Wade Farnsworth wrote:
> > > On Fri, 2005-03-18 at 12:30, Tom Rini wrote:
> > > > On Fri, Mar 18, 2005 at 01:43:11PM -0500, Jason McMullan wrote:
> > > > > On Fri, 2005-03-18 at 10:06 -0600, Kumar Gala wrote:
> > > > > > Can you build your patch for the lopec_defconfig and fix the errors 
> > > > > > associated with enabling altivec.
> > > > > > 
> > > > > > Looks like you need to include asm/offset.h & asm/page.h in vector.S, 
> > > > > > however there is another build error after that.
> > > > > 
> > > > > Thanks! That also found a linking bug, fixed in this patch.. Please
> > > > > double check the call in 'AltiVecUnavalible' in head.S, and the re-load
> > > > > of 'ctr' at the end of load_up_altivec, as I do not have an AltiVec
> > > > > machine here.
> > > > 
> > > > No dice:
> > > > VFS: Mounted root (nfs filesystem) readonly.
> > > > Freeing unused kernel memory: 100k init 4k prep
> > > > floating point used in kernel (task=c03816b0, pc=c000d664)
> > > > Doing some objdump'ing, that's the start of load_up_altivec.
> > > 
> > > Hi Jason and Tom,
> > > 
> > > Has there been any more progress on this patch?
> > 
> > Sadly no.  We got to the point where it was reliably crashing on my
> > LoPEC (7400), but no time to try and fix it.  The problem should show up
> > on any classic PPC box..
> 
> If nobody has time to work on this, then I intend  to put Wade's 440EP
> support in as is (actually, he's planning on resubmitting with some
> additional changes).  When somebody has time, they can redo the patch
> against that.

That's a good point to bring up.  Jason, do you want to post your
current version to the list and we can try and see if we can get it
workign right?

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-embedded mailing list