]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Also consider .entry.text as noinstr
authorThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 16:18:17 +0000 (17:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2020 08:53:51 +0000 (10:53 +0200)
commit3aa406fb0c488914817f480e1ddc5b683b782cbd
treeca745c42a752e663f63a44710ab0a8e643e49321
parentf956434f552c6b1b381db9bac265b837aca25f8f
objtool: Also consider .entry.text as noinstr

Consider all of .entry.text as noinstr. This gets us coverage across
the PTI boundary. While we could add everything .noinstr.text into
.entry.text that would bloat the amount of code in the user mapping.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200416115119.525037514@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/check.c