Tree/Branch: v3.14.73-rt77 Git describe: v3.14.73-rt77 Commit: 5674b38d08 Linux 3.14.73-rt77
Build Time: 0 min 14 sec
Passed: 2 / 8 ( 25.00 %) Failed: 6 / 8 ( 75.00 %)
Errors: 1 Warnings: 10 Section Mismatches: 0
Failed defconfigs: arm64-allnoconfig arm64-allmodconfig arm-multi_v7_defconfig arm-allmodconfig arm-allnoconfig arm64-defconfig
Errors:
arm64-allnoconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 6 warnings 0 mismatches : arm-multi_v7_defconfig 8 warnings 0 mismatches : x86_64-defconfig 4 warnings 0 mismatches : x86_64-allnoconfig 2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1 6 /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
Warnings Summary: 10 6 /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) 2 /home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable] 2 /home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function] 1 /home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable] 1 /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable] 1 /home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type] 1 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 /home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allnoconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
------------------------------------------------------------------------------- arm64-allmodconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
------------------------------------------------------------------------------- arm-multi_v7_defconfig : FAIL, 1 errors, 6 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
Warnings: warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL) /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
------------------------------------------------------------------------------- x86_64-defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings: /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function] /home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable] /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable] /home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type] /home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable] /home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
------------------------------------------------------------------------------- arm-allmodconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
------------------------------------------------------------------------------- arm-allnoconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
------------------------------------------------------------------------------- x86_64-allnoconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings: /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable] /home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
------------------------------------------------------------------------------- arm64-defconfig : FAIL, 1 errors, 2 warnings, 0 section mismatches
Errors: /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
Warnings: /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
arm64-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
These all started failing yesterday with v3.14.72-rt76, before it was
v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75)
Arnd
+ Steven
* Arnd Bergmann | 2016-07-15 09:42:40 [+0200]:
On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
arm64-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
These all started failing yesterday with v3.14.72-rt76, before it was
v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75)
Arnd
Sebastian
On Fri, 15 Jul 2016 14:08:37 +0200 Sebastian Andrzej Siewior bigeasy@linutronix.de wrote:
- Steven
- Arnd Bergmann | 2016-07-15 09:42:40 [+0200]:
On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
arm64-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
These all started failing yesterday with v3.14.72-rt76, before it was
v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75)
Bah, thanks for the report. I hope I have time before to fix this today, otherwise, I'll need to do it when I get back from my travels.
-- Steve
On Fri, 15 Jul 2016 14:08:37 +0200 Sebastian Andrzej Siewior bigeasy@linutronix.de wrote:
- Steven
- Arnd Bergmann | 2016-07-15 09:42:40 [+0200]:
On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
arm64-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
These all started failing yesterday with v3.14.72-rt76, before it was
v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75)
Arnd
Arnd,
Does this fix the issue?
-- Steve
diff --git a/include/asm-generic/preempt.h b/include/asm-generic/preempt.h index 65759d8b0b46..25c09df2c046 100644 --- a/include/asm-generic/preempt.h +++ b/include/asm-generic/preempt.h @@ -7,7 +7,7 @@
static __always_inline int preempt_count(void) { - return READ_ONCE(current_thread_info()->preempt_count); + return ACCESS_ONCE(current_thread_info()->preempt_count); }
static __always_inline volatile int *preempt_count_ptr(void)
On Friday, July 15, 2016 2:34:10 PM CEST Steven Rostedt wrote:
- Arnd Bergmann | 2016-07-15 09:42:40 [+0200]:
On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
arm64-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-multi_v7_defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allmodconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm-allnoconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
arm64-defconfig
/home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
These all started failing yesterday with v3.14.72-rt76, before it was
v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75) Arnd
Arnd,
Does this fix the issue?
From looking at it I'm fairly sure it addresses the build problem,
and semantically it looks correct as well, but I haven't had a chance to test it on my machine yet.
The build results above come from Mark Brown's automated build setup, so your testing is as good as mine in reproducing it.
Arnd
kernel-build-reports@lists.linaro.org