Skip to content

[PW_SID:964459] riscv: sophgo: add mailbox support for CV18XX series SoC#427

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

[PW_SID:964459] riscv: sophgo: add mailbox support for CV18XX series SoC#427
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw964459

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 964459 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=964459
Version: 4

Frankd35 added 2 commits May 20, 2025 08:24
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 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: "[v4,1/2] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 105.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] 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: 879.37 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] 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: 1133.94 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] 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.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.69 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, 60 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 07d774c9cc03 ("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, 60 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: mailbox: add 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 1: "[v4,1/2] dt-bindings: mailbox: add Sophgo CV18XX series SoC"
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: "[v4,1/2] 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: "[v4,2/2] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 104.78 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] 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: 913.19 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] 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: 1179.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] 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.40 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 3.39 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
#83: FILE: drivers/mailbox/cv1800-mailbox.c:25:
+#define MBOX_EN_REG(cpu)	(cpu << 2)

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

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

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

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

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

total: 0 errors, 1 warnings, 6 checks, 244 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 47ffbbe9dd32 ("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, 244 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 2: "[v4,2/2] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 66.10 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
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: "[v4,2/2] mailbox: sophgo: add mailbox driver for CV18XX series SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.63 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw964459 branch May 28, 2025 01:05
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