Skip to content

[PW_SID:957745] riscv: sophgo: add mailbox support for CV18XX series SoC#349

Closed
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw957745
Closed

[PW_SID:957745] riscv: sophgo: add mailbox support for CV18XX series SoC#349
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw957745

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 957745 applied to workflow__riscv__fixes

Name: riscv: sophgo: add mailbox support for CV18XX series SoC
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=957745
Version: 3

Linux RISC-V bot and others added 4 commits April 24, 2025 20:46
Introduce the mailbox module for CV18XX series SoC, which is responsible
for interchanging messages between asymmetric processors.

Signed-off-by: Yuntao Dai <d1581209858@live.com>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add mailbox node for Sophgo CV18XX series SoC.

Signed-off-by: Yuntao Dai <d1581209858@live.com>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add mailbox controller driver for CV18XX SoCs, which provides 8 channels
and each channel has an 8-byte FIFO.

Signed-off-by: Yuntao Dai <d1581209858@live.com>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 100.40 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 863.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1145.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 19.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.58 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#18: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 57 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 6db3e125ee3d ("dt-bindings: mailbox: add Sophgo CV18XX series SoC") 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, 57 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 38.80 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
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: "[v3,1/3] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 100.65 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 904.57 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1194.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 19.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 20.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.68 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 38.66 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
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 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v3,2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 101.01 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 894.59 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1188.69 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 19.82 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.39 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.20 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#54: 
new file mode 100644

CHECK: Macro argument 'cpu' may be better as '(cpu)' to avoid precedence issues
#82: FILE: drivers/mailbox/cv1800-mailbox.c:24:
+#define MBOX_EN_REG(cpu)	(cpu << 2)

CHECK: Macro argument 'cpu' may be better as '(cpu)' to avoid precedence issues
#83: FILE: drivers/mailbox/cv1800-mailbox.c:25:
+#define MBOX_DONE_REG(cpu)	((cpu << 2) + 2)

CHECK: Macro argument 'cpu' may be better as '(cpu)' to avoid precedence issues
#84: FILE: drivers/mailbox/cv1800-mailbox.c:26:
+#define MBOX_SET_CLR_REG(cpu)	(0x10 + (cpu << 4))

CHECK: Macro argument 'cpu' may be better as '(cpu)' to avoid precedence issues
#85: FILE: drivers/mailbox/cv1800-mailbox.c:27:
+#define MBOX_SET_INT_REG(cpu)	(0x18 + (cpu << 4))

CHECK: Macro argument 'base' may be better as '(base)' to avoid precedence issues
#91: FILE: drivers/mailbox/cv1800-mailbox.c:33:
+#define MBOX_CONTEXT_BASE_INDEX(base, index) \
+	((u64 *)(base + MAILBOX_CONTEXT_OFFSET) + index)

CHECK: Macro argument 'index' may be better as '(index)' to avoid precedence issues
#91: FILE: drivers/mailbox/cv1800-mailbox.c:33:
+#define MBOX_CONTEXT_BASE_INDEX(base, index) \
+	((u64 *)(base + MAILBOX_CONTEXT_OFFSET) + index)

total: 0 errors, 1 warnings, 6 checks, 242 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 edc76f5cb88b ("mailbox: sophgo: add mailbox driver for CV18XX series SoC") 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, 6 checks, 242 lines checked
CHECK: Macro argument 'base' may be better as '(base)' to avoid precedence issues
CHECK: Macro argument 'cpu' may be better as '(cpu)' to avoid precedence issues
CHECK: Macro argument 'index' may be better as '(index)' to avoid precedence issues
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 38.06 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
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 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v3,3/3] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.28 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 pw957745 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