|
From: Roman Z. <zi...@li...> - 2001-09-28 21:53:42
|
Hi, Rene Brothuhn wrote: > As far as I know the standard interface to get some uncached mem is > pci_alloc_consistent() as described in Documentation/DMA-mapping.txt. > This seems to working on APUS, but I`m not sure if the TLB`s are marked > as cache-inhibit. No there aren't. First it's pci specific and it doesn't mention the cache at all. If you look at arch/ppc/kernel/pci-dma.c, you see it's just a __get_free_pages(), but you need a new mapping to get the new cache mode. bye, Roman |