Re: Use GCR.U timer device as clocksource

0 views
Skip to first unread message

linux.r...@gmail.com

unread,
May 14, 2025, 10:34:28 AMMay 14
to linux-ris...@googlegroups.com, aleksa....@htecgroup.com
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the Linux RISC-V mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/linux-riscv/list/?series=962814

---Test result---
Test Summary:
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" build-rv32-defconfig PASS 105.27 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" build-rv64-clang-allmodconfig PASS 879.03 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" build-rv64-gcc-allmodconfig PASS 1142.60 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" build-rv64-nommu-k210-defconfig PASS 20.36 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" build-rv64-nommu-k210-virt PASS 21.57 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" checkpatch WARNING 1.68 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" dtb-warn-rv64 PASS 67.22 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" header-inline PASS 0.24 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" kdoc PASS 0.84 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" module-param PASS 0.25 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" verify-fixes PASS 0.23 seconds
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru" verify-signedoff PASS 0.31 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." build-rv32-defconfig ERROR 23.45 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." build-rv64-clang-allmodconfig PASS 2163.27 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." build-rv64-gcc-allmodconfig PASS 2677.60 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." build-rv64-nommu-k210-defconfig ERROR 9.49 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." build-rv64-nommu-k210-virt ERROR 9.68 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." checkpatch WARNING 2.07 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." dtb-warn-rv64 PASS 66.99 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." header-inline PASS 0.24 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." kdoc PASS 0.85 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." module-param PASS 0.26 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." verify-fixes PASS 0.23 seconds
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address." verify-signedoff PASS 0.31 seconds

Details
##############################
Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
Test: checkpatch - WARNING
Desc: Runs checkpatch.pl on the patch
Output:
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#18:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 38 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 69ad73d5bfe2 ("dt-bindings: timer: mti,gcru") 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, 38 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


##############################
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
Test: build-rv32-defconfig - ERROR
Desc: Builds riscv32 defconfig
Output:
Full log:
W: Support for running offline not available (unshare: unshare failed: Operation not permitted)
tuxmake --download-all-korg-gcc-toolchains --target-arch=riscv --kconfig=rv32_defconfig --toolchain=llvm --wrapper=ccache --environment=KBUILD_BUILD_TIMESTAMP=@1621270510 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/build/tmp.ALEmAfoTBb/build/= --runtime=null --image=docker.io/tuxmake/riscv_clang CROSS_COMPILE=riscv64-linux- config default kernel xipkernel modules dtbs dtbs-legacy debugkernel headers
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' rv32_defconfig
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang'
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:7:
In file included from /build/tmp4f_yzvid/include/linux/gfp.h:7:
In file included from /build/tmp4f_yzvid/include/linux/mmzone.h:22:
In file included from /build/tmp4f_yzvid/include/linux/mm_types.h:16:
In file included from /build/tmp4f_yzvid/include/linux/uprobes.h:18:
In file included from /build/tmp4f_yzvid/include/linux/timer.h:6:
In file included from /build/tmp4f_yzvid/include/linux/ktime.h:25:
In file included from /build/tmp4f_yzvid/include/linux/jiffies.h:10:
In file included from /build/tmp4f_yzvid/include/linux/time.h:60:
In file included from /build/tmp4f_yzvid/include/linux/time32.h:13:
In file included from /build/tmp4f_yzvid/include/linux/timex.h:67:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:58:8: error: call to undeclared function 'get_cycles_ptr_hi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
58 | hi = get_cycles_hi();
| ^
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:45:23: note: expanded from macro 'get_cycles_hi'
45 | #define get_cycles_hi get_cycles_ptr_hi
| ^
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:60:17: error: call to undeclared function 'get_cycles_ptr_hi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
60 | } while (hi != get_cycles_hi());
| ^
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:45:23: note: expanded from macro 'get_cycles_hi'
45 | #define get_cycles_hi get_cycles_ptr_hi
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
115 | (set1->sig[2] == set2->sig[2]) &&
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
115 | (set1->sig[2] == set2->sig[2]) &&
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:8: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:24: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:8: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:24: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:140:3: note: expanded from macro '_SIG_SET_BINOP'
140 | r->sig[3] = op(a3, b3); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
157 | _SIG_SET_BINOP(sigorsets, _sig_or)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:141:3: note: expanded from macro '_SIG_SET_BINOP'
141 | r->sig[2] = op(a2, b2); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:8: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:24: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:8: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:24: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:140:3: note: expanded from macro '_SIG_SET_BINOP'
140 | r->sig[3] = op(a3, b3); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
160 | _SIG_SET_BINOP(sigandsets, _sig_and)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:141:3: note: expanded from macro '_SIG_SET_BINOP'
141 | r->sig[2] = op(a2, b2); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:8: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:138:24: note: expanded from macro '_SIG_SET_BINOP'
138 | a3 = a->sig[3]; a2 = a->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:8: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:139:24: note: expanded from macro '_SIG_SET_BINOP'
139 | b3 = b->sig[3]; b2 = b->sig[2]; \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:140:3: note: expanded from macro '_SIG_SET_BINOP'
140 | r->sig[3] = op(a3, b3); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
163 | _SIG_SET_BINOP(sigandnsets, _sig_andn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:141:3: note: expanded from macro '_SIG_SET_BINOP'
141 | r->sig[2] = op(a2, b2); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
187 | _SIG_SET_OP(signotset, _sig_not)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:174:27: note: expanded from macro '_SIG_SET_OP'
174 | case 4: set->sig[3] = op(set->sig[3]); \
| ^ ~
/build/tmp4f_yzvid/include/linux/signal.h:186:24: note: expanded from macro '_sig_not'
186 | #define _sig_not(x) (~(x))
| ^
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
187 | _SIG_SET_OP(signotset, _sig_not)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:174:10: note: expanded from macro '_SIG_SET_OP'
I: config: PASS in 0:00:10.497072
I: default: FAIL in 0:00:07.197774
I: kernel: SKIP in 0:00:00.000008
I: xipkernel: SKIP in 0:00:00.000004
I: modules: FAIL in 0:00:00.087431
I: dtbs: PASS in 0:00:01.723514
I: dtbs-legacy: SKIP in 0:00:00.003855
I: debugkernel: SKIP in 0:00:00.000002
I: headers: PASS in 0:00:01.002364
I: build output in /build/tmp.ALEmAfoTBb
174 | case 4: set->sig[3] = op(set->sig[3]); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
187 | _SIG_SET_OP(signotset, _sig_not)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:175:20: note: expanded from macro '_SIG_SET_OP'
175 | set->sig[2] = op(set->sig[2]); \
| ^ ~
/build/tmp4f_yzvid/include/linux/signal.h:186:24: note: expanded from macro '_sig_not'
186 | #define _sig_not(x) (~(x))
| ^
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
In file included from /build/tmp4f_yzvid/include/linux/mm.h:35:
In file included from /build/tmp4f_yzvid/include/linux/rcuwait.h:6:
In file included from /build/tmp4f_yzvid/include/linux/sched/signal.h:6:
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
187 | _SIG_SET_OP(signotset, _sig_not)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/tmp4f_yzvid/include/linux/signal.h:175:3: note: expanded from macro '_SIG_SET_OP'
175 | set->sig[2] = op(set->sig[2]); \
| ^ ~
/build/tmp4f_yzvid/include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
28 warnings and 2 errors generated.
make[3]: *** [/build/tmp4f_yzvid/scripts/Makefile.build:98: arch/riscv/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmp4f_yzvid/Makefile:1275: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmp4f_yzvid/Makefile:248: __sub-make] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target '__all' not remade because of errors.
rm -rf /build/tmp.ALEmAfoTBb/build/modinstall
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=/build/tmp.ALEmAfoTBb/build/modinstall ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' modules_install
make[3]: *** No rule to make target 'modules.order', needed by '/build/tmp.ALEmAfoTBb/build/modinstall/lib/modules/6.15.0-rc5-00011-g13b99c5c2fe1/modules.order'.
make[3]: *** No rule to make target 'modules.builtin', needed by '/build/tmp.ALEmAfoTBb/build/modinstall/lib/modules/6.15.0-rc5-00011-g13b99c5c2fe1/modules.builtin'.
make[3]: *** No rule to make target 'modules.builtin.modinfo', needed by '/build/tmp.ALEmAfoTBb/build/modinstall/lib/modules/6.15.0-rc5-00011-g13b99c5c2fe1/modules.builtin.modinfo'.
make[3]: Target '__modinst' not remade because of errors.
make[2]: *** [/build/tmp4f_yzvid/Makefile:1910: modules_install] Error 2
make[1]: *** [/build/tmp4f_yzvid/Makefile:248: __sub-make] Error 2
make[1]: Target 'modules_install' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'modules_install' not remade because of errors.
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build INSTALL_DTBS_PATH=/build/tmp.ALEmAfoTBb/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' dtbs
rm -rf /build/tmp.ALEmAfoTBb/build/dtbsinstall
mkdir -p /build/tmp.ALEmAfoTBb/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build INSTALL_DTBS_PATH=/build/tmp.ALEmAfoTBb/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' dtbs_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.ALEmAfoTBb/build/dtbs.tar -C /build/tmp.ALEmAfoTBb/build/dtbsinstall dtbs
rm -rf /build/tmp.ALEmAfoTBb/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.ALEmAfoTBb/build INSTALL_HDR_PATH=/build/tmp.ALEmAfoTBb/build/install_hdr/ ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' headers_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.ALEmAfoTBb/build/headers.tar -C /build/tmp.ALEmAfoTBb/build/install_hdr .
warnings/errors:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:58:8: error: call to undeclared function 'get_cycles_ptr_hi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:60:17: error: call to undeclared function 'get_cycles_ptr_hi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
/build/tmp4f_yzvid/include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:160:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:163:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
/build/tmp4f_yzvid/include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]


##############################
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
Test: build-rv64-nommu-k210-defconfig - ERROR
Desc: Builds riscv64 defconfig with NOMMU for K210
Output:
Full log:
W: Support for running offline not available (unshare: unshare failed: Operation not permitted)
I: config: PASS in 0:00:03.350161
I: default: FAIL in 0:00:01.613115
I: kernel: SKIP in 0:00:00.000008
I: xipkernel: SKIP in 0:00:00.000005
I: modules: SKIP in 0:00:00.003374
I: dtbs: PASS in 0:00:00.920402
I: dtbs-legacy: SKIP in 0:00:00.004554
I: debugkernel: SKIP in 0:00:00.000004
I: headers: PASS in 0:00:01.100380
I: build output in /build/tmp.qqrYNVQVt3
tuxmake --download-all-korg-gcc-toolchains --target-arch=riscv --kconfig=nommu_k210_defconfig --toolchain=gcc --wrapper=ccache --environment=KBUILD_BUILD_TIMESTAMP=@1621270510 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/build/tmp.qqrYNVQVt3/build/= --runtime=null --image=docker.io/tuxmake/riscv_gcc CROSS_COMPILE=riscv64-linux- config default kernel xipkernel modules dtbs dtbs-legacy debugkernel headers
make --silent --keep-going --jobs=48 O=/build/tmp.qqrYNVQVt3/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' nommu_k210_defconfig
make --silent --keep-going --jobs=48 O=/build/tmp.qqrYNVQVt3/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmp4f_yzvid/include/linux/timex.h:67,
from /build/tmp4f_yzvid/include/linux/time32.h:13,
from /build/tmp4f_yzvid/include/linux/time.h:60,
from /build/tmp4f_yzvid/include/linux/jiffies.h:10,
from /build/tmp4f_yzvid/include/linux/ktime.h:25,
from /build/tmp4f_yzvid/include/linux/timer.h:6,
from /build/tmp4f_yzvid/include/linux/uprobes.h:18,
from /build/tmp4f_yzvid/include/linux/mm_types.h:16,
from /build/tmp4f_yzvid/include/linux/mmzone.h:22,
from /build/tmp4f_yzvid/include/linux/gfp.h:7,
from /build/tmp4f_yzvid/include/linux/mm.h:7,
from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h: In function 'random_get_entropy':
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:39:16: error: implicit declaration of function 'get_cycles'; did you mean 'get_cycles_ptr'? [-Wimplicit-function-declaration]
39 | return get_cycles();
| ^~~~~~~~~~
| get_cycles_ptr
make[3]: *** [/build/tmp4f_yzvid/scripts/Makefile.build:98: arch/riscv/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmp4f_yzvid/Makefile:1275: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmp4f_yzvid/Makefile:248: __sub-make] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target '__all' not remade because of errors.
make --silent --keep-going --jobs=48 O=/build/tmp.qqrYNVQVt3/build INSTALL_DTBS_PATH=/build/tmp.qqrYNVQVt3/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.qqrYNVQVt3/build/dtbsinstall
mkdir -p /build/tmp.qqrYNVQVt3/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.qqrYNVQVt3/build INSTALL_DTBS_PATH=/build/tmp.qqrYNVQVt3/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.qqrYNVQVt3/build/dtbs.tar -C /build/tmp.qqrYNVQVt3/build/dtbsinstall dtbs
rm -rf /build/tmp.qqrYNVQVt3/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.qqrYNVQVt3/build INSTALL_HDR_PATH=/build/tmp.qqrYNVQVt3/build/install_hdr/ ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' headers_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.qqrYNVQVt3/build/headers.tar -C /build/tmp.qqrYNVQVt3/build/install_hdr .
warnings/errors:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:39:16: error: implicit declaration of function 'get_cycles'; did you mean 'get_cycles_ptr'? [-Wimplicit-function-declaration]


##############################
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
Test: build-rv64-nommu-k210-virt - ERROR
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Output:
Full log:
W: Support for running offline not available (unshare: unshare failed: Operation not permitted)
I: config: PASS in 0:00:03.402089
I: default: FAIL in 0:00:01.898545
I: kernel: SKIP in 0:00:00.000009
I: xipkernel: SKIP in 0:00:00.000004
I: modules: SKIP in 0:00:00.003202
I: dtbs: PASS in 0:00:00.874624
I: dtbs-legacy: SKIP in 0:00:00.004647
I: debugkernel: SKIP in 0:00:00.000005
I: headers: PASS in 0:00:01.131242
I: build output in /build/tmp.1onNI4aDrY
tuxmake --download-all-korg-gcc-toolchains --target-arch=riscv --kconfig=nommu_virt_defconfig --toolchain=gcc --wrapper=ccache --environment=KBUILD_BUILD_TIMESTAMP=@1621270510 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/build/tmp.1onNI4aDrY/build/= --runtime=null --image=docker.io/tuxmake/riscv_gcc CROSS_COMPILE=riscv64-linux- config default kernel xipkernel modules dtbs dtbs-legacy debugkernel headers
make --silent --keep-going --jobs=48 O=/build/tmp.1onNI4aDrY/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' nommu_virt_defconfig
make --silent --keep-going --jobs=48 O=/build/tmp.1onNI4aDrY/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmp4f_yzvid/include/linux/timex.h:67,
from /build/tmp4f_yzvid/include/linux/time32.h:13,
from /build/tmp4f_yzvid/include/linux/time.h:60,
from /build/tmp4f_yzvid/include/linux/jiffies.h:10,
from /build/tmp4f_yzvid/include/linux/ktime.h:25,
from /build/tmp4f_yzvid/include/linux/timer.h:6,
from /build/tmp4f_yzvid/include/linux/uprobes.h:18,
from /build/tmp4f_yzvid/include/linux/mm_types.h:16,
from /build/tmp4f_yzvid/include/linux/mmzone.h:22,
from /build/tmp4f_yzvid/include/linux/gfp.h:7,
from /build/tmp4f_yzvid/include/linux/mm.h:7,
from /build/tmp4f_yzvid/arch/riscv/kernel/asm-offsets.c:8:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h: In function 'random_get_entropy':
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:39:16: error: implicit declaration of function 'get_cycles'; did you mean 'get_cycles_ptr'? [-Wimplicit-function-declaration]
39 | return get_cycles();
| ^~~~~~~~~~
| get_cycles_ptr
make[3]: *** [/build/tmp4f_yzvid/scripts/Makefile.build:98: arch/riscv/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmp4f_yzvid/Makefile:1275: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmp4f_yzvid/Makefile:248: __sub-make] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target '__all' not remade because of errors.
make --silent --keep-going --jobs=48 O=/build/tmp.1onNI4aDrY/build INSTALL_DTBS_PATH=/build/tmp.1onNI4aDrY/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.1onNI4aDrY/build/dtbsinstall
mkdir -p /build/tmp.1onNI4aDrY/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.1onNI4aDrY/build INSTALL_DTBS_PATH=/build/tmp.1onNI4aDrY/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.1onNI4aDrY/build/dtbs.tar -C /build/tmp.1onNI4aDrY/build/dtbsinstall dtbs
rm -rf /build/tmp.1onNI4aDrY/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.1onNI4aDrY/build INSTALL_HDR_PATH=/build/tmp.1onNI4aDrY/build/install_hdr/ ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' headers_install
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1747225802 --clamp-mtime -caf /build/tmp.1onNI4aDrY/build/headers.tar -C /build/tmp.1onNI4aDrY/build/install_hdr .
warnings/errors:
/build/tmp4f_yzvid/arch/riscv/include/asm/timex.h:39:16: error: implicit declaration of function 'get_cycles'; did you mean 'get_cycles_ptr'? [-Wimplicit-function-declaration]


##############################
Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
Test: checkpatch - WARNING
Desc: Runs checkpatch.pl on the patch
Output:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
#168: FILE: drivers/clocksource/timer-riscv.c:67:
+EXPORT_SYMBOL(get_cycles_ptr);

total: 0 errors, 1 warnings, 0 checks, 178 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 13b99c5c2fe1 ("Allow for riscv-clock to pick up mmio address.") 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, 178 lines checked
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable




---
Regards,
Linux RISC-V bot

Reply all
Reply to author
Forward
0 new messages