mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-04 12:31:27 +00:00
kernel: Remove redundant CONFIG_MODULES from NVIDIA GPU fragments
Remove CONFIG_MODULES, CONFIG_MODULE_UNLOAD, and CONFIG_MODULE_SIG from the NVIDIA GPU config fragments (nvidia.x86_64.conf.in and nvidia.arm64.conf.in) since these are now provided by the shared common/modules/modules.conf and common/signing/module_signing.conf fragments, which are always included for confidential builds. NVIDIA GPU builds always use -x (confidential), so these options were redundant. CONFIG_FW_LOADER is kept as it is specific to GPU firmware loading needs. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
# Support for loading modules and firmware.
|
||||
# Support for loading firmware.
|
||||
# It is used to support loading GPU drivers.
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_MODULES, CONFIG_MODULE_UNLOAD, and CONFIG_MODULE_SIG come from
|
||||
# common/modules/modules.conf and common/signing/module_signing.conf
|
||||
# (included for confidential builds).
|
||||
CONFIG_FW_LOADER=y
|
||||
|
||||
# CRYPTO_FIPS requires this config when loading modules is enabled.
|
||||
CONFIG_MODULE_SIG=y
|
||||
|
||||
# Linux kernel version suffix
|
||||
CONFIG_LOCALVERSION="-nvidia-gpu${CONF_GUEST_SUFFIX}"
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
# It's used to enable the MMIO access method for PCIe devices.
|
||||
CONFIG_PCI_MMCONFIG=y
|
||||
|
||||
# Support for loading modules and firmware
|
||||
# Support for loading firmware.
|
||||
# It is used to support loading GPU drivers.
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_MODULES and CONFIG_MODULE_UNLOAD come from
|
||||
# common/modules/modules.conf (included for confidential builds).
|
||||
CONFIG_FW_LOADER=y
|
||||
|
||||
# Linux kernel version suffix
|
||||
@@ -24,8 +24,8 @@ CONFIG_CRYPTO_ECC=y
|
||||
CONFIG_CRYPTO_ECDH=y
|
||||
CONFIG_CRYPTO_ECDSA=y
|
||||
|
||||
# Dependency of _CRYPTO_
|
||||
CONFIG_MODULE_SIG=y
|
||||
# CONFIG_MODULE_SIG comes from common/signing/module_signing.conf
|
||||
# (included for confidential builds).
|
||||
|
||||
# HGX/DGX platform
|
||||
CONFIG_INFINIBAND=m
|
||||
|
||||
Reference in New Issue
Block a user