Poor 8xx SCC Ethernet mode performence..

2002-07-16 Thread Jim Lin
Hi . I was testing SCC ethernet performance at our 850 custom board and found somting interesting. 1. Tested FTP Transfer about 20MB file with 10T hub I got about 250 k bps (someting poor ..) 2. and I found the hhl20 arch/ppc/8xx_io/enet.c source code NOT enable full duplex .. and I

consistent_alloc() revisited

2002-07-16 Thread Ralph Blach
Dan and Matt I agree with you 100% Chip -- Forwarded by Ralph Blach/Raleigh/IBM on 07/16/2002 12:13 PM --- Matt Porter @lists.linuxppc.org on 07/16/2002 11:27:26 AM Sent by:owner-linuxppc-embedded at lists.linuxppc.org To:Dan Malek cc:

consistent_alloc() revisited

2002-07-16 Thread David Gibson
A little while back Tom Rini suggested that we implement the various tricks ARM uses in its version of consistent_alloc() in our version. I've made a start on that, but there are some complications. There are basically two things that ARM does and we don't: 1. Frees unused pages in the all

Poor 8xx SCC Ethernet mode performence..

2002-07-16 Thread Conn Clark
Jim Lin wrote: > > Hi . > > I was testing SCC ethernet performance at our 850 custom board and found > somting interesting. > > 1. Tested FTP Transfer about 20MB file with 10T hub I got about 250 k bps > (someting poor ..) > 2. and I found the hhl20 arch/ppc/8xx_io/enet.c source code NOT ena

consistent_alloc() revisited

2002-07-16 Thread Dan Malek
David Gibson wrote: > In addition, the following seem to me like desirable (to a greater or > lesser extent) properties for consistent_alloc(): > a. one of the return values can be used as a single "handle" > so that consistent_free() only needs one parameter. We want the implementation AP

consistent_alloc() revisited

2002-07-16 Thread Matt Porter
On Tue, Jul 16, 2002 at 10:09:03AM -0400, Dan Malek wrote: > > David Gibson wrote: > > - if (in_interrupt()) > > - BUG(); > > + BUG_ON(in_interrupt()); > > We should be able to call these functions from interrupt, let's push > the remainder of the changes though get_free_pages() to m

ioremap on powerpc question

2002-07-16 Thread Cameron, Steve
[...] > > > > However, on powerpc, as soon as I try to do, for example: > > > > *buf = '\0'; // write one char to virt addr returned by ioremap > > > > It blows up with a machine check. > > You are hitting a 440GP specific feature. ioremap is trapping > ranges of addresses and "fixing them up

consistent_alloc() revisited

2002-07-16 Thread Matt Porter
On Tue, Jul 16, 2002 at 10:09:03AM -0400, Dan Malek wrote: > > David Gibson wrote: > > c. be able to use highmem pages > > You think there will be non-coherent processors with this much memory? :-) I guess you're kidding, but to be clear to everybody, the 440GP does handle up to 2GB of DDR.

consistent_alloc() revisited

2002-07-16 Thread Tom Rini
On Tue, Jul 16, 2002 at 10:09:03AM -0400, Dan Malek wrote: > > David Gibson wrote: > >-if (in_interrupt()) > >-BUG(); > >+BUG_ON(in_interrupt()); > > We should be able to call these functions from interrupt, let's push > the remainder of the changes though get_free_pages() to m