Re: [PATCH v5 2/6] powerpc/kexec_file: Add KEXEC_SIG support.

From: Michael Ellerman
Date: Wed Feb 09 2022 - 00:16:49 EST


Michal Suchanek <msuchanek@xxxxxxx> writes:
> Copy the code from s390x
>
> Both powerpc and s390x use appended signature format (as opposed to EFI
> based patforms using PE format).
>
> Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
> ---
> v3: - Philipp Rudo <prudo@xxxxxxxxxx>: Update the comit message with
> explanation why the s390 code is usable on powerpc.
> - Include correct header for mod_check_sig
> - Nayna <nayna@xxxxxxxxxxxxxxxxxx>: Mention additional IMA features
> in kconfig text
> ---
> arch/powerpc/Kconfig | 16 ++++++++++++++++
> arch/powerpc/kexec/elf_64.c | 36 ++++++++++++++++++++++++++++++++++++
> 2 files changed, 52 insertions(+)

I haven't tested this on powerpc, but assuming you have Michal this
looks OK to me.

Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>

cheers