| From: |
| Josh Poimboeuf <jpoimboe-AT-kernel.org> |
| To: |
| Valentin Schneider <vschneid-AT-redhat.com> |
| Subject: |
| [PATCH 0/3] objtool: noinstr validation for static branches/calls |
| Date: |
| Fri, 22 Nov 2024 17:52:19 -0800 |
| Message-ID: |
| <cover.1732326588.git.jpoimboe@kernel.org> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, Peter Zijlstra <peterz-AT-infradead.org> |
| Archive-link: |
| Article |
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