[PATCH] ARM: Use conditionals for CFI branches

Linus Walleij linus.walleij at linaro.org
Tue Apr 30 04:45:27 PDT 2024


On Tue, Apr 30, 2024 at 11:19 AM Ard Biesheuvel <ardb at kernel.org> wrote:


> These functions are only called indirectly if MULTI_CACHE is enabled,
> right? If so, this could be
>
> #if defined(CONFIG_CFI_CLANG) && defined(MULTI_CACHE)

Hm Sami may know better here, but with !MULTI_CACHE the
functions are indeed called directly, but does that mean the
compiler will not emit some magic bytes in front of these
symbols then?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list