Re: staging: android: ion: potential coherency issue

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

 




On 02/13/2018 08:40 PM, Laura Abbott wrote:
> On 02/12/2018 11:24 PM, Alexey Skidanov wrote:
>> Hello,
>>
>> Correct me if I'm wrong, but there is no user space interface, similar
>> to the dma_buf_start_cpu_access()/dma_buf_end_cpu_access() to handle IO
>> coherency. That is, on the platforms, where the SW is responsible for IO
>> coherency handling, the following sequences:
>> - write to the buffer
>> - DMA read
>> or
>> - DMA write
>> - read from the buffer
>> may be problematic.
>>
>> Thanks,
>> Alexey
>>
> 
> Have you looked at the dma_buf sync ioctl? (see
> include/uapi/linux/dma-buf.h)
> 
> Thanks,
> Laura

No ... But this is it :)

Thanks a lot,
Alexey
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux