mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: t264: Depreciate message to warning
When an IP is not enabled in HWPM Makefile, an error message is given out. This has a higher log_level which causes the Kernel Warning test in GVS to fail. Hence, depreciate the log level to warning as not enabling an IP for HWPM profiling is not an error per say. Bug 4345706 Signed-off-by: vasukis <vasukis@nvidia.com> Change-Id: Ib85931c06f42168e86aea5b0b2cb208f93216042 Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3284317 Reviewed-by: Yifei Wan <ywan@nvidia.com> Reviewed-by: Besar Wicaksono <bwicaksono@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
474df3d0b4
commit
d9ed3fd02b
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. 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"),
|
||||
@@ -278,7 +278,8 @@ bool t264_hwpm_is_resource_active(struct tegra_soc_hwpm *hwpm,
|
||||
config_ip = T264_HWPM_IP_RTR;
|
||||
break;
|
||||
default:
|
||||
tegra_hwpm_err(hwpm, "Queried resource %d invalid",
|
||||
tegra_hwpm_dbg(hwpm, hwpm_dbg_ip_register,
|
||||
"Queried resource %d invalid",
|
||||
res_enum);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. 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"),
|
||||
@@ -50,7 +50,7 @@ int t264_hwpm_extract_ip_ops(struct tegra_soc_hwpm *hwpm,
|
||||
|
||||
/* Convert tegra_soc_hwpm_resource to internal enum */
|
||||
if (!(t264_hwpm_is_resource_active(hwpm, resource_enum, &ip_idx))) {
|
||||
tegra_hwpm_err(hwpm,
|
||||
tegra_hwpm_dbg(hwpm, hwpm_dbg_ip_register,
|
||||
"SOC hwpm resource %d (base 0x%llx) is unconfigured",
|
||||
resource_enum, (unsigned long long)base_address);
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user