linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Kees Cook <keescook@chromium.org>,
	"Ahmed S. Darwish" <a.darwish@linutronix.de>,
	Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: next-20200807 - arm allmodconfig dies in asm-offsets.s
Date: Sat, 08 Aug 2020 02:18:51 -0400	[thread overview]
Message-ID: <52753.1596867531@turing-police> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 4610 bytes --]

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


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2020-08-08  6:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52753.1596867531@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=a.darwish@linutronix.de \
    --cc=keescook@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).