From 70570ef2243e03a8a4fdfc24e43e8e958575265c Mon Sep 17 00:00:00 2001 From: spatki Date: Mon, 24 Feb 2025 08:30:11 +0000 Subject: [PATCH] tsec: add firmware desc path as module fw During SC7 tsec driver is unable to find the desc file for the tsec fw and thus tsec boot fails. This might result into system hang. Hence this change adds the tsec fw desc file path as the module firmware so that the firmware is available to it during SC7. Bug 5053273 Change-Id: I4f2c9bb5288dac6973f574159fdebc48009edf2a Signed-off-by: spatki Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3308515 (cherry picked from commit 598f951b93c6cdaa0507ea8292fc26494ab52e9e) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3308481 Reviewed-by: Brad Griffis Reviewed-by: svcacv GVS: buildbot_gerritrpt --- drivers/video/tegra/tsec/tsec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/tegra/tsec/tsec.c b/drivers/video/tegra/tsec/tsec.c index 5ab1ad2c..06b7c271 100644 --- a/drivers/video/tegra/tsec/tsec.c +++ b/drivers/video/tegra/tsec/tsec.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * Tegra TSEC Module Support */ @@ -21,6 +21,8 @@ static struct tsec_device_data t23x_tsec_data = { .riscv_desc_bin = "tegra23x/nvhost_tsec_desc.fw", .riscv_image_bin = "tegra23x/nvhost_tsec_riscv.fw", }; +MODULE_FIRMWARE("tegra23x/nvhost_tsec_riscv.fw"); +MODULE_FIRMWARE("tegra23x/nvhost_tsec_desc.fw"); static struct tsec_device_data t239_tsec_data = { .rate = {192000000, 0, 204000000},