Hi Kristina,
On 10/05/2023 11:34, Kristina Martsenko wrote:
Hi,
Here are a few small patches to fix kernel module loading in the PCuABI kernel [1]. (Sorry about the delay!) There are some notes on testing in the third patch.
Thanks, Kristina
[1] https://git.morello-project.org/morello/kernel/linux/-/issues/41
Kristina Martsenko (3): module: Allow arch overrides for ELF arch check arm64: elf: Enable module loading for PCuABI kernels
Works for me. Some of the eBPF kselftests use a kernel module as part of the tests. I was able to load and use that module with the above patches. Thanks for the fix.
Reviewed-by: Zachary Leaf zachary.leaf@arm.com Tested-by: Zachary Leaf zachary.leaf@arm.com
Thanks, Zach
arm64: morello: Add test modules to defconfig
note: I haven't run these test modules from patch 3
.../configs/morello_transitional_pcuabi_defconfig | 6 ++++++ arch/arm64/include/asm/elf.h | 10 ++-------- include/linux/moduleloader.h | 4 ++++ kernel/module/main.c | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-)
base-commit: 7f84d159d4eb989bf2f42d2e3b27a204cb3c1ec4