1
1
// SPDX-License-Identifier: GPL-2.0
2
2
/*
3
- * Copyright (c) 2021-2022 , NVIDIA CORPORATION. All rights reserved
3
+ * Copyright (c) 2021-2025 , NVIDIA CORPORATION. All rights reserved
4
4
*
5
5
* The driver handles Error's from Control Backbone(CBB) generated due to
6
6
* illegal accesses. When an error is reported from a NOC within CBB,
@@ -138,7 +138,7 @@ struct tegra194_cbb_userbits {
138
138
struct tegra194_cbb_noc_data {
139
139
const char * name ;
140
140
bool erd_mask_inband_err ;
141
- const char * const * master_id ;
141
+ const char * const * initiator_id ;
142
142
unsigned int max_aperture ;
143
143
const struct tegra194_cbb_aperture * noc_aperture ;
144
144
const char * const * routeid_initflow ;
@@ -216,7 +216,7 @@ static const char * const tegra194_axi2apb_error[] = {
216
216
"CH2RFIFOF - Ch2 Request FIFO Full interrupt"
217
217
};
218
218
219
- static const char * const tegra194_master_id [] = {
219
+ static const char * const tegra194_initiator_id [] = {
220
220
[0x0 ] = "CCPLEX" ,
221
221
[0x1 ] = "CCPLEX_DPMU" ,
222
222
[0x2 ] = "BPMP" ,
@@ -238,7 +238,7 @@ static const struct tegra_cbb_error tegra194_cbb_errors[] = {
238
238
{
239
239
.code = "SLV" ,
240
240
.source = "Target" ,
241
- .desc = "Target error detected by CBB slave "
241
+ .desc = "Target error detected by CBB target "
242
242
}, {
243
243
.code = "DEC" ,
244
244
.source = "Initiator NIU" ,
@@ -1774,8 +1774,8 @@ static void print_errlog5(struct seq_file *file, struct tegra194_cbb *cbb)
1774
1774
tegra_cbb_print_err (file , "\t AXI ID\t\t: %#x\n" , userbits .axi_id );
1775
1775
}
1776
1776
1777
- tegra_cbb_print_err (file , "\t Master ID\t\t: %s\n" ,
1778
- cbb -> noc -> master_id [userbits .mstr_id ]);
1777
+ tegra_cbb_print_err (file , "\t Initiator ID\t\t: %s\n" ,
1778
+ cbb -> noc -> initiator_id [userbits .mstr_id ]);
1779
1779
tegra_cbb_print_err (file , "\t Security Group(GRPSEC): %#x\n" , userbits .grpsec );
1780
1780
tegra_cbb_print_cache (file , userbits .axcache );
1781
1781
tegra_cbb_print_prot (file , userbits .axprot );
@@ -1837,14 +1837,14 @@ print_errlog1_2(struct seq_file *file, struct tegra194_cbb *cbb,
1837
1837
1838
1838
/*
1839
1839
* Print transcation type, error code and description from ErrLog0 for all
1840
- * errors. For NOC slave errors, all relevant error info is printed using
1840
+ * errors. For NOC target errors, all relevant error info is printed using
1841
1841
* ErrLog0 only. But additional information is printed for errors from
1842
- * APB slaves because for them:
1843
- * - All errors are logged as SLV(slave ) errors due to APB having only single
1842
+ * APB targets because for them:
1843
+ * - All errors are logged as SLV(target ) errors due to APB having only single
1844
1844
* bit pslverr to report all errors.
1845
1845
* - Exact cause is printed by reading DMAAPB_X_RAW_INTERRUPT_STATUS register.
1846
1846
* - The driver prints information showing AXI2APB bridge and exact error
1847
- * only if there is error in any AXI2APB slave .
1847
+ * only if there is error in any AXI2APB target .
1848
1848
* - There is still no way to disambiguate a DEC error from SLV error type.
1849
1849
*/
1850
1850
static bool print_errlog0 (struct seq_file * file , struct tegra194_cbb * cbb )
@@ -1884,8 +1884,8 @@ static bool print_errlog0(struct seq_file *file, struct tegra194_cbb *cbb)
1884
1884
/* For all SLV errors, read DMAAPB_X_RAW_INTERRUPT_STATUS
1885
1885
* register to get error status for all AXI2APB bridges.
1886
1886
* Print bridge details if a bit is set in a bridge's
1887
- * status register due to error in a APB slave connected
1888
- * to that bridge. For other NOC slaves , none of the status
1887
+ * status register due to error in a APB target connected
1888
+ * to that bridge. For other NOC targets , none of the status
1889
1889
* register will be set.
1890
1890
*/
1891
1891
@@ -2118,7 +2118,7 @@ static const struct tegra_cbb_ops tegra194_cbb_ops = {
2118
2118
static struct tegra194_cbb_noc_data tegra194_cbb_central_noc_data = {
2119
2119
.name = "cbb-noc" ,
2120
2120
.erd_mask_inband_err = true,
2121
- .master_id = tegra194_master_id ,
2121
+ .initiator_id = tegra194_initiator_id ,
2122
2122
.noc_aperture = tegra194_cbbcentralnoc_apert_lookup ,
2123
2123
.max_aperture = ARRAY_SIZE (tegra194_cbbcentralnoc_apert_lookup ),
2124
2124
.routeid_initflow = tegra194_cbbcentralnoc_routeid_initflow ,
@@ -2130,7 +2130,7 @@ static struct tegra194_cbb_noc_data tegra194_cbb_central_noc_data = {
2130
2130
static struct tegra194_cbb_noc_data tegra194_aon_noc_data = {
2131
2131
.name = "aon-noc" ,
2132
2132
.erd_mask_inband_err = false,
2133
- .master_id = tegra194_master_id ,
2133
+ .initiator_id = tegra194_initiator_id ,
2134
2134
.noc_aperture = tegra194_aonnoc_aperture_lookup ,
2135
2135
.max_aperture = ARRAY_SIZE (tegra194_aonnoc_aperture_lookup ),
2136
2136
.routeid_initflow = tegra194_aonnoc_routeid_initflow ,
@@ -2142,7 +2142,7 @@ static struct tegra194_cbb_noc_data tegra194_aon_noc_data = {
2142
2142
static struct tegra194_cbb_noc_data tegra194_bpmp_noc_data = {
2143
2143
.name = "bpmp-noc" ,
2144
2144
.erd_mask_inband_err = false,
2145
- .master_id = tegra194_master_id ,
2145
+ .initiator_id = tegra194_initiator_id ,
2146
2146
.noc_aperture = tegra194_bpmpnoc_apert_lookup ,
2147
2147
.max_aperture = ARRAY_SIZE (tegra194_bpmpnoc_apert_lookup ),
2148
2148
.routeid_initflow = tegra194_bpmpnoc_routeid_initflow ,
@@ -2154,7 +2154,7 @@ static struct tegra194_cbb_noc_data tegra194_bpmp_noc_data = {
2154
2154
static struct tegra194_cbb_noc_data tegra194_rce_noc_data = {
2155
2155
.name = "rce-noc" ,
2156
2156
.erd_mask_inband_err = false,
2157
- .master_id = tegra194_master_id ,
2157
+ .initiator_id = tegra194_initiator_id ,
2158
2158
.noc_aperture = tegra194_scenoc_apert_lookup ,
2159
2159
.max_aperture = ARRAY_SIZE (tegra194_scenoc_apert_lookup ),
2160
2160
.routeid_initflow = tegra194_scenoc_routeid_initflow ,
@@ -2166,7 +2166,7 @@ static struct tegra194_cbb_noc_data tegra194_rce_noc_data = {
2166
2166
static struct tegra194_cbb_noc_data tegra194_sce_noc_data = {
2167
2167
.name = "sce-noc" ,
2168
2168
.erd_mask_inband_err = false,
2169
- .master_id = tegra194_master_id ,
2169
+ .initiator_id = tegra194_initiator_id ,
2170
2170
.noc_aperture = tegra194_scenoc_apert_lookup ,
2171
2171
.max_aperture = ARRAY_SIZE (tegra194_scenoc_apert_lookup ),
2172
2172
.routeid_initflow = tegra194_scenoc_routeid_initflow ,
0 commit comments