Re: Accessing MMIO PCI space - crossplatform

David S. Miller (davem@dm.cobaltmicro.com)
Fri, 13 Nov 1998 02:20:28 -0800


Date: Fri, 13 Nov 1998 09:00:40 +0000
From: Jamie Lokier <lkd@tantalophile.demon.co.uk>

> c) virt_to_phys and virt_to_bus should walk through pagetables instead
> of anding/oring with something with something

With care.

There are no page tables on sparc64 for all of the direct physical
page mappings. The tlb miss handlers just compute them by hand for
kernel tlb misses, no memory accesses, no memory wasted on page
tables, and it goes like smoke.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/