|
From: Rene B. <re...@we...> - 2001-09-29 16:57:11
|
Roman Zippel wrote: > 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 marke= d >> 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. Hello, Documentation/DMA-mapping.txt says that pci_alloc_consistent() can also=20 be used on machines that don`t have PCI-bus. Ciao, Ren=E8 |