summaryrefslogtreecommitdiff
path: root/net/ipv4/ipconfig.c
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-07-02 22:04:57 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 08:38:06 +0400
commitcfa50c7811fe3857fd882be96b2b2f130fa5da6d (patch)
tree261df2646726e81ebec132809f7afbbbbdaef01c /net/ipv4/ipconfig.c
parent9867e8fb2c45888cc594457914dcbba599f086c8 (diff)
downloadlinux-cfa50c7811fe3857fd882be96b2b2f130fa5da6d.tar.xz
amd-xgbe: Base AXI DMA cache settings on device tree
The default cache operations for ARM64 were changed during 3.15. To use coherent operations a "dma-coherent" device tree property is required. If that property is not present in the device tree node then the non-coherent operations are assigned for the device. Add support to the amd-xgbe driver to assign the AXI DMA cache settings based on whether the "dma-coherent" property is present in the device node. If present, use settings that work with the caches. If not present, use settings that do not look at the caches. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')
0 files changed, 0 insertions, 0 deletions