Re: [PATCH v4 00/45] x86: Kernel IBT
From: Miroslav Benes
Date: Wed Mar 09 2022 - 07:51:39 EST
On Tue, 8 Mar 2022, Peter Zijlstra wrote:
> Hopefully last posting...
>
> Since last time:
>
> - updated the ftrace_location() patch (naveen, rostedt)
> - added a few comments and clarifications (bpetkov)
> - disable jump-tables (joao)
> - verified clang-14-rc2 works
> - fixed a whole bunch of objtool unreachable insn issue
> - picked up a few more tags
>
> Patches go on top of tip/master + arm64/for-next/linkage. Also available here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
FWIW objtool changes look good to me.
I only came across
arch/x86/kernel/head_64.o: warning: objtool: .noinstr.text: unexpected end of section
with CC_HAS_IBT=n, which you already know about.
CC_HAS_IBT=y compilation gives
vmlinux.o: warning: objtool: xen_vcpu_setup()+0xa3: unreachable instruction
Miroslav