Re: [PATCH v7 3/4] powerpc/purgatory: Remove PGO flags

From: Michael Ellerman
Date: Mon May 22 2023 - 00:17:09 EST


Ricardo Ribalda <ribalda@xxxxxxxxxxxx> writes:
> If profile-guided optimization is enabled, the purgatory ends up with
> multiple .text sections.
> This is not supported by kexec and crashes the system.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 930457057abe ("kernel/kexec_file.c: split up __kexec_load_puragory")
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
> ---
> arch/powerpc/purgatory/Makefile | 5 +++++
> 1 file changed, 5 insertions(+)

Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> (powerpc)

cheers