[lkml]   [1998]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] New phys_addr() syscall
>>>>> "Alan" == Alan Cox <> writes:


>> What issues? If I pin down a set of pages, I can then get their
>> physical address and tell the card to DMA its heart out. How
>> exactly is this going to fail?

Alan> DMA doesnt honour the MMU write protect bits for copy on write,
Alan> or for page locking. Nor does it set the dirty bit on page table
Alan> entries.

I should consider this also applies to PCI writes, doesn't it?
I was thinking of allowing the USB Stack to directly write to user
pages using PCI. If PCI doesn't also honour the bits we need, could it
be done by hand as the write is finished?


Linux-USB! -
Inaky Perez Gonzalez -- PGP pubkey fingerprint - -- 8E 34 3A 62 64 99 E2 44 - -- AD 7B 30 D9 DD FF 3E 4C -
--------------------------------- -- ----------------------- -
The loneliness of the long distance runner .....

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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