Skip to content

[PW_SID:957642] riscv: dts: sophgo: fix DMA data-width configuration for CV18xx#348

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

[PW_SID:957642] riscv: dts: sophgo: fix DMA data-width configuration for CV18xx#348
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw957642

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 957642 applied to workflow__riscv__fixes

Name: riscv: dts: sophgo: fix DMA data-width configuration for CV18xx
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=957642
Version: 1

Linux RISC-V bot and others added 2 commits April 24, 2025 20:46
The "snps,data-width" property[1] defines the AXI data width of the DMA
controller as:

    width = 8 × (2^n) bits

(0 = 8 bits, 1 = 16 bits, 2 = 32 bits, ..., 6 = 512 bits)
where "n" is the value of "snps,data-width".

For the CV18xx DMA controller, the correct AXI data width is 32 bits,
corresponding to "snps,data-width = 2".

Test results on Milkv Duo S can be found here [2].

Link: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/dma/snps%2Cdw-axi-dmac.yaml#L74 [1]
Link: https://gist.github.com/Sutter099/4fa99bb2d89e5af975983124704b3861 [2]

Co-developed-by: Yu Yuan <yu.yuan@sjtu.edu.cn>
Signed-off-by: Yu Yuan <yu.yuan@sjtu.edu.cn>
Signed-off-by: Ze Huang <huange@whut.edu.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 103.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 922.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1225.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.42 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.49 seconds
Result: WARNING
Output:

WARNING: From:/Signed-off-by: email address mismatch: 'From: Ze Huang <huangze@whut.edu.cn>' != 'Signed-off-by: Ze Huang <huange@whut.edu.cn>'

total: 0 errors, 1 warnings, 0 checks, 8 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 107f169b8594 ("riscv: dts: sophgo: fix DMA data-width configuration for CV18xx") 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, 8 lines checked
WARNING: From:/Signed-off-by: email address mismatch: 'From: Ze Huang <huangze@whut.edu.cn>' != 'Signed-off-by: Ze Huang <huange@whut.edu.cn>'


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 40.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: dts: sophgo: fix DMA data-width configuration for CV18xx"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from c8da138 to 4d9ad71 Compare April 30, 2025 11:41
@linux-riscv-bot linux-riscv-bot deleted the pw957642 branch May 6, 2025 01:03
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