[parisc-linux] IBM TR patch

Jochen Friedrich jochen@scram.de
Tue, 15 Jan 2002 20:12:45 +0100 (CET)


Hi Matthew,

> > How is ioremap broken? (Just curious). From what I understand ioremap is
> > currently a nop in the parisc-linux vm/io design.
> 
> it's not broken, the assumptions in ibmtr are.  after you've ioremapped
> a region, you can call readb/writeb on it.  ibmtr assumes you can just
> do direct memory accesses.  now, this is something we want to fix,
> but it's not a bug in the PA code.

Then maybe it's best to define the TR_CHECKSUM macro to 0 as default with 
an exception of architectures where the above assumption in true (i.e. 
alpha, i386 and maybe ppc, as well) to gain the extra performance boost of 
the IPv4 pre summarisation.

--jochen