The SG2042 hardware design supports cache-coherent PCIe.
With recent firmware updates [1], it allows to use DMA coherent.
[1] https://github.com/sophgo/edk2-non-osi/commit/017a5aea26a066fd2bf501b7893937183165af36
Han Gao (2):
dt-bindings: pci: sophgo: Add dma-coherent property for SG2042
riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers
.../devicetree/bindings/pci/sophgo,sg2042-pcie-host.yaml | 3 +++
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 4 ++++
2 files changed, 7 insertions(+)
--
2.47.3