RE: DMA transfer is not working if highmem is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hm, I think the only way to get the bus addr. is to use something like dma_map_sg... as descriped in Documentation/DMA-API-HOWTO.txt, or? I would prefer something that is working with old kernel versions, too ;(

>-----Original Message-----
>From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Trübenbach, Ralf
>Sent: Wednesday, October 20, 2010 1:55 PM
>To: kernelnewbies@xxxxxxxxxxxx
>Subject: DMA transfer is not working if highmem is enabled
>...
>I tried with page_to_phys() instead of page_address/virt_to_bus which 
>seems to work. But is this correct for all architectures? As far as I
>understood I have to use the bus addresses and not the physical 
>addresses to fill the DMA scatter list.
>...

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux