Coherency

Linux Drivers

Release Date
2023-07-22

The DMA Proxy driver by default uses coherent memory which is non-cached in a s/w coherent system. A hardware coherent system with cached memory is optional. The example hardware system described below is hardware coherent to allow cached memory without cache maintenance from user space. A coherent capable HP slave interface must be used for hardware coherency.

A value of 0x2 is used for the AxProt bus of the AXI stream to allow unsecure transactions as required for Linux. See the Xilinx MPSOC Coherency wiki page for general details at https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842098 . The following illustration shows the general technique for making coherent transactions with the AXI DMA.