gpu: nvgpu: update OPT_ECC_EN fuse disabled error log

This fuse is enabled only on safety systems.

Bug 3536502

Change-Id: I9884c3df1d08cef7fca58885388803259780d62c
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2679034
(cherry picked from commit d6fc248fec570c0298a25ecdcaa1ddcda19afb51)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2685475
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Sagar Kamble
2022-03-09 22:53:02 +05:30
committed by Amulya Yarlagadda
parent 4c288a79f0
commit e0c17cac98

View File

@@ -1,7 +1,7 @@
/*
* GA10B FUSE
*
* Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -73,7 +73,11 @@ bool ga10b_fuse_is_opt_ecc_enable(struct gk20a *g)
bool ecc_enable = nvgpu_readl(g, fuse_opt_ecc_en_r()) != 0U;
if (nvgpu_platform_is_silicon(g) && !ecc_enable) {
#ifdef CONFIG_NVGPU_NON_FUSA
nvgpu_log_info(g, "OPT_ECC_EN fuse not set");
#else
nvgpu_err(g, "OPT_ECC_EN fuse not set");
#endif
}
return ecc_enable;