Re: [PATCH v4 00/45] x86: Kernel IBT

From: Peter Zijlstra
Date: Tue Mar 08 2022 - 20:14:12 EST


On Tue, Mar 08, 2022 at 11:32:37PM +0100, Peter Zijlstra wrote:
> On Tue, Mar 08, 2022 at 11:01:04PM +0100, Peter Zijlstra wrote:
> > On Tue, Mar 08, 2022 at 12:00:52PM -0800, Alexei Starovoitov wrote:
> > > On Tue, Mar 08, 2022 at 04:30:11PM +0100, 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
> > >
> > > I've tried to test it.
> >
> > I could cleanly do:
> >
> > git checkout tip/master
> > git merge bpf-next/master
> > git merge queue/x86/wip.ibt
> >
> > You want me to push out that result somewhere?
>
> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt
>
> includes bpf-next/master.

I just managed to run bpf selftests with that kernel on a tigerlake
platform. Seems to still work.