Module kernel::dma::attrs

source ·
Expand description

DMA mapping attributes.

Constants§

  • This is a hint to the DMA-mapping subsystem that it’s probably not worth the time to try to allocate memory to in a way that gives better TLB efficiency.
  • Forces contiguous allocation of the buffer in physical memory.
  • Lets the platform to avoid creating a kernel virtual mapping for the allocated buffer.
  • This tells the DMA-mapping subsystem to suppress allocation failure reports (similarly to __GFP_NOWARN).
  • Used to indicate that the buffer is fully accessible at an elevated privilege level (and ideally inaccessible or at least read-only at lesser-privileged levels).
  • Allows platform code to skip synchronization of the CPU cache for the given buffer assuming that it has been already transferred to ‘device’ domain.
  • Specifies that reads and writes to the mapping may be weakly ordered, that is that reads and writes may pass each other.
  • Specifies that writes to the mapping may be buffered to improve performance.