NVIDIA: SAUCE: hsierrrptinj: add ID for DLA

BugLink: https://bugs.launchpad.net/bugs/2072591

Add IP ID for DLA.

Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-by: Prasun Kumar <prasunk@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Arvind M
2023-01-24 12:26:10 +00:00
committed by Noah Wager
parent 2fd3e2611a
commit a11e6abcff
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.*/
/* Copyright (c) 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.*/
/**
* @file tegra-hsierrrptinj.c
@@ -74,8 +74,9 @@ struct hsm_error_report_frame {
* TSEC - 1
* THERM - 1
* SMMU - 1
* DLA - 2
*/
static unsigned int ip_instances[NUM_IPS] = {1, 1, 1, 4, 11, 1, 10, 2, 2, 1, 1, 1};
static unsigned int ip_instances[NUM_IPS] = {1, 1, 1, 4, 11, 1, 10, 2, 2, 1, 1, 1, 2};
/* This directory entry will point to `/sys/kernel/debug/tegra_hsierrrptinj`. */
static struct dentry *hsierrrptinj_debugfs_root;
+3 -2
View File
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.*/
/* Copyright (c) 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.*/
/**
* @file tegra-hsierrrptinj.h
@@ -18,7 +18,7 @@
/* ==================[Type Definitions]===================================== */
/* Number of registered IPs */
#define NUM_IPS 12U
#define NUM_IPS 13U
/**
* @brief IP IDs
@@ -38,6 +38,7 @@ IP_SDMMC = 0x0008,
IP_TSEC = 0x0009,
IP_THERM = 0x000A,
IP_SMMU = 0x000B,
IP_DLA = 0x000C,
IP_EC = 0x00FC,
IP_SC7 = 0x00FD,