Skip to content

[PW_SID:962814] Use GCR.U timer device as clocksource#413

Closed
linux-riscv-bot wants to merge 3 commits into
workflow__riscv__fixesfrom
pw962814
Closed

[PW_SID:962814] Use GCR.U timer device as clocksource#413
linux-riscv-bot wants to merge 3 commits into
workflow__riscv__fixesfrom
pw962814

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 962814 applied to workflow__riscv__fixes

Name: Use GCR.U timer device as clocksource
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=962814
Version: 4

Linux RISC-V bot and others added 3 commits May 14, 2025 12:29
Add dt-bindings for the GCR.U memory mapped timer device for RISC-V
platforms. The GCR.U memory region contains shadow copies of the RISC-V
mtime register and the hrtime Global Configuration Register.

Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Allow faster rdtime access via GCR.U mtime shadow register on RISC-V
devices. This feature can be enabled by setting GCRU_TIME_MMIO during configuration.

Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
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: timer: mti,gcru"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 105.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 879.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1142.60 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.36 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.57 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.68 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, 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?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 67.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
kdoc
Desc: Detects for kdoc errors
Duration: 0.84 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v4,1/2] dt-bindings: timer: mti,gcru"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from de90874 to 400e3f8 Compare May 14, 2025 13:11
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 23.45 seconds
Result: ERROR
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]


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2163.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 2677.60 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 9.49 seconds
Result: ERROR
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]


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 9.68 seconds
Result: ERROR
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]


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.07 seconds
Result: WARNING
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


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 66.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
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] Allow for riscv-clock to pick up mmio address."
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] Allow for riscv-clock to pick up mmio address."
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v4,2/2] Allow for riscv-clock to pick up mmio address."
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw962814 branch May 22, 2025 01:04
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