From dd6e6233a995abb81fd488136d72512e8ab38980 Mon Sep 17 00:00:00 2001 From: Prathamesh Shete Date: Tue, 26 Mar 2024 10:06:34 +0000 Subject: [PATCH] NVIDIA: SAUCE: arm64: config: Enable CONFIG_MODVERSIONS for kernel-modules BugLink: https://bugs.launchpad.net/bugs/2072591 Out-of-tree kernel modules provided by Mellanox for their hardware drivers check the CRC of exported symbols during the module loading process for ABI compatibility. These kernel modules are loaded only if the CRC of the export symbol is good for the kernel modules. Since MLNX oot driver kernel modules require this facility, enable CONFIG_MODVERSIONS in the defconfig used by Tegra. http://nvbugs/3979299 Signed-off-by: Prathamesh Shete Signed-off-by: Bharath H S Signed-off-by: Satish Seelamsetti Signed-off-by: Laxman Dewangan Acked-by: Jacob Martin Acked-by: Noah Wager Signed-off-by: Noah Wager --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 317cb91da9bf..0b5d4f725473 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,7 @@ CONFIG_KVM=y CONFIG_JUMP_LABEL=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y CONFIG_MODULE_SIG=y CONFIG_MODULE_SIG_SHA512=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set