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)
commit0cc9ac8db0b447922d9af77916cd7941fc784b64
treeca745c42a752e663f63a44710ab0a8e643e49321
parent932f8e987bfdcfc2365177978a30fdc0d6f6bd60
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