Re: [PATCH RFC 6/8] arm64: ftrace: Support CALL_OPS on kernels built with kCFI
From: Miguel Ojeda
Date: Fri Sep 04 2026 - 08:50:06 EST
On Fri, Sep 4, 2026 at 3:20 AM Jose Fernandez (Anthropic)
<jose.fernandez@xxxxxxxxx> wrote:
>
> Gate CALL_OPS under CFI on ARM64_CFI_PERMITS_CALL_OPS, which needs
> clang 21 or newer and RUST off. rustc has its own flag for the prefix
> NOPs and this patch does not pass it, so Rust functions would have no
> prefix and a different hash offset.
Why doesn't the patch pass the flag to `rustc`?
(Looking at later patches) Ah, is it because you defer it to the last patch?
Thanks!
Cheers,
Miguel