Re: [PATCH v2 0/9] kcfi: Prepare for GCC support

Peter Zijlstra
2025-09-04T07:04:16Z

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:

> kconfig: Add transitional symbol attribute for migration support
> kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI

Should perhaps go through the kbuild tree? A

Leaving this:

> ARM: traps: Implement KCFI trap handler for ARM32

Can that go independently through the arm tree, or are there
dependencies?