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 <pshete@nvidia.com>
Signed-off-by: Bharath H S <bhs@nvidia.com>
Signed-off-by: Satish Seelamsetti <sseelamsetti@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Prathamesh Shete
2024-03-26 10:06:34 +00:00
committed by Noah Wager
parent 595530f4ad
commit dd6e6233a9
+1
View File
@@ -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