[PATCH v4 00/13] objtool: vmlinux.o and moinstr validation

From: Peter Zijlstra
Date: Wed Mar 25 2020 - 13:47:51 EST


Hi all,

This lacks the first 17 patches of the v3 posting which are en-route to
tip/core/objtool and should show up there somewhere later this evening.

As should be familiar by now; these patches implement the noinstr
(no-instrument) validation in objtool as requested by Thomas, to ensure
critical code (entry for now, idle later) run no unexpected code.

Functions are marked with: noinstr, which implies notrace, noinline and sticks
things in the .noinstr.text section. Such functions can then use instr_begin()
and instr_end() to allow calls to code outside of this section in sanctioned
areas.