Skip to content

x86: kCFI and IBT cleanups

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86,kcfi: Fix EXPORT_SYMBOL vs kCFIarch/x86/crypto/camellia-aesni-avx-asm_64.S arch/x86/crypto/camellia-aesni-avx2-asm_64.S arch/x86/crypto/camellia-x86_64-asm_64.S +15 more+63 -458 replies
2/8x86/cfi: Clean up linkagearch/x86/crypto/aesni-intel_asm.S arch/x86/entry/calling.h arch/x86/entry/entry_64.S +13 more+53 -170 replies
3/8x86/boot: Mark start_secondary() with __noendbrarch/x86/kernel/smpboot.c include/linux/objtool.h+12 -40 replies
4/8x86/alternative: Simplify callthunk patchingarch/x86/include/asm/alternative.h arch/x86/kernel/alternative.c arch/x86/kernel/callthunks.c +3 more+13 -390 replies
5/8x86/traps: Cleanup and robustify decode_bug()arch/x86/include/asm/bug.h arch/x86/include/asm/ibt.h arch/x86/kernel/traps.c+60 -261 reply
6/8x86/ibt: Clean up is_endbr()arch/x86/events/core.c arch/x86/include/asm/ibt.h arch/x86/kernel/alternative.c +3 more+23 -330 replies
7/8x86/ibt: Clean up poison_endbr()arch/x86/kernel/alternative.c+35 -70 replies
8/8x86/early_printk: Harden early_serialarch/x86/kernel/early_printk.c+25 -260 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchAlexei StarovoitovAndrii Nakryiko
1/8
2/8
3/8
4/8
5/8
6/8A-b A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] x86: kCFI and IBT cleanups

Hi!

This is the 'safe' set of patches that cleans up a lot of the kCFI / IBT things.

For now, I've dropped the IBT+ and FineIBT-BHI bits, we'll get back to those once the dust settles.

Also available here:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt