[PATCH 0/3] objtool: noinstr validation for static branches/calls
From: Josh Poimboeuf
Date: Fri Nov 22 2024 - 20:52:39 EST
Valentin, feel free to include in your next version.
Josh Poimboeuf (3):
jump_label: Add annotations for validating noinstr usage
static_call: Add read-only-after-init static calls
objtool: Add noinstr validation for static branches/calls
include/linux/jump_label.h | 29 ++++++--
include/linux/objtool.h | 6 ++
include/linux/static_call.h | 18 +++++
tools/objtool/Documentation/objtool.txt | 34 +++++++++
tools/objtool/check.c | 92 ++++++++++++++++++++++---
tools/objtool/include/objtool/check.h | 1 +
tools/objtool/include/objtool/elf.h | 1 +
tools/objtool/include/objtool/special.h | 1 +
tools/objtool/special.c | 20 +++++-
9 files changed, 186 insertions(+), 16 deletions(-)
--
2.47.0