Re: ConnectX-3 on non-coherent AARCH64 system

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

 



On Mon, 13 Mar 2017, Stephen Warren wrote:

> > Ideally the kernel would not create the uverbs device for DMA drivers
> > on such architectures.. Is there a kernel API to detect cache
> > incoherence?
>
> I'm not aware of any right now (although I don't deal with Linux MM much, so
> probably wouldn't be). I am aware of dma_alloc_coherent(), and I assume that
> must choose uncached/cached/... based on the HW's coherence, so perhaps that
> information could be found.
>
> Once upon a time, we might have got away with assuming the answer based on
> architecture, but I suspect that ARM==non-coherent is false in many cases
> these days.

CONFIG_HAVE_GENERIC_DMA_COHERENT?

Look for DMA_COHERENT in the kernel header files
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux