lkml.org 
[lkml]   [2020]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectnext-20200807 - arm allmodconfig dies in asm-offsets.s
Date
commit 859247d39fb008ea812e8f0c398a58a20c12899e
Author: Ahmed S. Darwish <a.darwish@linutronix.de>
Date: Mon Jul 20 17:55:14 2020 +0200

seqlock: lockdep assert non-preemptibility on seqcount_t write

breaks an arm allmodconfig build. 'git revert -n' and the build continues on.

CC arch/arm/kernel/asm-offsets.s
In file included from ./arch/arm/include/asm/bug.h:60,
from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:12,
from ./include/asm-generic/current.h:5,
from ./arch/arm/include/generated/asm/current.h:1,
from ./include/linux/sched.h:12,
from arch/arm/kernel/asm-offsets.c:11:
./include/linux/seqlock.h: In function 'write_seqcount_begin_nested':
./include/asm-generic/percpu.h:31:40: error: implicit declaration of function 'raw_smp_processor_id' [-Werror=implicit-function-declaration]
#define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())
^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/bug.h:145:27: note: in definition of macro 'WARN_ON_ONCE'
int __ret_warn_once = !!(condition); \
^~~~~~~~~
././include/linux/compiler_types.h:307:2: note: in expansion of macro '__compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:319:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
./include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^~~~~~~~~~~~~~~~~~
./include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^~~~~~~~~~~~~
./include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
compiletime_assert_rwonce_type(x); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/percpu.h:119:10: note: in expansion of macro 'READ_ONCE'
__ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
^~~~~~~~~
./include/linux/percpu-defs.h:231:2: note: in expansion of macro 'RELOC_HIDE'
RELOC_HIDE((typeof(*(__p)) __kernel __force *)(__p), (__offset))
^~~~~~~~~~
./include/asm-generic/percpu.h:44:31: note: in expansion of macro 'SHIFT_PERCPU_PTR'
#define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset)
^~~~~~~~~~~~~~~~
./include/asm-generic/percpu.h:31:25: note: in expansion of macro 'per_cpu_offset'
#define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())
^~~~~~~~~~~~~~
./include/asm-generic/percpu.h:44:53: note: in expansion of macro '__my_cpu_offset'
#define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset)
^~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:242:2: note: in expansion of macro 'arch_raw_cpu_ptr'
arch_raw_cpu_ptr(ptr); \
^~~~~~~~~~~~~~~~
./include/asm-generic/percpu.h:119:21: note: in expansion of macro 'raw_cpu_ptr'
__ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
^~~~~~~~~~~
./include/asm-generic/percpu.h:138:11: note: in expansion of macro '__this_cpu_generic_read_nopreempt'
__ret = __this_cpu_generic_read_nopreempt(pcp); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/percpu.h:320:31: note: in expansion of macro 'this_cpu_generic_read'
#define this_cpu_read_1(pcp) this_cpu_generic_read(pcp)
^~~~~~~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:321:23: note: in expansion of macro 'this_cpu_read_1'
case 1: pscr_ret__ = stem##1(variable); break; \
^~~~
./include/linux/percpu-defs.h:507:29: note: in expansion of macro '__pcpu_size_call_return'
#define this_cpu_read(pcp) __pcpu_size_call_return(this_cpu_read_, pcp)
^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/lockdep.h:565:9: note: in expansion of macro 'this_cpu_read'
this_cpu_read(hardirqs_enabled))); \
^~~~~~~~~~~~~
./include/linux/seqlock.h:285:2: note: in expansion of macro 'lockdep_assert_preemption_disabled'
lockdep_assert_preemption_disabled();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:117: arch/arm/kernel/asm-offsets.s] Error 1
make: *** [Makefile:1203: prepare0] Error 2

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-08-08 08:20    [W:0.049 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site