mbox series

[0/2] x86/retpoline,kprobes: Fix the [__indirect_thunk_start, ..end] range

Message ID 20230705081547.25130-1-petr.pavlu@suse.com (mailing list archive)
Headers show
Series x86/retpoline,kprobes: Fix the [__indirect_thunk_start, ..end] range | expand

Message

Petr Pavlu July 5, 2023, 8:15 a.m. UTC
Fix problems with an output position of thunk sections and the
associated definition of range [__indirect_thunk_start,
__indirect_thunk_end] which affects the kprobes optimization.

Petr Pavlu (2):
  x86/retpoline,kprobes: Fix position of thunk sections with
    CONFIG_LTO_CLANG
  x86/retpoline,kprobes: Avoid treating rethunk as an indirect jump

 arch/x86/kernel/vmlinux.lds.S | 4 +---
 arch/x86/lib/retpoline.S      | 8 ++++++--
 2 files changed, 7 insertions(+), 5 deletions(-)