On 14/06/2023 15:31, Kevin Brodsky wrote:
On 22/05/2023 20:01, Zachary Leaf wrote:
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
Sorry it took me so long to get to this. Thanks Kristina for the patches, they look good to me, and thanks Zach for the testing.
I tested LTP with the instructions provided in patch 3 and that worked just fine. I have now applied patch 1 and 2 on next.
I don't think we need patch 3, as this is for testing purposes only and these options are already available as a separate fragment (tools/testing/selftests/lib/config). The plan is now to get the CI to build the kernel + modules with this fragment and the additional kselftests.
Makes sense to me. Thank you!
Kristina