Skip to contentSkip to conversation

x86/alternatives for v6.3-rc1

GIT PULL Merged Borislav Petkov 2 participants 2 messages Feb 20, 2023 – Feb 21, 2023

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull some x86 alternatives improvements for 6.3.

Thx.

---

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v6.3_rc1

for you to fetch changes up to 923510c88d2b7d947c4217835fd9ca6bd65cc56c:

x86/static_call: Add support for Jcc tail-calls (2023-01-31 15:05:31 +0100)

----------------------------------------------------------------
- Teach the static_call patching infrastructure to handle conditional tall calls properly which can be static calls too

- Add proper struct alt_instr.flags which controls different aspects of insn patching behavior

----------------------------------------------------------------
Borislav Petkov (AMD) (1):
x86/alternatives: Add alt_instr.flags

Peter Zijlstra (3):
x86/alternatives: Introduce int3_emulate_jcc() x86/alternatives: Teach text_poke_bp() to patch Jcc.d32 instructions x86/static_call: Add support for Jcc tail-calls

 arch/x86/include/asm/alternative.h            | 132 +++++++++++++++-----------
 arch/x86/include/asm/text-patching.h          |  31 ++++++
 arch/x86/kernel/alternative.c                 |  76 ++++++++++-----
 arch/x86/kernel/kprobes/core.c                |  38 ++------
 arch/x86/kernel/static_call.c                 |  50 +++++++++-
 tools/objtool/arch/x86/include/arch/special.h |   6 +-
 6 files changed, 218 insertions(+), 115 deletions(-)
Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 20 Feb 2023 16:23:45 +0100:

The pull request you sent on Mon, 20 Feb 2023 16:23:45 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v6.3_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1adce1b9440cdf0c427419b99bc9db756b5ad931

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html