lkml.org 
[lkml]   [1999]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: DMA and Cache coherency on machines without hardware enforced
From
Date
>>>>> "Ingo" == Ingo Molnar <mingo@chiara.csoma.elte.hu> writes:

Ingo> On Wed, 1 Dec 1999, Pete Zaitcev wrote:

>> >page = __get_free_pages(whatever, order); >ptr =
>> ioremap_nocache(virt_to_phys(page), 1 << (order+PAGE_SHIFT));
>>
>> When was ioremap_nocache() introduced and was it sprinked with a
>> penguin pee?

Ingo> well, 2 or 3 years ago, in the late 2.0 kernels.

I still see a need for a get_free_coherent_page() for use in cases
where you want to share physical memory with devices. On coherent
architectures get_free_page() does just fine today, but on machines
like the m68k it does not. Having a standard interface would making
device drivers portable a lot easier.

Question is which API would be the most appropriate.

Jes

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.074 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site