[RFC] Simple ioremap cache

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jun 8 01:27:22 EST 2004


> > 1) Should this feature be enabled for all ppc32 archs or only for 4xx?
> > I
> > made ioremap profile for 2.6.6 kernel running on my G4 Powerbook and
> > haven't noticed a lot of ioremap regions overlap (there was one
> > instance where
> > my patch would have helped if I've increased cache size to 32 entries).
>
> This may be due to use of BATs on PPC Classic.

I don't think I use a BAT anymore for IOs on pmac. But I also don't
declare overlapping regions. The only places where I may actually
have a few overlaps are some parts of the mac-io ASIC like the DBDMA
regs since they are offset by 0x400 and I ioremap them separately
in each driver.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list