Re: [PATCH v6 0/4] Option to build big-endian with ELFv2 ABI
From: Joel Stanley <joel@jms.id.au>
Date: 2022-11-29 03:04:00
On Mon, 28 Nov 2022 at 04:16, Nicholas Piggin [off-list ref] wrote:
This is hopefully the final attempt. Luis was happy for the module patch to go via the powerpc tree, so I've put the the ELFv2 for big endian build patches into the series. Hopefully we can deprecate the ELFv1 ABI Since v5, I cleaned up patch 2 as per Christophe's review. And patch 4 I removed the EXPERT depends so it's easier to test. It's marked as experimental, but we should soon make it default and try to deprecate the v1 ABI so we can eventually remove it.
Reviewed-by: Joel Stanley <joel@jms.id.au> I did some builds and boot tested them in qemu fine.
Thanks, Nick Nicholas Piggin (4): module: add module_elf_check_arch for module-specific checks powerpc/64: Add module check for ELF ABI version powerpc/64: Add big-endian ELFv2 flavour to crypto VMX asm generation powerpc/64: Option to build big-endian with ELFv2 ABI arch/powerpc/Kconfig | 21 +++++++++++++++++++++ arch/powerpc/kernel/module_64.c | 10 ++++++++++ arch/powerpc/platforms/Kconfig.cputype | 4 ++-- drivers/crypto/vmx/Makefile | 12 +++++++++++- drivers/crypto/vmx/ppc-xlate.pl | 10 ++++++---- include/linux/moduleloader.h | 3 +++ kernel/module/main.c | 10 ++++++++++ 7 files changed, 63 insertions(+), 7 deletions(-) -- 2.37.2