Skip to content

[PW_SID:1079742] treewide: Cleanup LATCH, CLOCK_TICK_RATE and get_cycles() [ab]use#1752

Closed
linux-riscv-bot wants to merge 38 commits into
workflow__riscv__fixesfrom
pw1079742
Closed

[PW_SID:1079742] treewide: Cleanup LATCH, CLOCK_TICK_RATE and get_cycles() [ab]use#1752
linux-riscv-bot wants to merge 38 commits into
workflow__riscv__fixesfrom
pw1079742

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1079742 applied to workflow__riscv__fixes

Name: treewide: Cleanup LATCH, CLOCK_TICK_RATE and get_cycles() [ab]use
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1079742
Version: 1

Thomas Gleixner added 30 commits April 10, 2026 12:55
Slapping __percpu_qual into the next available header is sloppy at best.

It's required by __percpu which is defined in compiler_types.h and that is
meant to be included without requiring a boatload of other headers so that
a struct or function declaration can contain a __percpu qualifier w/o
further prerequisites.

This implicit dependency on linux/percpu.h makes that impossible and causes
a major problem when trying to seperate headers.

Create asm/percpu_types.h and move it there. Include that from
compiler_types.h and the whole recursion problem goes away.

Signed-off-by: Thomas Gleixner <tglx@kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Including a random architecture specific header which requires global
headers just to avoid including that header at the two usage sites is
really beyond lazy and tasteless. Including global headers just to get the
__percpu macro from linux/compiler_types.h falls into the same category.

Remove the linux/percpu.h and asm/cpumask.h includes from msr.h and smp.h
and fix the resulting fallout by a simple forward struct declaration and by
including the x86 specific asm/cpumask.h header where it is actually
required.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
LATCH is a historical leftover and has been replaced with PIT_LATCH in all
other places a decade ago. Replace the last holdout and remove the
definition from jiffies.h.

This allows to remove the otherwise unused CLOCK_TICK_RATE define in the
next step.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
CLOCK_TICK_RATE is only used in x86 but defined all over the tree for no
reason with comments that it's scheduled for removal for more than a
decade.

Use PIT_TICK_RATE for registering refined jiffies to get rid of the last
dependency.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
This has been scheduled for removal more than a decade ago and the comments
related to it have been dutifully ignored. The last dependencies are gone.

Remove it along with various now empty asm/timex.h files.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The header define in asm/timex,h and the naming of the function to read the
delay timer are confusing at best.

Convert it to a config switch selected by the archictures, which provide
the functionality, and rename the function to delay_read_timer(), which
makes the purpose clear. Move the declaration to linux/delay.h where it
belongs.

Remove the resulting empty asm/timex.h files as well.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Most architectures define cycles_t as unsigned long execpt:

 - x86 requires it to be 64-bit independent of the 32-bit/64-bit build.

 - parisc and mips define it as unsigned int

   parisc has no real reason to do so as there are only a few usage sites
   which either expand it to a 64-bit value or utilize only the lower
   32bits.

   mips has no real requirement either.

Move the typedef to types.h and provide a config switch to enforce the
64-bit type for x86.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
This code knows that TSC is available so there is no point to use the TSC
feature guarded get_cycles().

No functional change.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Calculating the timeout from get_cycles() is a historical leftover without
any functional requirement.

Use ktime_get() instead.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: x86@kernel.org
Cc: Lu Baolu <baolu.lu@linux.intel.com>
Cc: iommu@lists.linux.dev
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
ARCNET is a museums piece and the function timing can be done with
ftrace. Remove the cruft.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: netdev@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Calculating a timeout from get_cycles() is a historical leftover without
any functional requirement.

Use ktime_get() instead.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
There is no reason why this debug code requires to use get_cycles() for
timing purposes.

Use ktime_get() instead.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
get_cycles() is the historical access to a fine grained time source, but it
is a suboptimal choice for two reasons:

   - get_cycles() is not guaranteed to be supported and functional on all
     systems/platforms. If not supported or not functional it returns 0,
     which makes benchmarking moot.

   - get_cycles() returns the raw counter value of whatever the
     architecture platform provides. The original x86 Time Stamp Counter
     (TSC) was despite its name tied to the actual CPU core frequency.
     That's not longer the case. So the counter value is only meaningful
     when the CPU operates at the same frequency as the TSC or the value is
     adjusted to the actual CPU frequency. Other architectures and
     platforms provide similar disjunct counters via get_cycles(), so the
     result is operations per BOGO-cycles, which is not really meaningful.

Use ktime_get() instead which provides nanosecond timestamps with the
granularity of the underlying hardware counter, which is not different to
the variety of get_cycles() implementations.

This provides at least understandable metrics, i.e. operations/nanoseconds,
and is available on all platforms. As with get_cycles() the result might
have to be put into relation with the CPU operating frequency, but that's
not any different.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The decision whether to scan remote nodes is based on a 'random' number
retrieved via get_cycles(). get_cycles() is about to be removed.

There is already prandom state in the code, so use that instead.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Vlastimil Babka <vbabka@kernel.org>
Cc: linux-mm@kvack.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
get_cycles() is not really well defined and similar to other usaage of the
underlying hardware CPU counters the PTP vmclock should use an explicit
interface as well.

Implement ptp_vmclock_read_cpu_counter() in arm64 and x86 and simplify the
Kconfig selection while at it.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
These metrics are not really requiring CPU cycles and as those are
meanlingless when the CPU is running at a different frequency, this can use
ktime_get() and achieve the same result.

Part of a larger effort to confine get_cycles() access to low level
architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Bernie Thompson <bernie@plugable.com>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
get_cycles() is not guaranteed to be functional on all systems/platforms
and the values returned are unitless and not easy to map to something
useful.

Use ktime_get() instead, which provides nanosecond timestamps and is
functional everywhere.

This is part of a larger effort to limit get_cycles() usage to low level
architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
get_cycles() is the historical access to a fine grained time source, but it
is a suboptimal choice for two reasons:

   - get_cycles() is not guaranteed to be supported and functional on all
     systems/platforms. If not supported or not functional it returns 0,
     which makes benchmarking moot.

   - get_cycles() returns the raw counter value of whatever the
     architecture platform provides. The original x86 Time Stamp Counter
     (TSC) was despite its name tied to the actual CPU core frequency.
     That's not longer the case. So the counter value is only meaningful
     when the CPU operates at the same frequency as the TSC or the value is
     adjusted to the actual CPU frequency. Other architectures and
     platforms provide similar disjunct counters via get_cycles(), so the
     result is operations per BOGO-cycles, which is not really meaningful.

Use ktime_get() instead which provides nanosecond timestamps with the
granularity of the underlying hardware counter, which is not different to
the variety of get_cycles() implementations.

This provides at least understandable metrics, i.e. operations/nanoseconds,
and is available on all platforms. As with get_cycles() the result might
have to be put into relation with the CPU operating frequency, but that's
not any different.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Uladzislau Rezki <urezki@gmail.com>
Cc: linux-mm@kvack.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
KCSAN uses get_cycles() for two purposes:

  1) Seeding the random state with get_cycles() is a historical leftover.

  2) The microbenchmark uses get_cycles(), which provides an unit less
     counter value and is not guaranteed to be functional on all
     systems/platforms.

Use random_get_entropy() for seeding the random state and ktime_get() which
is universaly functional and provides at least a comprehensible unit.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Marco Elver <elver@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: kasan-dev@googlegroups.com
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Seeding the random state with get_cycles() is functionally equivalent on
the architectures which provide get_cycles(), but it does not make sense
semantically.

Use random_get_entropy() instead, which is the proper interface.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: kasan-dev@googlegroups.com
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The whole code guarded by BAYCOM_DEBUG is only writing debug values into a
datastructure, but there is no way to ever access them.

Remove the pointless ballast.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Thomas Sailer <t.sailer@alumni.ethz.ch>
Cc: linux-hams@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Chasing down to what random_get_entropy() resolves is a 'spot the mouse'
game through a maze of #ifdeffery. Also the placement in timex.h is
non-obvious and has just been chosen because it provides conveniant access
to the underlying get_cycles() #ifdeffery.

Provide a config switch which is selectable by the architecture and a
temporary #ifdef guard in timex.h. Architectures which select the config
switch must provide asm/random.h with the architecture specific
implementation.

Update all usage sites to include linux/random.h so that the gradual
conversion does not cause build regressions.

This is part of a larger effort to remove get_cycles() usage from
non-architecture code.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining usage of get_cycles() is to provide
random_get_entropy().

Switch alpha over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

Remove asm/timex.h as it has no functionality anymore.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: linux-alpha@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining usage of get_cycles() is to provide
random_get_entropy().

Switch ARM over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY and
providing random_get_entropy() in asm/random.h.

Remove asm/timex.h as it has no functionality anymore.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining usage of get_cycles() is to provide random_get_entropy().

Switch arm64 over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

As a consequence this unearthed a nasty include dependecy hell where random
code including rqspinlock.h relies on a magic include of asm/arch_timer.h.
Including the headers in asm/random.h turned out to be impossible as well.

The only solution for now is to uninline random_get_entropy().  Fix up all
other dependencies on the content of asm/timex.h in those files which
really depend on it.

Remove asm/timex.h as it has no functionality anymore.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining non-architecture usage of get_cycles() is to provide
random_get_entropy().

Switch loongarch over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

Add 'asm/timex.h' includes to the relevant files, so the global include can
be removed once all architectures are converted over.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: loongarch@lists.linux.dev
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining usage of get_cycles() is to provide
random_get_entropy().

Switch m68k over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY and
providing random_get_entropy() in asm/random.h.

Remove asm/timex.h as it has no functionality anymore.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining usage of get_cycles() is to provide random_get_entropy().

Switch mips over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

As a consequence this unearthed a nasty include dependency hell because
arbitrary code relies on a magic include of asm/timex.h. Including the
headers in asm/random.h turned out to be impossible as well.

The only solution for now is to uninline random_get_entropy().  Fix up all
other dependencies on the content of asm/timex.h in those files which
really depend on it.

Remove asm/timex.h as it has no functionality anymore.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining non-architecture usage of get_cycles() is to provide
random_get_entropy().

Switch nios2 over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

Add 'asm/timex.h' includes to the relevant files, so the global include can
be removed once all architectures are converted over.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The only remaining non-architecture usage of get_cycles() is to provide
random_get_entropy().

Switch openrisc over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

Add 'asm/timex.h' includes to the relevant files, so the global include can
be removed once all architectures are converted over.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux-openrisc@vger.kernel.org
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 36: "[36/38] sparc: Select ARCH_HAS_RANDOM_ENTROPY for SPARC64"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 36: "[36/38] sparc: Select ARCH_HAS_RANDOM_ENTROPY for SPARC64"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 36: "[36/38] sparc: Select ARCH_HAS_RANDOM_ENTROPY for SPARC64"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 36: "[36/38] sparc: Select ARCH_HAS_RANDOM_ENTROPY for SPARC64"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.77 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 995.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1342.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 11.87 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:04.623937
I: default: FAIL in 0:00:02.708547
I: kernel: SKIP in 0:00:00.000009
I: xipkernel: SKIP in 0:00:00.000004
I: modules: SKIP in 0:00:00.003276
I: dtbs: PASS in 0:00:01.095965
I: dtbs-legacy: SKIP in 0:00:00.004764
I: debugkernel: SKIP in 0:00:00.000005
I: headers: PASS in 0:00:01.206989
I: build output in /build/tmp.dRZ0txBn7g
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.dRZ0txBn7g/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.dRZ0txBn7g/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.dRZ0txBn7g/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmpkqv383mb/arch/riscv/include/asm/mmiowb.h:12,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/mmio.h:16,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/clint.h:10,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/timex.h:13,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/random.h:5,
                 from /build/tmpkqv383mb/include/linux/random.h:154,
                 from /build/tmpkqv383mb/include/linux/nodemask.h:94,
                 from /build/tmpkqv383mb/include/linux/numa.h:6,
                 from /build/tmpkqv383mb/include/linux/cpumask.h:15,
                 from /build/tmpkqv383mb/include/linux/alloc_tag.h:13,
                 from /build/tmpkqv383mb/include/linux/percpu.h:5,
                 from /build/tmpkqv383mb/include/linux/prandom.h:13,
                 from /build/tmpkqv383mb/kernel/sched/sched.h:8,
                 from /build/tmpkqv383mb/kernel/sched/rq-offsets.c:5:
/build/tmpkqv383mb/include/linux/smp.h: In function 'on_each_cpu':
/build/tmpkqv383mb/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
   72 |         on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
      |                                                       ^~~~~~~~~~~~~~~
/build/tmpkqv383mb/include/linux/smp.h:72:55: note: each undeclared identifier is reported only once for each function it appears in
/build/tmpkqv383mb/include/linux/smp.h: In function 'on_each_cpu_cond':
/build/tmpkqv383mb/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)
  106 |         on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
      |                                                            ^~~~~~~~~~~~~~~
make[3]: *** [/build/tmpkqv383mb/scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmpkqv383mb/Makefile:1337: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmpkqv383mb/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.dRZ0txBn7g/build INSTALL_DTBS_PATH=/build/tmp.dRZ0txBn7g/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.dRZ0txBn7g/build/dtbsinstall
mkdir -p /build/tmp.dRZ0txBn7g/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.dRZ0txBn7g/build INSTALL_DTBS_PATH=/build/tmp.dRZ0txBn7g/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=@1775825759 --clamp-mtime -caf /build/tmp.dRZ0txBn7g/build/dtbs.tar -C /build/tmp.dRZ0txBn7g/build/dtbsinstall dtbs
rm -rf /build/tmp.dRZ0txBn7g/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.dRZ0txBn7g/build INSTALL_HDR_PATH=/build/tmp.dRZ0txBn7g/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=@1775825759 --clamp-mtime -caf /build/tmp.dRZ0txBn7g/build/headers.tar -C /build/tmp.dRZ0txBn7g/build/install_hdr .
warnings/errors:
/build/tmpkqv383mb/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
/build/tmpkqv383mb/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 11.72 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:04.555952
I: default: FAIL in 0:00:02.690628
I: kernel: SKIP in 0:00:00.000008
I: xipkernel: SKIP in 0:00:00.000004
I: modules: SKIP in 0:00:00.003014
I: dtbs: PASS in 0:00:01.067301
I: dtbs-legacy: SKIP in 0:00:00.004881
I: debugkernel: SKIP in 0:00:00.000004
I: headers: PASS in 0:00:01.180450
I: build output in /build/tmp.VlscRDGTCJ
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.VlscRDGTCJ/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.VlscRDGTCJ/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.VlscRDGTCJ/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmpkqv383mb/arch/riscv/include/asm/mmiowb.h:12,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/mmio.h:16,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/clint.h:10,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/timex.h:13,
                 from /build/tmpkqv383mb/arch/riscv/include/asm/random.h:5,
                 from /build/tmpkqv383mb/include/linux/random.h:154,
                 from /build/tmpkqv383mb/include/linux/nodemask.h:94,
                 from /build/tmpkqv383mb/include/linux/numa.h:6,
                 from /build/tmpkqv383mb/include/linux/cpumask.h:15,
                 from /build/tmpkqv383mb/include/linux/alloc_tag.h:13,
                 from /build/tmpkqv383mb/include/linux/percpu.h:5,
                 from /build/tmpkqv383mb/include/linux/prandom.h:13,
                 from /build/tmpkqv383mb/kernel/sched/sched.h:8,
                 from /build/tmpkqv383mb/kernel/sched/rq-offsets.c:5:
/build/tmpkqv383mb/include/linux/smp.h: In function 'on_each_cpu':
/build/tmpkqv383mb/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
   72 |         on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
      |                                                       ^~~~~~~~~~~~~~~
/build/tmpkqv383mb/include/linux/smp.h:72:55: note: each undeclared identifier is reported only once for each function it appears in
/build/tmpkqv383mb/include/linux/smp.h: In function 'on_each_cpu_cond':
/build/tmpkqv383mb/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)
  106 |         on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
      |                                                            ^~~~~~~~~~~~~~~
make[3]: *** [/build/tmpkqv383mb/scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmpkqv383mb/Makefile:1337: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmpkqv383mb/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.VlscRDGTCJ/build INSTALL_DTBS_PATH=/build/tmp.VlscRDGTCJ/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.VlscRDGTCJ/build/dtbsinstall
mkdir -p /build/tmp.VlscRDGTCJ/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.VlscRDGTCJ/build INSTALL_DTBS_PATH=/build/tmp.VlscRDGTCJ/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=@1775825759 --clamp-mtime -caf /build/tmp.VlscRDGTCJ/build/dtbs.tar -C /build/tmp.VlscRDGTCJ/build/dtbsinstall dtbs
rm -rf /build/tmp.VlscRDGTCJ/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.VlscRDGTCJ/build INSTALL_HDR_PATH=/build/tmp.VlscRDGTCJ/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=@1775825759 --clamp-mtime -caf /build/tmp.VlscRDGTCJ/build/headers.tar -C /build/tmp.VlscRDGTCJ/build/install_hdr .
warnings/errors:
/build/tmpkqv383mb/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
/build/tmpkqv383mb/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.01 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#18: 
 arch/x86/include/asm/{timex.h => random.h} | 7 +++----

total: 0 errors, 1 warnings, 0 checks, 37 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 5a9bbb793477 ("x86: Select ARCH_HAS_RANDOM_ENTROPY") 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, 37 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.28 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 37: "[37/38] x86: Select ARCH_HAS_RANDOM_ENTROPY"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2169.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 2929.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 11.62 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:04.520848
I: default: FAIL in 0:00:02.782052
I: kernel: SKIP in 0:00:00.000009
I: xipkernel: SKIP in 0:00:00.000004
I: modules: SKIP in 0:00:00.003040
I: dtbs: PASS in 0:00:01.057650
I: dtbs-legacy: SKIP in 0:00:00.003083
I: debugkernel: SKIP in 0:00:00.000002
I: headers: PASS in 0:00:01.162209
I: build output in /build/tmp.5Tk3W9qAzz
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.5Tk3W9qAzz/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.5Tk3W9qAzz/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.5Tk3W9qAzz/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmpzah02caj/arch/riscv/include/asm/mmiowb.h:12,
                 from /build/tmpzah02caj/arch/riscv/include/asm/mmio.h:16,
                 from /build/tmpzah02caj/arch/riscv/include/asm/clint.h:10,
                 from /build/tmpzah02caj/arch/riscv/include/asm/timex.h:13,
                 from /build/tmpzah02caj/arch/riscv/include/asm/random.h:5,
                 from /build/tmpzah02caj/include/linux/random.h:155,
                 from /build/tmpzah02caj/include/linux/nodemask.h:94,
                 from /build/tmpzah02caj/include/linux/numa.h:6,
                 from /build/tmpzah02caj/include/linux/cpumask.h:15,
                 from /build/tmpzah02caj/include/linux/alloc_tag.h:13,
                 from /build/tmpzah02caj/include/linux/percpu.h:5,
                 from /build/tmpzah02caj/include/linux/prandom.h:13,
                 from /build/tmpzah02caj/kernel/sched/sched.h:8,
                 from /build/tmpzah02caj/kernel/sched/rq-offsets.c:5:
/build/tmpzah02caj/include/linux/smp.h: In function 'on_each_cpu':
/build/tmpzah02caj/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
   72 |         on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
      |                                                       ^~~~~~~~~~~~~~~
/build/tmpzah02caj/include/linux/smp.h:72:55: note: each undeclared identifier is reported only once for each function it appears in
/build/tmpzah02caj/include/linux/smp.h: In function 'on_each_cpu_cond':
/build/tmpzah02caj/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)
  106 |         on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
      |                                                            ^~~~~~~~~~~~~~~
make[3]: *** [/build/tmpzah02caj/scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmpzah02caj/Makefile:1337: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmpzah02caj/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.5Tk3W9qAzz/build INSTALL_DTBS_PATH=/build/tmp.5Tk3W9qAzz/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.5Tk3W9qAzz/build/dtbsinstall
mkdir -p /build/tmp.5Tk3W9qAzz/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.5Tk3W9qAzz/build INSTALL_DTBS_PATH=/build/tmp.5Tk3W9qAzz/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=@1775825759 --clamp-mtime -caf /build/tmp.5Tk3W9qAzz/build/dtbs.tar -C /build/tmp.5Tk3W9qAzz/build/dtbsinstall dtbs
rm -rf /build/tmp.5Tk3W9qAzz/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.5Tk3W9qAzz/build INSTALL_HDR_PATH=/build/tmp.5Tk3W9qAzz/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=@1775825759 --clamp-mtime -caf /build/tmp.5Tk3W9qAzz/build/headers.tar -C /build/tmp.5Tk3W9qAzz/build/install_hdr .
warnings/errors:
/build/tmpzah02caj/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
/build/tmpzah02caj/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 11.65 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:04.511914
I: default: FAIL in 0:00:02.784907
I: kernel: SKIP in 0:00:00.000008
I: xipkernel: SKIP in 0:00:00.000004
I: modules: SKIP in 0:00:00.002995
I: dtbs: PASS in 0:00:01.106216
I: dtbs-legacy: SKIP in 0:00:00.004301
I: debugkernel: SKIP in 0:00:00.000003
I: headers: PASS in 0:00:01.162414
I: build output in /build/tmp.5M7Wkv9Qbu
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.5M7Wkv9Qbu/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.5M7Wkv9Qbu/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.5M7Wkv9Qbu/build ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc'
In file included from /build/tmpzah02caj/arch/riscv/include/asm/mmiowb.h:12,
                 from /build/tmpzah02caj/arch/riscv/include/asm/mmio.h:16,
                 from /build/tmpzah02caj/arch/riscv/include/asm/clint.h:10,
                 from /build/tmpzah02caj/arch/riscv/include/asm/timex.h:13,
                 from /build/tmpzah02caj/arch/riscv/include/asm/random.h:5,
                 from /build/tmpzah02caj/include/linux/random.h:155,
                 from /build/tmpzah02caj/include/linux/nodemask.h:94,
                 from /build/tmpzah02caj/include/linux/numa.h:6,
                 from /build/tmpzah02caj/include/linux/cpumask.h:15,
                 from /build/tmpzah02caj/include/linux/alloc_tag.h:13,
                 from /build/tmpzah02caj/include/linux/percpu.h:5,
                 from /build/tmpzah02caj/include/linux/prandom.h:13,
                 from /build/tmpzah02caj/kernel/sched/sched.h:8,
                 from /build/tmpzah02caj/kernel/sched/rq-offsets.c:5:
/build/tmpzah02caj/include/linux/smp.h: In function 'on_each_cpu':
/build/tmpzah02caj/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
   72 |         on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
      |                                                       ^~~~~~~~~~~~~~~
/build/tmpzah02caj/include/linux/smp.h:72:55: note: each undeclared identifier is reported only once for each function it appears in
/build/tmpzah02caj/include/linux/smp.h: In function 'on_each_cpu_cond':
/build/tmpzah02caj/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)
  106 |         on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
      |                                                            ^~~~~~~~~~~~~~~
make[3]: *** [/build/tmpzah02caj/scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [/build/tmpzah02caj/Makefile:1337: prepare0] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/build/tmpzah02caj/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.5M7Wkv9Qbu/build INSTALL_DTBS_PATH=/build/tmp.5M7Wkv9Qbu/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- 'CC=ccache riscv64-linux-gcc' 'HOSTCC=ccache gcc' dtbs
rm -rf /build/tmp.5M7Wkv9Qbu/build/dtbsinstall
mkdir -p /build/tmp.5M7Wkv9Qbu/build/dtbsinstall/dtbs
make --silent --keep-going --jobs=48 O=/build/tmp.5M7Wkv9Qbu/build INSTALL_DTBS_PATH=/build/tmp.5M7Wkv9Qbu/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=@1775825759 --clamp-mtime -caf /build/tmp.5M7Wkv9Qbu/build/dtbs.tar -C /build/tmp.5M7Wkv9Qbu/build/dtbsinstall dtbs
rm -rf /build/tmp.5M7Wkv9Qbu/build/install_hdr
make --silent --keep-going --jobs=48 O=/build/tmp.5M7Wkv9Qbu/build INSTALL_HDR_PATH=/build/tmp.5M7Wkv9Qbu/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=@1775825759 --clamp-mtime -caf /build/tmp.5M7Wkv9Qbu/build/headers.tar -C /build/tmp.5M7Wkv9Qbu/build/install_hdr .
warnings/errors:
/build/tmpzah02caj/include/linux/smp.h:72:55: error: 'cpu_online_mask' undeclared (first use in this function)
/build/tmpzah02caj/include/linux/smp.h:106:60: error: 'cpu_online_mask' undeclared (first use in this function)


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.70 seconds
Result: WARNING
Output:

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

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#63: FILE: include/linux/random.h:1:
+

WARNING: Misplaced SPDX-License-Identifier tag - use line 1 instead
#64: FILE: include/linux/random.h:2:
 /* SPDX-License-Identifier: GPL-2.0 */

total: 0 errors, 3 warnings, 0 checks, 72 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 737c7fa1eaf5 ("treewide: Remove asm/timex.h includes from generic code") 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, 3 warnings, 0 checks, 72 lines checked
WARNING: Misplaced SPDX-License-Identifier tag - use line 1 instead
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.33 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
kdoc
Desc: Detects for kdoc errors
Duration: 1.74 seconds
Result: ERROR
Output:

Checking the tree before the patch
Checking the tree with the patch
Error: Cannot find file include/asm-generic/timex.h
Errors and warnings before: 0 this patch: 1
New warnings added
0a1
> Error: Cannot find file include/asm-generic/timex.h
Per-file breakdown


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
module-param
Desc: Detect module_param changes
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 38: "[38/38] treewide: Remove asm/timex.h includes from generic code"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.28 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1079742 branch April 18, 2026 00:09
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.

1 participant