mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: build flags for dGPU safety
Add the following flags for dGPU safety build: - CONFIG_NVGPU_GR_FALCON_NON_SECURE_BOOT - CONFIG_NVGPU_SM_DIVERSITY - CONFIG_NVGPU_USE_3LSS_ERR_INJECTION Jira NVGPU-4661 Change-Id: I50df5677f6b53d835852ef29fb378d4817bd4e2b Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2315694 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
46761356e5
commit
1adf23eea5
@@ -108,6 +108,15 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FALCON_NON_FUSA
|
||||
# nvgpu_semaphore_get_value
|
||||
CONFIG_NVGPU_SW_SEMAPHORE :=1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SW_SEMAPHORE
|
||||
|
||||
CONFIG_NVGPU_GR_FALCON_NON_SECURE_BOOT := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_GR_FALCON_NON_SECURE_BOOT
|
||||
|
||||
CONFIG_NVGPU_SM_DIVERSITY := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SM_DIVERSITY
|
||||
|
||||
CONFIG_NVGPU_USE_3LSS_ERR_INJECTION := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_USE_3LSS_ERR_INJECTION
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user