[PATCH 0/2] riscv: sophgo: sg2042: Enable PCIe DMA coherence

Han Gao <[email protected]> Wed, 1 Apr 2026 01:12:46 +0800
Newsgroups dev.linux.lists.sophgo,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <[email protected]>
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