From: Peter Zijlstra <peterz@infradead.org>
To: tglx@linutronix.de
Cc: x86@kernel.org, elver@google.com, paulmck@kernel.org,
kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org,
will@kernel.org, dvyukov@google.com, glider@google.com,
andreyknvl@google.com
Subject: Re: [PATCH 0/9] x86/entry fixes
Date: Wed, 3 Jun 2020 14:00:37 +0200 [thread overview]
Message-ID: <20200603120037.GA2570@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20200603114014.152292216@infradead.org>
On Wed, Jun 03, 2020 at 01:40:14PM +0200, Peter Zijlstra wrote:
> The first patch is a fix for x86/entry, I'm quicky runing out of brown paper bags again :/
>
> The rest goes on top of these:
>
> https://lkml.kernel.org/r/20200602173103.931412766@infradead.org
> https://lkml.kernel.org/r/20200602184409.22142-1-elver@google.com
>
> patches from myself and Marco that enable *SAN builds. So far GCC-KASAN seen to
> behave quite well, I've yet to try UBSAN.
GCC10 + UBSAN:
vmlinux.o: warning: objtool: match_held_lock()+0x1b2: call to __ubsan_handle_type_mismatch_v1() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_nmi_enter()+0x234: call to __ubsan_handle_out_of_bounds() leaves .noinstr.text section
vmlinux.o: warning: objtool: __rcu_is_watching()+0x59: call to __ubsan_handle_out_of_bounds() leaves .noinstr.text section
All of them are marked noinstr. So I suppose UBSAN is just buggered in
GCC :-/
next prev parent reply other threads:[~2020-06-03 12:00 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 11:40 [PATCH 0/9] x86/entry fixes Peter Zijlstra
2020-06-03 11:40 ` [PATCH 1/9] x86/entry: Fix irq_exit() Peter Zijlstra
2020-06-03 11:40 ` [PATCH 2/9] rcu: Fixup noinstr warnings Peter Zijlstra
2020-06-03 16:46 ` Paul E. McKenney
2020-06-03 17:13 ` Peter Zijlstra
2020-06-04 3:34 ` Paul E. McKenney
2020-06-04 6:02 ` Marco Elver
2020-06-04 14:14 ` Paul E. McKenney
2020-06-04 8:05 ` Peter Zijlstra
2020-06-04 14:17 ` Paul E. McKenney
2020-06-15 15:30 ` Peter Zijlstra
2020-06-15 15:52 ` Paul E. McKenney
2020-06-15 16:06 ` Peter Zijlstra
2020-06-15 15:49 ` Peter Zijlstra
2020-06-15 15:55 ` Peter Zijlstra
2020-06-15 16:24 ` Peter Zijlstra
2020-06-15 17:14 ` Paul E. McKenney
2020-06-15 18:33 ` Peter Zijlstra
2020-06-15 18:59 ` Paul E. McKenney
2020-06-15 20:00 ` Paul E. McKenney
2020-06-19 22:15 ` Paul E. McKenney
2020-06-23 20:46 ` Peter Zijlstra
2020-06-23 21:44 ` Paul E. McKenney
2020-06-24 7:52 ` Peter Zijlstra
2020-06-24 13:03 ` Paul E. McKenney
2020-06-03 11:40 ` [PATCH 3/9] x86/entry: __always_inline debugreg for noinstr Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 4/9] x86/entry: __always_inline irqflags " Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 5/9] x86/entry: __always_inline arch_atomic_* " Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 6/9] x86/entry: Re-order #DB handler to avoid *SAN instrumentation Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 7/9] lockdep: __always_inline more for noinstr Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 8/9] x86/entry: __always_inline CR2 " Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 11:40 ` [PATCH 9/9] x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline() Peter Zijlstra
2020-06-03 17:50 ` [tip: x86/entry] " tip-bot2 for Peter Zijlstra
2020-06-03 12:00 ` Peter Zijlstra [this message]
2020-06-03 12:08 ` [PATCH 0/9] x86/entry fixes Peter Zijlstra
2020-06-03 12:08 ` Marco Elver
2020-06-03 12:18 ` Peter Zijlstra
2020-06-03 13:32 ` Marco Elver
2020-06-03 14:47 ` Marco Elver
2020-06-03 16:07 ` Peter Zijlstra
2020-06-03 17:26 ` Marco Elver
2020-06-03 18:16 ` Peter Zijlstra
2020-06-03 19:10 ` Marco Elver
2020-06-04 6:00 ` Marco Elver
2020-06-04 9:52 ` Marco Elver
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=20200603120037.GA2570@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=andreyknvl@google.com \
--cc=dvyukov@google.com \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=kasan-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
--cc=x86@kernel.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).