Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bdk/mem/mc_t210.h
1476 views
1
/*
2
* Copyright (c) 2014, NVIDIA Corporation.
3
* Copyright (c) 2018-2023, CTCaer
4
*
5
* This software is licensed under the terms of the GNU General Public
6
* License version 2, as published by the Free Software Foundation, and
7
* may be copied, distributed, and modified under those terms.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*/
14
15
#ifndef _MC_T210_H_
16
#define _MC_T210_H_
17
18
/*! MC SMMU registers */
19
#define MC_SMMU_CONFIG 0x10
20
#define MC_SMMU_TLB_CONFIG 0x14
21
#define MC_SMMU_PTC_CONFIG 0x18
22
#define MC_SMMU_PTB_ASID 0x1c
23
#define MC_SMMU_PTB_DATA 0x20
24
#define MC_SMMU_TLB_FLUSH 0x30
25
#define MC_SMMU_PTC_FLUSH 0x34
26
#define MC_SMMU_ASID_SECURITY 0x38
27
#define MC_SMMU_TRANSLATION_ENABLE_0 0x228
28
#define MC_SMMU_TRANSLATION_ENABLE_1 0x22c
29
#define MC_SMMU_TRANSLATION_ENABLE_2 0x230
30
#define MC_SMMU_TRANSLATION_ENABLE_3 0x234
31
#define MC_SMMU_TRANSLATION_ENABLE_4 0xb98
32
33
/*! MC General registers */
34
#define MC_INTSTATUS 0x0
35
#define MC_INTMASK 0x4
36
#define MC_ERR_STATUS 0x8
37
#define MC_ERR_ADR 0xc
38
#define MC_PCFIFO_CLIENT_CONFIG0 0xdd0
39
#define MC_PCFIFO_CLIENT_CONFIG1 0xdd4
40
#define MC_PCFIFO_CLIENT_CONFIG2 0xdd8
41
#define MC_PCFIFO_CLIENT_CONFIG3 0xddc
42
#define MC_PCFIFO_CLIENT_CONFIG4 0xde0
43
#define MC_EMEM_CFG 0x50
44
#define MC_EMEM_ADR_CFG 0x54
45
#define MC_EMEM_ADR_CFG_DEV0 0x58
46
#define MC_EMEM_ADR_CFG_DEV1 0x5c
47
#define MC_EMEM_ADR_CFG_CHANNEL_MASK 0x60
48
#define MC_EMEM_ADR_CFG_BANK_MASK_0 0x64
49
#define MC_EMEM_ADR_CFG_BANK_MASK_1 0x68
50
#define MC_EMEM_ADR_CFG_BANK_MASK_2 0x6c
51
#define MC_SECURITY_CFG0 0x70
52
#define MC_SECURITY_CFG1 0x74
53
#define MC_SECURITY_CFG3 0x9bc
54
#define MC_SECURITY_RSV 0x7c
55
#define MC_EMEM_ARB_CFG 0x90
56
#define MC_EMEM_ARB_OUTSTANDING_REQ 0x94
57
#define MC_EMEM_ARB_TIMING_RCD 0x98
58
#define MC_EMEM_ARB_TIMING_RP 0x9c
59
#define MC_EMEM_ARB_TIMING_RC 0xa0
60
#define MC_EMEM_ARB_TIMING_RAS 0xa4
61
#define MC_EMEM_ARB_TIMING_FAW 0xa8
62
#define MC_EMEM_ARB_TIMING_RRD 0xac
63
#define MC_EMEM_ARB_TIMING_RAP2PRE 0xb0
64
#define MC_EMEM_ARB_TIMING_WAP2PRE 0xb4
65
#define MC_EMEM_ARB_TIMING_R2R 0xb8
66
#define MC_EMEM_ARB_TIMING_W2W 0xbc
67
#define MC_EMEM_ARB_TIMING_R2W 0xc0
68
#define MC_EMEM_ARB_TIMING_W2R 0xc4
69
#define MC_EMEM_ARB_TIMING_RFCPB 0x6c0
70
#define MC_EMEM_ARB_TIMING_CCDMW 0x6c4
71
#define MC_EMEM_ARB_REFPB_HP_CTRL 0x6f0
72
#define MC_EMEM_ARB_REFPB_BANK_CTRL 0x6f4
73
#define MC_EMEM_ARB_DA_TURNS 0xd0
74
#define MC_EMEM_ARB_DA_COVERS 0xd4
75
#define MC_EMEM_ARB_MISC0 0xd8
76
#define MC_EMEM_ARB_MISC1 0xdc
77
#define MC_EMEM_ARB_MISC2 0xc8
78
#define MC_EMEM_ARB_RING1_THROTTLE 0xe0
79
#define MC_EMEM_ARB_RING3_THROTTLE 0xe4
80
#define MC_EMEM_ARB_NISO_THROTTLE 0x6b0
81
#define MC_EMEM_ARB_OVERRIDE 0xe8
82
#define MC_EMEM_ARB_RSV 0xec
83
#define MC_CLKEN_OVERRIDE 0xf4
84
#define MC_TIMING_CONTROL_DBG 0xf8
85
#define MC_TIMING_CONTROL 0xfc
86
#define MC_STAT_CONTROL 0x100
87
#define MC_STAT_STATUS 0x104
88
#define MC_STAT_EMC_CLOCK_LIMIT 0x108
89
#define MC_STAT_EMC_CLOCK_LIMIT_MSBS 0x10c
90
#define MC_STAT_EMC_CLOCKS 0x110
91
#define MC_STAT_EMC_CLOCKS_MSBS 0x114
92
#define MC_STAT_EMC_FILTER_SET0_ADR_LIMIT_LO 0x118
93
#define MC_STAT_EMC_FILTER_SET1_ADR_LIMIT_LO 0x158
94
#define MC_STAT_EMC_FILTER_SET0_ADR_LIMIT_HI 0x11c
95
#define MC_STAT_EMC_FILTER_SET1_ADR_LIMIT_HI 0x15c
96
#define MC_STAT_EMC_FILTER_SET0_ADR_LIMIT_UPPER 0xa20
97
#define MC_STAT_EMC_FILTER_SET1_ADR_LIMIT_UPPER 0xa24
98
#define MC_STAT_EMC_FILTER_SET0_VIRTUAL_ADR_LIMIT_LO 0x198
99
#define MC_STAT_EMC_FILTER_SET1_VIRTUAL_ADR_LIMIT_LO 0x1a8
100
#define MC_STAT_EMC_FILTER_SET0_VIRTUAL_ADR_LIMIT_HI 0x19c
101
#define MC_STAT_EMC_FILTER_SET1_VIRTUAL_ADR_LIMIT_HI 0x1ac
102
#define MC_STAT_EMC_FILTER_SET0_VIRTUAL_ADR_LIMIT_UPPER 0xa28
103
#define MC_STAT_EMC_FILTER_SET1_VIRTUAL_ADR_LIMIT_UPPER 0xa2c
104
#define MC_STAT_EMC_FILTER_SET0_ASID 0x1a0
105
#define MC_STAT_EMC_FILTER_SET1_ASID 0x1b0
106
#define MC_STAT_EMC_FILTER_SET0_SLACK_LIMIT 0x120
107
#define MC_STAT_EMC_FILTER_SET1_SLACK_LIMIT 0x160
108
#define MC_STAT_EMC_FILTER_SET0_CLIENT_0 0x128
109
#define MC_STAT_EMC_FILTER_SET1_CLIENT_0 0x168
110
#define MC_STAT_EMC_FILTER_SET0_CLIENT_1 0x12c
111
#define MC_STAT_EMC_FILTER_SET1_CLIENT_1 0x16c
112
#define MC_STAT_EMC_FILTER_SET0_CLIENT_2 0x130
113
#define MC_STAT_EMC_FILTER_SET1_CLIENT_2 0x170
114
#define MC_STAT_EMC_FILTER_SET0_CLIENT_3 0x134
115
#define MC_STAT_EMC_FILTER_SET0_CLIENT_4 0xb88
116
#define MC_STAT_EMC_FILTER_SET1_CLIENT_3 0x174
117
#define MC_STAT_EMC_FILTER_SET1_CLIENT_4 0xb8c
118
#define MC_STAT_EMC_SET0_COUNT 0x138
119
#define MC_STAT_EMC_SET0_COUNT_MSBS 0x13c
120
#define MC_STAT_EMC_SET1_COUNT 0x178
121
#define MC_STAT_EMC_SET1_COUNT_MSBS 0x17c
122
#define MC_STAT_EMC_SET0_SLACK_ACCUM 0x140
123
#define MC_STAT_EMC_SET0_SLACK_ACCUM_MSBS 0x144
124
#define MC_STAT_EMC_SET1_SLACK_ACCUM 0x180
125
#define MC_STAT_EMC_SET1_SLACK_ACCUM_MSBS 0x184
126
#define MC_STAT_EMC_SET0_HISTO_COUNT 0x148
127
#define MC_STAT_EMC_SET0_HISTO_COUNT_MSBS 0x14c
128
#define MC_STAT_EMC_SET1_HISTO_COUNT 0x188
129
#define MC_STAT_EMC_SET1_HISTO_COUNT_MSBS 0x18c
130
#define MC_STAT_EMC_SET0_MINIMUM_SLACK_OBSERVED 0x150
131
#define MC_STAT_EMC_SET1_MINIMUM_SLACK_OBSERVED 0x190
132
#define MC_STAT_EMC_SET0_IDLE_CYCLE_COUNT 0x1b8
133
#define MC_STAT_EMC_SET0_IDLE_CYCL_COUNT_MSBS 0x1bc
134
#define MC_STAT_EMC_SET1_IDLE_CYCLE_COUNT 0x1c8
135
#define MC_STAT_EMC_SET1_IDLE_CYCL_COUNT_MSBS 0x1cc
136
#define MC_STAT_EMC_SET0_IDLE_CYCLE_PARTITION_SELECT 0x1c0
137
#define MC_STAT_EMC_SET1_IDLE_CYCLE_PARTITION_SELECT 0x1d0
138
#define MC_CLIENT_HOTRESET_CTRL 0x200
139
#define MC_CLIENT_HOTRESET_CTRL_1 0x970
140
#define MC_CLIENT_HOTRESET_STATUS 0x204
141
#define MC_CLIENT_HOTRESET_STATUS_1 0x974
142
#define MC_EMEM_ARB_ISOCHRONOUS_0 0x208
143
#define MC_EMEM_ARB_ISOCHRONOUS_1 0x20c
144
#define MC_EMEM_ARB_ISOCHRONOUS_2 0x210
145
#define MC_EMEM_ARB_ISOCHRONOUS_3 0x214
146
#define MC_EMEM_ARB_ISOCHRONOUS_4 0xb94
147
#define MC_EMEM_ARB_HYSTERESIS_0 0x218
148
#define MC_EMEM_ARB_HYSTERESIS_1 0x21c
149
#define MC_EMEM_ARB_HYSTERESIS_2 0x220
150
#define MC_EMEM_ARB_HYSTERESIS_3 0x224
151
#define MC_EMEM_ARB_HYSTERESIS_4 0xb84
152
#define MC_EMEM_ARB_DHYSTERESIS_0 0xbb0
153
#define MC_EMEM_ARB_DHYSTERESIS_1 0xbb4
154
#define MC_EMEM_ARB_DHYSTERESIS_2 0xbb8
155
#define MC_EMEM_ARB_DHYSTERESIS_3 0xbbc
156
#define MC_EMEM_ARB_DHYSTERESIS_4 0xbc0
157
#define MC_EMEM_ARB_DHYST_CTRL 0xbcc
158
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_0 0xbd0
159
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_1 0xbd4
160
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_2 0xbd8
161
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_3 0xbdc
162
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_4 0xbe0
163
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_5 0xbe4
164
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_6 0xbe8
165
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_7 0xbec
166
#define MC_RESERVED_RSV 0x3fc
167
#define MC_DISB_EXTRA_SNAP_LEVELS 0x408
168
#define MC_APB_EXTRA_SNAP_LEVELS 0x2a4
169
#define MC_AHB_EXTRA_SNAP_LEVELS 0x2a0
170
#define MC_USBD_EXTRA_SNAP_LEVELS 0xa18
171
#define MC_ISP_EXTRA_SNAP_LEVELS 0xa08
172
#define MC_AUD_EXTRA_SNAP_LEVELS 0xa10
173
#define MC_MSE_EXTRA_SNAP_LEVELS 0x40c
174
#define MC_GK2_EXTRA_SNAP_LEVELS 0xa40
175
#define MC_A9AVPPC_EXTRA_SNAP_LEVELS 0x414
176
#define MC_FTOP_EXTRA_SNAP_LEVELS 0x2bc
177
#define MC_JPG_EXTRA_SNAP_LEVELS 0xa3c
178
#define MC_HOST_EXTRA_SNAP_LEVELS 0xa14
179
#define MC_SAX_EXTRA_SNAP_LEVELS 0x2c0
180
#define MC_DIS_EXTRA_SNAP_LEVELS 0x2ac
181
#define MC_VICPC_EXTRA_SNAP_LEVELS 0xa1c
182
#define MC_HDAPC_EXTRA_SNAP_LEVELS 0xa48
183
#define MC_AVP_EXTRA_SNAP_LEVELS 0x2a8
184
#define MC_USBX_EXTRA_SNAP_LEVELS 0x404
185
#define MC_PCX_EXTRA_SNAP_LEVELS 0x2b8
186
#define MC_SD_EXTRA_SNAP_LEVELS 0xa04
187
#define MC_DFD_EXTRA_SNAP_LEVELS 0xa4c
188
#define MC_VE_EXTRA_SNAP_LEVELS 0x2d8
189
#define MC_GK_EXTRA_SNAP_LEVELS 0xa00
190
#define MC_VE2_EXTRA_SNAP_LEVELS 0x410
191
#define MC_SDM_EXTRA_SNAP_LEVELS 0xa44
192
#define MC_VIDEO_PROTECT_BOM 0x648
193
#define MC_VIDEO_PROTECT_SIZE_MB 0x64c
194
#define MC_VIDEO_PROTECT_BOM_ADR_HI 0x978
195
#define MC_VIDEO_PROTECT_REG_CTRL 0x650
196
#define MC_ERR_VPR_STATUS 0x654
197
#define MC_ERR_VPR_ADR 0x658
198
#define MC_VIDEO_PROTECT_VPR_OVERRIDE 0x418
199
#define MC_VIDEO_PROTECT_VPR_OVERRIDE1 0x590
200
#define MC_IRAM_BOM 0x65c
201
#define MC_IRAM_TOM 0x660
202
#define MC_IRAM_ADR_HI 0x980
203
#define MC_IRAM_REG_CTRL 0x964
204
#define MC_EMEM_CFG_ACCESS_CTRL 0x664
205
#define MC_TZ_SECURITY_CTRL 0x668
206
#define MC_EMEM_ARB_OUTSTANDING_REQ_RING3 0x66c
207
#define MC_EMEM_ARB_OUTSTANDING_REQ_NISO 0x6b4
208
#define MC_EMEM_ARB_RING0_THROTTLE_MASK 0x6bc
209
#define MC_EMEM_ARB_NISO_THROTTLE_MASK 0x6b8
210
#define MC_EMEM_ARB_NISO_THROTTLE_MASK_1 0xb80
211
#define MC_SEC_CARVEOUT_BOM 0x670
212
#define MC_SEC_CARVEOUT_SIZE_MB 0x674
213
#define MC_SEC_CARVEOUT_ADR_HI 0x9d4
214
#define MC_SEC_CARVEOUT_REG_CTRL 0x678
215
#define MC_ERR_SEC_STATUS 0x67c
216
#define MC_ERR_SEC_ADR 0x680
217
#define MC_PC_IDLE_CLOCK_GATE_CONFIG 0x684
218
#define MC_STUTTER_CONTROL 0x688
219
#define MC_RESERVED_RSV_1 0x958
220
#define MC_DVFS_PIPE_SELECT 0x95c
221
#define MC_AHB_PTSA_MIN 0x4e0
222
#define MC_AUD_PTSA_MIN 0x54c
223
#define MC_MLL_MPCORER_PTSA_RATE 0x44c
224
#define MC_RING2_PTSA_RATE 0x440
225
#define MC_USBD_PTSA_RATE 0x530
226
#define MC_USBX_PTSA_MIN 0x528
227
#define MC_USBD_PTSA_MIN 0x534
228
#define MC_APB_PTSA_MAX 0x4f0
229
#define MC_JPG_PTSA_RATE 0x584
230
#define MC_DIS_PTSA_MIN 0x420
231
#define MC_AVP_PTSA_MAX 0x4fc
232
#define MC_AVP_PTSA_RATE 0x4f4
233
#define MC_RING1_PTSA_MIN 0x480
234
#define MC_DIS_PTSA_MAX 0x424
235
#define MC_SD_PTSA_MAX 0x4d8
236
#define MC_MSE_PTSA_RATE 0x4c4
237
#define MC_VICPC_PTSA_MIN 0x558
238
#define MC_PCX_PTSA_MAX 0x4b4
239
#define MC_ISP_PTSA_RATE 0x4a0
240
#define MC_A9AVPPC_PTSA_MIN 0x48c
241
#define MC_RING2_PTSA_MAX 0x448
242
#define MC_AUD_PTSA_RATE 0x548
243
#define MC_HOST_PTSA_MIN 0x51c
244
#define MC_MLL_MPCORER_PTSA_MAX 0x454
245
#define MC_SD_PTSA_MIN 0x4d4
246
#define MC_RING1_PTSA_RATE 0x47c
247
#define MC_JPG_PTSA_MIN 0x588
248
#define MC_HDAPC_PTSA_MIN 0x62c
249
#define MC_AVP_PTSA_MIN 0x4f8
250
#define MC_JPG_PTSA_MAX 0x58c
251
#define MC_VE_PTSA_MAX 0x43c
252
#define MC_DFD_PTSA_MAX 0x63c
253
#define MC_VICPC_PTSA_RATE 0x554
254
#define MC_GK_PTSA_MAX 0x544
255
#define MC_VICPC_PTSA_MAX 0x55c
256
#define MC_SDM_PTSA_MAX 0x624
257
#define MC_SAX_PTSA_RATE 0x4b8
258
#define MC_PCX_PTSA_MIN 0x4b0
259
#define MC_APB_PTSA_MIN 0x4ec
260
#define MC_GK2_PTSA_MIN 0x614
261
#define MC_PCX_PTSA_RATE 0x4ac
262
#define MC_RING1_PTSA_MAX 0x484
263
#define MC_HDAPC_PTSA_RATE 0x628
264
#define MC_MLL_MPCORER_PTSA_MIN 0x450
265
#define MC_GK2_PTSA_MAX 0x618
266
#define MC_AUD_PTSA_MAX 0x550
267
#define MC_GK2_PTSA_RATE 0x610
268
#define MC_ISP_PTSA_MAX 0x4a8
269
#define MC_DISB_PTSA_RATE 0x428
270
#define MC_VE2_PTSA_MAX 0x49c
271
#define MC_DFD_PTSA_MIN 0x638
272
#define MC_FTOP_PTSA_RATE 0x50c
273
#define MC_A9AVPPC_PTSA_RATE 0x488
274
#define MC_VE2_PTSA_MIN 0x498
275
#define MC_USBX_PTSA_MAX 0x52c
276
#define MC_DIS_PTSA_RATE 0x41c
277
#define MC_USBD_PTSA_MAX 0x538
278
#define MC_A9AVPPC_PTSA_MAX 0x490
279
#define MC_USBX_PTSA_RATE 0x524
280
#define MC_FTOP_PTSA_MAX 0x514
281
#define MC_HDAPC_PTSA_MAX 0x630
282
#define MC_SD_PTSA_RATE 0x4d0
283
#define MC_DFD_PTSA_RATE 0x634
284
#define MC_FTOP_PTSA_MIN 0x510
285
#define MC_SDM_PTSA_RATE 0x61c
286
#define MC_AHB_PTSA_RATE 0x4dc
287
#define MC_SMMU_SMMU_PTSA_MAX 0x460
288
#define MC_RING2_PTSA_MIN 0x444
289
#define MC_SDM_PTSA_MIN 0x620
290
#define MC_APB_PTSA_RATE 0x4e8
291
#define MC_MSE_PTSA_MIN 0x4c8
292
#define MC_HOST_PTSA_RATE 0x518
293
#define MC_VE_PTSA_RATE 0x434
294
#define MC_AHB_PTSA_MAX 0x4e4
295
#define MC_SAX_PTSA_MIN 0x4bc
296
#define MC_SMMU_SMMU_PTSA_MIN 0x45c
297
#define MC_ISP_PTSA_MIN 0x4a4
298
#define MC_HOST_PTSA_MAX 0x520
299
#define MC_SAX_PTSA_MAX 0x4c0
300
#define MC_VE_PTSA_MIN 0x438
301
#define MC_GK_PTSA_MIN 0x540
302
#define MC_MSE_PTSA_MAX 0x4cc
303
#define MC_DISB_PTSA_MAX 0x430
304
#define MC_DISB_PTSA_MIN 0x42c
305
#define MC_SMMU_SMMU_PTSA_RATE 0x458
306
#define MC_VE2_PTSA_RATE 0x494
307
#define MC_GK_PTSA_RATE 0x53c
308
#define MC_PTSA_GRANT_DECREMENT 0x960
309
#define MC_LATENCY_ALLOWANCE_AVPC_0 0x2e4
310
#define MC_LATENCY_ALLOWANCE_AXIAP_0 0x3a0
311
#define MC_LATENCY_ALLOWANCE_XUSB_1 0x380
312
#define MC_LATENCY_ALLOWANCE_ISP2B_0 0x384
313
#define MC_LATENCY_ALLOWANCE_SDMMCAA_0 0x3bc
314
#define MC_LATENCY_ALLOWANCE_SDMMCA_0 0x3b8
315
#define MC_LATENCY_ALLOWANCE_ISP2_0 0x370
316
#define MC_LATENCY_ALLOWANCE_SE_0 0x3e0
317
#define MC_LATENCY_ALLOWANCE_ISP2_1 0x374
318
#define MC_LATENCY_ALLOWANCE_DC_0 0x2e8
319
#define MC_LATENCY_ALLOWANCE_VIC_0 0x394
320
#define MC_LATENCY_ALLOWANCE_DCB_1 0x2f8
321
#define MC_LATENCY_ALLOWANCE_NVDEC_0 0x3d8
322
#define MC_LATENCY_ALLOWANCE_DCB_2 0x2fc
323
#define MC_LATENCY_ALLOWANCE_TSEC_0 0x390
324
#define MC_LATENCY_ALLOWANCE_DC_2 0x2f0
325
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0AB 0x694
326
#define MC_LATENCY_ALLOWANCE_PPCS_1 0x348
327
#define MC_LATENCY_ALLOWANCE_XUSB_0 0x37c
328
#define MC_LATENCY_ALLOWANCE_PPCS_0 0x344
329
#define MC_LATENCY_ALLOWANCE_TSECB_0 0x3f0
330
#define MC_LATENCY_ALLOWANCE_AFI_0 0x2e0
331
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0B 0x698
332
#define MC_LATENCY_ALLOWANCE_DC_1 0x2ec
333
#define MC_LATENCY_ALLOWANCE_APE_0 0x3dc
334
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0C 0x6a0
335
#define MC_LATENCY_ALLOWANCE_A9AVP_0 0x3a4
336
#define MC_LATENCY_ALLOWANCE_GPU2_0 0x3e8
337
#define MC_LATENCY_ALLOWANCE_DCB_0 0x2f4
338
#define MC_LATENCY_ALLOWANCE_HC_1 0x314
339
#define MC_LATENCY_ALLOWANCE_SDMMC_0 0x3c0
340
#define MC_LATENCY_ALLOWANCE_NVJPG_0 0x3e4
341
#define MC_LATENCY_ALLOWANCE_PTC_0 0x34c
342
#define MC_LATENCY_ALLOWANCE_ETR_0 0x3ec
343
#define MC_LATENCY_ALLOWANCE_MPCORE_0 0x320
344
#define MC_LATENCY_ALLOWANCE_VI2_0 0x398
345
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0BB 0x69c
346
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0CB 0x6a4
347
#define MC_LATENCY_ALLOWANCE_SATA_0 0x350
348
#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0A 0x690
349
#define MC_LATENCY_ALLOWANCE_HC_0 0x310
350
#define MC_LATENCY_ALLOWANCE_DC_3 0x3c8
351
#define MC_LATENCY_ALLOWANCE_GPU_0 0x3ac
352
#define MC_LATENCY_ALLOWANCE_SDMMCAB_0 0x3c4
353
#define MC_LATENCY_ALLOWANCE_ISP2B_1 0x388
354
#define MC_LATENCY_ALLOWANCE_NVENC_0 0x328
355
#define MC_LATENCY_ALLOWANCE_HDA_0 0x318
356
#define MC_MIN_LENGTH_APE_0 0xb34
357
#define MC_MIN_LENGTH_DCB_2 0x8a8
358
#define MC_MIN_LENGTH_A9AVP_0 0x950
359
#define MC_MIN_LENGTH_TSEC_0 0x93c
360
#define MC_MIN_LENGTH_DC_1 0x898
361
#define MC_MIN_LENGTH_AXIAP_0 0x94c
362
#define MC_MIN_LENGTH_ISP2B_0 0x930
363
#define MC_MIN_LENGTH_VI2_0 0x944
364
#define MC_MIN_LENGTH_DCB_0 0x8a0
365
#define MC_MIN_LENGTH_DCB_1 0x8a4
366
#define MC_MIN_LENGTH_PPCS_1 0x8f4
367
#define MC_MIN_LENGTH_NVJPG_0 0xb3c
368
#define MC_MIN_LENGTH_HDA_0 0x8c4
369
#define MC_MIN_LENGTH_NVENC_0 0x8d4
370
#define MC_MIN_LENGTH_SDMMC_0 0xb18
371
#define MC_MIN_LENGTH_ISP2B_1 0x934
372
#define MC_MIN_LENGTH_HC_1 0x8c0
373
#define MC_MIN_LENGTH_DC_3 0xb20
374
#define MC_MIN_LENGTH_AVPC_0 0x890
375
#define MC_MIN_LENGTH_VIC_0 0x940
376
#define MC_MIN_LENGTH_ISP2_0 0x91c
377
#define MC_MIN_LENGTH_HC_0 0x8bc
378
#define MC_MIN_LENGTH_SE_0 0xb38
379
#define MC_MIN_LENGTH_NVDEC_0 0xb30
380
#define MC_MIN_LENGTH_SATA_0 0x8fc
381
#define MC_MIN_LENGTH_DC_0 0x894
382
#define MC_MIN_LENGTH_XUSB_1 0x92c
383
#define MC_MIN_LENGTH_DC_2 0x89c
384
#define MC_MIN_LENGTH_SDMMCAA_0 0xb14
385
#define MC_MIN_LENGTH_GPU_0 0xb04
386
#define MC_MIN_LENGTH_ETR_0 0xb44
387
#define MC_MIN_LENGTH_AFI_0 0x88c
388
#define MC_MIN_LENGTH_PPCS_0 0x8f0
389
#define MC_MIN_LENGTH_ISP2_1 0x920
390
#define MC_MIN_LENGTH_XUSB_0 0x928
391
#define MC_MIN_LENGTH_MPCORE_0 0x8cc
392
#define MC_MIN_LENGTH_TSECB_0 0xb48
393
#define MC_MIN_LENGTH_SDMMCA_0 0xb10
394
#define MC_MIN_LENGTH_GPU2_0 0xb40
395
#define MC_MIN_LENGTH_SDMMCAB_0 0xb1c
396
#define MC_MIN_LENGTH_PTC_0 0x8f8
397
#define MC_EMEM_ARB_OVERRIDE_1 0x968
398
#define MC_VIDEO_PROTECT_GPU_OVERRIDE_0 0x984
399
#define MC_VIDEO_PROTECT_GPU_OVERRIDE_1 0x988
400
#define MC_EMEM_ARB_STATS_0 0x990
401
#define MC_EMEM_ARB_STATS_1 0x994
402
#define MC_MTS_CARVEOUT_BOM 0x9a0
403
#define MC_MTS_CARVEOUT_SIZE_MB 0x9a4
404
#define MC_MTS_CARVEOUT_ADR_HI 0x9a8
405
#define MC_MTS_CARVEOUT_REG_CTRL 0x9ac
406
#define MC_ERR_MTS_STATUS 0x9b0
407
#define MC_ERR_MTS_ADR 0x9b4
408
#define MC_ERR_GENERALIZED_CARVEOUT_STATUS 0xc00
409
#define MC_ERR_GENERALIZED_CARVEOUT_ADR 0xc04
410
#define MC_SECURITY_CARVEOUT5_CLIENT_FORCE_INTERNAL_ACCESS2 0xd74
411
#define MC_SECURITY_CARVEOUT4_CFG0 0xcf8
412
#define MC_SECURITY_CARVEOUT4_CLIENT_ACCESS2 0xd10
413
#define MC_SECURITY_CARVEOUT4_SIZE_128KB 0xd04
414
#define MC_SECURITY_CARVEOUT1_CLIENT_ACCESS4 0xc28
415
#define MC_SECURITY_CARVEOUT1_CLIENT_FORCE_INTERNAL_ACCESS1 0xc30
416
#define MC_SECURITY_CARVEOUT2_CLIENT_FORCE_INTERNAL_ACCESS4 0xc8c
417
#define MC_SECURITY_CARVEOUT4_CLIENT_FORCE_INTERNAL_ACCESS0 0xd1c
418
#define MC_SECURITY_CARVEOUT5_CLIENT_FORCE_INTERNAL_ACCESS1 0xd70
419
#define MC_SECURITY_CARVEOUT1_CLIENT_FORCE_INTERNAL_ACCESS0 0xc2c
420
#define MC_SECURITY_CARVEOUT5_CLIENT_FORCE_INTERNAL_ACCESS4 0xd7c
421
#define MC_SECURITY_CARVEOUT3_SIZE_128KB 0xcb4
422
#define MC_SECURITY_CARVEOUT2_CFG0 0xc58
423
#define MC_SECURITY_CARVEOUT1_CFG0 0xc08
424
#define MC_SECURITY_CARVEOUT2_CLIENT_FORCE_INTERNAL_ACCESS2 0xc84
425
#define MC_SECURITY_CARVEOUT2_CLIENT_ACCESS0 0xc68
426
#define MC_SECURITY_CARVEOUT3_BOM 0xcac
427
#define MC_SECURITY_CARVEOUT2_CLIENT_ACCESS2 0xc70
428
#define MC_SECURITY_CARVEOUT5_CLIENT_FORCE_INTERNAL_ACCESS3 0xd78
429
#define MC_SECURITY_CARVEOUT2_CLIENT_FORCE_INTERNAL_ACCESS0 0xc7c
430
#define MC_SECURITY_CARVEOUT4_CLIENT_ACCESS4 0xd18
431
#define MC_SECURITY_CARVEOUT3_CLIENT_ACCESS1 0xcbc
432
#define MC_SECURITY_CARVEOUT1_CLIENT_FORCE_INTERNAL_ACCESS3 0xc38
433
#define MC_SECURITY_CARVEOUT1_CLIENT_FORCE_INTERNAL_ACCESS2 0xc34
434
#define MC_SECURITY_CARVEOUT3_CLIENT_ACCESS2 0xcc0
435
#define MC_SECURITY_CARVEOUT5_CLIENT_ACCESS2 0xd60
436
#define MC_SECURITY_CARVEOUT3_CFG0 0xca8
437
#define MC_SECURITY_CARVEOUT3_CLIENT_ACCESS0 0xcb8
438
#define MC_SECURITY_CARVEOUT2_CLIENT_FORCE_INTERNAL_ACCESS3 0xc88
439
#define MC_SECURITY_CARVEOUT2_SIZE_128KB 0xc64
440
#define MC_SECURITY_CARVEOUT5_BOM_HI 0xd50
441
#define MC_SECURITY_CARVEOUT1_SIZE_128KB 0xc14
442
#define MC_SECURITY_CARVEOUT4_CLIENT_ACCESS3 0xd14
443
#define MC_SECURITY_CARVEOUT1_BOM 0xc0c
444
#define MC_SECURITY_CARVEOUT4_CLIENT_FORCE_INTERNAL_ACCESS4 0xd2c
445
#define MC_SECURITY_CARVEOUT5_CLIENT_ACCESS4 0xd68
446
#define MC_SECURITY_CARVEOUT3_CLIENT_ACCESS4 0xcc8
447
#define MC_SECURITY_CARVEOUT5_CLIENT_ACCESS0 0xd58
448
#define MC_SECURITY_CARVEOUT4_CLIENT_FORCE_INTERNAL_ACCESS2 0xd24
449
#define MC_SECURITY_CARVEOUT3_CLIENT_ACCESS3 0xcc4
450
#define MC_SECURITY_CARVEOUT2_CLIENT_ACCESS4 0xc78
451
#define MC_SECURITY_CARVEOUT1_CLIENT_ACCESS1 0xc1c
452
#define MC_SECURITY_CARVEOUT1_CLIENT_ACCESS0 0xc18
453
#define MC_SECURITY_CARVEOUT4_CLIENT_FORCE_INTERNAL_ACCESS3 0xd28
454
#define MC_SECURITY_CARVEOUT5_CLIENT_ACCESS1 0xd5c
455
#define MC_SECURITY_CARVEOUT3_BOM_HI 0xcb0
456
#define MC_SECURITY_CARVEOUT3_CLIENT_FORCE_INTERNAL_ACCESS3 0xcd8
457
#define MC_SECURITY_CARVEOUT2_BOM_HI 0xc60
458
#define MC_SECURITY_CARVEOUT4_BOM_HI 0xd00
459
#define MC_SECURITY_CARVEOUT5_CLIENT_ACCESS3 0xd64
460
#define MC_SECURITY_CARVEOUT3_CLIENT_FORCE_INTERNAL_ACCESS4 0xcdc
461
#define MC_SECURITY_CARVEOUT2_CLIENT_FORCE_INTERNAL_ACCESS1 0xc80
462
#define MC_SECURITY_CARVEOUT5_SIZE_128KB 0xd54
463
#define MC_SECURITY_CARVEOUT4_CLIENT_FORCE_INTERNAL_ACCESS1 0xd20
464
#define MC_SECURITY_CARVEOUT3_CLIENT_FORCE_INTERNAL_ACCESS2 0xcd4
465
#define MC_SECURITY_CARVEOUT4_CLIENT_ACCESS1 0xd0c
466
#define MC_SECURITY_CARVEOUT2_CLIENT_ACCESS3 0xc74
467
#define MC_SECURITY_CARVEOUT3_CLIENT_FORCE_INTERNAL_ACCESS0 0xccc
468
#define MC_SECURITY_CARVEOUT4_BOM 0xcfc
469
#define MC_SECURITY_CARVEOUT5_CFG0 0xd48
470
#define MC_SECURITY_CARVEOUT2_BOM 0xc5c
471
#define MC_SECURITY_CARVEOUT5_BOM 0xd4c
472
#define MC_SECURITY_CARVEOUT1_CLIENT_ACCESS3 0xc24
473
#define MC_SECURITY_CARVEOUT5_CLIENT_FORCE_INTERNAL_ACCESS0 0xd6c
474
#define MC_SECURITY_CARVEOUT3_CLIENT_FORCE_INTERNAL_ACCESS1 0xcd0
475
#define MC_SECURITY_CARVEOUT1_BOM_HI 0xc10
476
#define MC_SECURITY_CARVEOUT1_CLIENT_ACCESS2 0xc20
477
#define MC_SECURITY_CARVEOUT1_CLIENT_FORCE_INTERNAL_ACCESS4 0xc3c
478
#define MC_SECURITY_CARVEOUT2_CLIENT_ACCESS1 0xc6c
479
#define MC_SECURITY_CARVEOUT4_CLIENT_ACCESS0 0xd08
480
#define MC_ERR_APB_ASID_UPDATE_STATUS 0x9d0
481
#define MC_UNTRANSLATED_REGION_CHECK 0x948
482
#define MC_DA_CONFIG0 0x9dc
483
484
/*! MC_SECURITY_CARVEOUTX_CLIENT_FORCE_INTERNAL_ACCESS0 */
485
#define SEC_CARVEOUT_CA0_R_PTCR BIT(0)
486
#define SEC_CARVEOUT_CA0_R_DISPLAY0A BIT(1)
487
#define SEC_CARVEOUT_CA0_R_DISPLAY0AB BIT(2)
488
#define SEC_CARVEOUT_CA0_R_DISPLAY0B BIT(3)
489
#define SEC_CARVEOUT_CA0_R_DISPLAY0BB BIT(4)
490
#define SEC_CARVEOUT_CA0_R_DISPLAY0C BIT(5)
491
#define SEC_CARVEOUT_CA0_R_DISPLAY0CB BIT(6)
492
#define SEC_CARVEOUT_CA0_R_AFI BIT(14)
493
#define SEC_CARVEOUT_CA0_R_BPMP_C BIT(15)
494
#define SEC_CARVEOUT_CA0_R_DISPLAYHC BIT(16)
495
#define SEC_CARVEOUT_CA0_R_DISPLAYHCB BIT(17)
496
#define SEC_CARVEOUT_CA0_R_HDA BIT(21)
497
#define SEC_CARVEOUT_CA0_R_HOST1XDMA BIT(22)
498
#define SEC_CARVEOUT_CA0_R_HOST1X BIT(23)
499
#define SEC_CARVEOUT_CA0_R_NVENC BIT(28)
500
#define SEC_CARVEOUT_CA0_R_PPCSAHBDMA BIT(29)
501
#define SEC_CARVEOUT_CA0_R_PPCSAHBSLV BIT(30)
502
#define SEC_CARVEOUT_CA0_R_SATAR BIT(31)
503
504
/*! MC_SECURITY_CARVEOUTX_CLIENT_FORCE_INTERNAL_ACCESS1 */
505
#define SEC_CARVEOUT_CA1_R_VDEBSEV BIT(2)
506
#define SEC_CARVEOUT_CA1_R_VDEMBE BIT(3)
507
#define SEC_CARVEOUT_CA1_R_VDEMCE BIT(4)
508
#define SEC_CARVEOUT_CA1_R_VDETPE BIT(5)
509
#define SEC_CARVEOUT_CA1_R_CCPLEXLP_C BIT(6)
510
#define SEC_CARVEOUT_CA1_R_CCPLEX_C BIT(7)
511
#define SEC_CARVEOUT_CA1_W_NVENC BIT(11)
512
#define SEC_CARVEOUT_CA1_W_AFI BIT(17)
513
#define SEC_CARVEOUT_CA1_W_BPMP_C BIT(18)
514
#define SEC_CARVEOUT_CA1_W_HDA BIT(21)
515
#define SEC_CARVEOUT_CA1_W_HOST1X BIT(22)
516
#define SEC_CARVEOUT_CA1_W_CCPLEXLP_C BIT(24)
517
#define SEC_CARVEOUT_CA1_W_CCPLEX_C BIT(25)
518
#define SEC_CARVEOUT_CA1_W_PPCSAHBDMA BIT(27)
519
#define SEC_CARVEOUT_CA1_W_PPCSAHBSLV BIT(28)
520
#define SEC_CARVEOUT_CA1_W_SATA BIT(29)
521
#define SEC_CARVEOUT_CA1_W_VDEBSEV BIT(30)
522
#define SEC_CARVEOUT_CA1_W_VDEDBG BIT(31)
523
524
/*! MC_SECURITY_CARVEOUTX_CLIENT_FORCE_INTERNAL_ACCESS2 */
525
#define SEC_CARVEOUT_CA2_W_VDEMBE BIT(0)
526
#define SEC_CARVEOUT_CA2_W_VDETPM BIT(1)
527
#define SEC_CARVEOUT_CA2_R_ISPRA BIT(4)
528
#define SEC_CARVEOUT_CA2_W_ISPWA BIT(6)
529
#define SEC_CARVEOUT_CA2_W_ISPWB BIT(7)
530
#define SEC_CARVEOUT_CA2_R_XUSB_HOST BIT(10)
531
#define SEC_CARVEOUT_CA2_W_XUSB_HOST BIT(11)
532
#define SEC_CARVEOUT_CA2_R_XUSB_DEV BIT(12)
533
#define SEC_CARVEOUT_CA2_W_XUSB_DEV BIT(13)
534
#define SEC_CARVEOUT_CA2_R_SE2 BIT(14)
535
#define SEC_CARVEOUT_CA2_W_SE2 BIT(16)
536
#define SEC_CARVEOUT_CA2_R_TSEC BIT(20)
537
#define SEC_CARVEOUT_CA2_W_TSEC BIT(21)
538
#define SEC_CARVEOUT_CA2_R_ADSP_SC BIT(22)
539
#define SEC_CARVEOUT_CA2_W_ADSP_SC BIT(23)
540
#define SEC_CARVEOUT_CA2_R_GPU BIT(24)
541
#define SEC_CARVEOUT_CA2_W_GPU BIT(25)
542
#define SEC_CARVEOUT_CA2_R_DISPLAYT BIT(26)
543
544
/*! MC_SECURITY_CARVEOUTX_CLIENT_FORCE_INTERNAL_ACCESS3 */
545
#define SEC_CARVEOUT_CA3_R_SDMMCA BIT(0)
546
#define SEC_CARVEOUT_CA3_R_SDMMCAA BIT(1)
547
#define SEC_CARVEOUT_CA3_R_SDMMC BIT(2)
548
#define SEC_CARVEOUT_CA3_R_SDMMCAB BIT(3)
549
#define SEC_CARVEOUT_CA3_W_SDMMCA BIT(4)
550
#define SEC_CARVEOUT_CA3_W_SDMMCAA BIT(5)
551
#define SEC_CARVEOUT_CA3_W_SDMMC BIT(6)
552
#define SEC_CARVEOUT_CA3_W_SDMMCAB BIT(7)
553
#define SEC_CARVEOUT_CA3_R_VIC BIT(12)
554
#define SEC_CARVEOUT_CA3_W_VIC BIT(13)
555
#define SEC_CARVEOUT_CA3_W_VIW BIT(18)
556
#define SEC_CARVEOUT_CA3_R_DISPLAYD BIT(19)
557
#define SEC_CARVEOUT_CA3_R_NVDEC BIT(24)
558
#define SEC_CARVEOUT_CA3_W_NVDEC BIT(25)
559
#define SEC_CARVEOUT_CA3_R_APE BIT(26)
560
#define SEC_CARVEOUT_CA3_W_APE BIT(27)
561
#define SEC_CARVEOUT_CA3_R_NVJPG BIT(30)
562
#define SEC_CARVEOUT_CA3_W_NVJPG BIT(31)
563
564
/*! MC_SECURITY_CARVEOUTX_CLIENT_FORCE_INTERNAL_ACCESS4 */
565
#define SEC_CARVEOUT_CA4_R_SE BIT(0)
566
#define SEC_CARVEOUT_CA4_W_SE BIT(1)
567
#define SEC_CARVEOUT_CA4_R_AXIAP BIT(2)
568
#define SEC_CARVEOUT_CA4_W_AXIAP BIT(3)
569
#define SEC_CARVEOUT_CA4_R_ETR BIT(4)
570
#define SEC_CARVEOUT_CA4_W_ETR BIT(5)
571
#define SEC_CARVEOUT_CA4_R_TSECB BIT(6)
572
#define SEC_CARVEOUT_CA4_W_TSECB BIT(7)
573
#define SEC_CARVEOUT_CA4_R_GPU2 BIT(8)
574
#define SEC_CARVEOUT_CA4_W_GPU2 BIT(9)
575
576
// MC_VIDEO_PROTECT_REG_CTRL
577
#define VPR_LOCK_MODE_SHIFT 0
578
#define VPR_CTRL_UNLOCKED (0 << VPR_LOCK_MODE_SHIFT)
579
#define VPR_CTRL_LOCKED (1 << VPR_LOCK_MODE_SHIFT)
580
#define VPR_PROTECT_MODE_SHIFT 1
581
#define SEC_CTRL_SECURE (0 << VPR_PROTECT_MODE_SHIFT)
582
#define VPR_CTRL_TZ_SECURE (1 << VPR_PROTECT_MODE_SHIFT)
583
584
// MC_SECURITY_CARVEOUTX_CFG0
585
// Mode of LOCK_MODE.
586
#define PROTECT_MODE_SHIFT 0
587
#define SEC_CARVEOUT_CFG_ALL_SECURE (0 << PROTECT_MODE_SHIFT)
588
#define SEC_CARVEOUT_CFG_TZ_SECURE (1 << PROTECT_MODE_SHIFT)
589
// Enables PROTECT_MODE.
590
#define LOCK_MODE_SHIFT 1
591
#define SEC_CARVEOUT_CFG_UNLOCKED (0 << LOCK_MODE_SHIFT)
592
#define SEC_CARVEOUT_CFG_LOCKED (1 << LOCK_MODE_SHIFT)
593
594
#define ADDRESS_TYPE_SHIFT 2
595
#define SEC_CARVEOUT_CFG_ANY_ADDRESS (0 << ADDRESS_TYPE_SHIFT)
596
#define SEC_CARVEOUT_CFG_UNTRANSLATED_ONLY (1 << ADDRESS_TYPE_SHIFT)
597
598
#define READ_ACCESS_LEVEL_SHIFT 3
599
#define SEC_CARVEOUT_CFG_RD_NS (1 << READ_ACCESS_LEVEL_SHIFT)
600
#define SEC_CARVEOUT_CFG_RD_SEC (2 << READ_ACCESS_LEVEL_SHIFT)
601
#define SEC_CARVEOUT_CFG_RD_FALCON_LS (4 << READ_ACCESS_LEVEL_SHIFT)
602
#define SEC_CARVEOUT_CFG_RD_FALCON_HS (8 << READ_ACCESS_LEVEL_SHIFT)
603
604
#define WRITE_ACCESS_LEVEL_SHIFT 7
605
#define SEC_CARVEOUT_CFG_WR_NS (1 << WRITE_ACCESS_LEVEL_SHIFT)
606
#define SEC_CARVEOUT_CFG_WR_SEC (2 << WRITE_ACCESS_LEVEL_SHIFT)
607
#define SEC_CARVEOUT_CFG_WR_FALCON_LS (4 << WRITE_ACCESS_LEVEL_SHIFT)
608
#define SEC_CARVEOUT_CFG_WR_FALCON_HS (8 << WRITE_ACCESS_LEVEL_SHIFT)
609
610
#define SEC_CARVEOUT_CFG_APERTURE_ID_MASK (3 << 11)
611
#define SEC_CARVEOUT_CFG_APERTURE_ID(id) ((id) << 11)
612
613
#define DISABLE_READ_CHECK_ACCESS_LEVEL_SHIFT 14
614
#define SEC_CARVEOUT_CFG_DIS_RD_CHECK_NS (1 << DISABLE_READ_CHECK_ACCESS_LEVEL_SHIFT)
615
#define SEC_CARVEOUT_CFG_DIS_RD_CHECK_SEC (2 << DISABLE_READ_CHECK_ACCESS_LEVEL_SHIFT)
616
#define SEC_CARVEOUT_CFG_DIS_RD_CHECK_FLCN_LS (4 << DISABLE_READ_CHECK_ACCESS_LEVEL_SHIFT)
617
#define SEC_CARVEOUT_CFG_DIS_RD_CHECK_FLCN_HS (8 << DISABLE_READ_CHECK_ACCESS_LEVEL_SHIFT)
618
619
#define DISABLE_WRITE_CHECK_ACCESS_LEVEL_SHIFT 18
620
#define SEC_CARVEOUT_CFG_DIS_WR_CHECK_NS (1 << DISABLE_WRITE_CHECK_ACCESS_LEVEL_SHIFT)
621
#define SEC_CARVEOUT_CFG_DIS_WR_CHECK_SEC (2 << DISABLE_WRITE_CHECK_ACCESS_LEVEL_SHIFT)
622
#define SEC_CARVEOUT_CFG_DIS_WR_CHECK_FLCN_LS (4 << DISABLE_WRITE_CHECK_ACCESS_LEVEL_SHIFT)
623
#define SEC_CARVEOUT_CFG_DIS_WR_CHECK_FLCN_HS (8 << DISABLE_WRITE_CHECK_ACCESS_LEVEL_SHIFT)
624
625
#define SEC_CARVEOUT_CFG_SEND_CFG_TO_GPU BIT(22)
626
627
#define SEC_CARVEOUT_CFG_TZ_GLOBAL_WR_EN_BYPASS_CHECK BIT(23)
628
#define SEC_CARVEOUT_CFG_TZ_GLOBAL_RD_EN_BYPASS_CHECK BIT(24)
629
630
#define SEC_CARVEOUT_CFG_ALLOW_APERTURE_ID_MISMATCH BIT(25)
631
#define SEC_CARVEOUT_CFG_FORCE_APERTURE_ID_MATCH BIT(26)
632
633
#define SEC_CARVEOUT_CFG_IS_WPR BIT(27)
634
635
#endif
636
637