Re: [PATCH v3 01/60] arm64: kernel: Disable latent_entropy GCC plugin in early C runtime

From: Ard Biesheuvel
Date: Fri Apr 28 2023 - 06:54:36 EST


On Fri, 28 Apr 2023 at 11:38, Mark Rutland <mark.rutland@xxxxxxx> wrote:
>
> On Tue, Mar 07, 2023 at 03:04:23PM +0100, Ard Biesheuvel wrote:
> > Avoid build issues in the early C code related to the latent_entropy GCC
> > plugin, by incorporating the C flags fragment that disables it.
> >
> > Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
>
> Just to check, are you seeing issues today? IIUC the plugin only instruments
> functions which are explicitly marked with __latent_entropy, and if we're
> seeing that happen unexpectedly (or due to that being applying to __meminit /
> __init), we might need to do likewise for other noinstr code.
>

I don't quite remember, tbh, but it is unlikely that I would have
written or included this patch without having run into some actual
issue.

> Regardless, for this patch:
>
> Acked-by: Mark Rutland <mark.rutland@xxxxxxx>
>

Thanks,