PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI
authorBharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Mon, 22 Feb 2021 08:47:31 +0000 (14:17 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 7 Apr 2021 15:59:23 +0000 (16:59 +0100)
commit213e12205232886902507ba4e2af12d79b7cbbab
tree67f402570d02561249cac63df8c3e3705f8153c0
parenta38fd8748464831584a19438cbb3082b5a2dab15
PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

Add support for routing PCIe DMA traffic coherently when
Cache Coherent Interconnect (CCI) is enabled in the system.
The "dma-coherent" property is used to determine if CCI is enabled
or not.
Refer to https://developer.arm.com/documentation/ddi0470/k/preface
for the CCI specification.

Link: https://lore.kernel.org/r/20210222084732.21521-1-bharat.kumar.gogada@xilinx.com
Signed-off-by: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pcie-xilinx-nwl.c