On Thu, Sep 04, 2025 at 09:04:10AM +0200, Peter Zijlstra wrote: > On Wed, Sep 03, 2025 at 08:46:39PM -0700, Kees Cook wrote: > > > Kees Cook (9): > > compiler_types.h: Move __nocfi out of compiler-specific header > > x86/traps: Clarify KCFI instruction layout > > x86/cfi: Document the "cfi=" bootparam options > > x86/cfi: Standardize on common "CFI:" prefix for CFI reports > > x86/cfi: Add "debug" option to "cfi=" bootparam > > x86/cfi: Remove __noinitretpoline and __noretpoline > > So I can take these first 6 patches (and edit that debug patch to > un-annoy myself ;-), but I'm thinking this Kconfig stuff: Sure, yeah. Do you want a v3 for the debug stuff that uses your proposed helper? > > kconfig: Add transitional symbol attribute for migration support > > kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI > > Should perhaps go through the kbuild tree? A I had chatted offline with Nathan about this series, and he'd suggested the kconfig change could go with it's first user (the rename). So if you don't want to put it in -tip, I can take it in the hardening tree. (There's no dependencies between these 2 and the first 6.) > Leaving this: > > > ARM: traps: Implement KCFI trap handler for ARM32 > > Can that go independently through the arm tree, or are there > dependencies? I can take this too, assuming ARM folks don't want to snag it. I may, however, wait on it, just to avoid implementing the kernel support before the GCC folks are happy with the arm32 KCFI backend and its UDF encoding, etc. Thanks for looking at these! :) -Kees -- Kees Cook