Skip to content

[PW_SID:1075328] riscv: sophgo: sg2042: Enable PCIe DMA coherence#1698

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1075328
Closed

[PW_SID:1075328] riscv: sophgo: sg2042: Enable PCIe DMA coherence#1698
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1075328

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1075328 applied to workflow__riscv__fixes

Name: riscv: sophgo: sg2042: Enable PCIe DMA coherence
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1075328
Version: 1

RevySR added 2 commits March 31, 2026 17:58
Add dma-coherent as an allowed property in the SG2042 PCIe host
controller binding. SG2042's PCIe root complexes are cache-coherent
with the CPU.

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
SG2042's PCIe root complexes are cache-coherent with the CPU. Mark all
four PCIe controller nodes (pcie_rc0 through pcie_rc3) as dma-coherent
so the kernel uses coherent DMA mappings instead of non-coherent bounce
buffering.

Cc: stable@vger.kernel.org
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 138.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1009.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1370.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.36 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.70 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.33 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/2] dt-bindings: pci: sophgo: Add dma-coherent property for SG2042"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1074.69 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1446.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.19 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.34 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.65 seconds
Result: WARNING
Output:

WARNING: The commit message has 'stable@', perhaps it also needs a 'Fixes:' tag?

total: 0 errors, 1 warnings, 0 checks, 28 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit c3e29b977989 ("riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 28 lines checked
WARNING: The commit message has 'stable@', perhaps it also needs a 'Fixes:' tag?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
kdoc
Desc: Detects for kdoc errors
Duration: 0.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/2] riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1075328 branch March 31, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants