Re: [PATCH v2 00/25] objtool: Interface overhaul
From: Josh Poimboeuf
Date: Tue Apr 19 2022 - 11:36:36 EST
On Tue, Apr 19, 2022 at 01:51:30PM +0200, Peter Zijlstra wrote:
> I've taken the liberty of reordering it slightly:
>
> objtool: Enable unreachable warnings for CLANG LTO
> x86/static_call: Add ANNOTATE_NOENDBR to static call trampoline
> x86/retpoline: Add ANNOTATE_ENDBR for retpolines
> x86/uaccess: Add ENDBR to __put_user_nocheck*()
> x86/xen: Add ANNOTATE_ENDBR to startup_xen()
> objtool: Print data address for "!ENDBR" data warnings
> objtool: Use offstr() to print address of missing ENDBR
>
> Go into x86/urgent, and I've added Fixes: tags with various patches from
> the IBT series, and then the rest goes into objtool/core.
>
> As already indicated, there's going to be a few merge conflicts against
> x86/core, but alas. Resolved as per the below.
Thanks! I guess tip bot is broken?
> - $(if $(CONFIG_X86_SMAP), --uaccess) \
> + --uaccess \
Here we'll need HAVE_UACCESS_VALIDATION. I'll work up a new patch for
that once your objtool/core changes go live (don't see them yet).
--
Josh