5 #define WPR_HEADER_V0_FALCON_ID_INVALID 0xffffffff
10 #define WPR_HEADER_V0_STATUS_NONE 0
11 #define WPR_HEADER_V0_STATUS_COPY 1
12 #define WPR_HEADER_V0_STATUS_VALIDATION_CODE_FAILED 2
13 #define WPR_HEADER_V0_STATUS_VALIDATION_DATA_FAILED 3
14 #define WPR_HEADER_V0_STATUS_VALIDATION_DONE 4
15 #define WPR_HEADER_V0_STATUS_VALIDATION_SKIPPED 5
16 #define WPR_HEADER_V0_STATUS_BOOTSTRAP_READY 6
20 void wpr_header_dump(struct nvkm_subdev
*, const struct wpr_header
*);
22 struct wpr_header_v1
{
23 #define WPR_HEADER_V1_FALCON_ID_INVALID 0xffffffff
29 #define WPR_HEADER_V1_STATUS_NONE 0
30 #define WPR_HEADER_V1_STATUS_COPY 1
31 #define WPR_HEADER_V1_STATUS_VALIDATION_CODE_FAILED 2
32 #define WPR_HEADER_V1_STATUS_VALIDATION_DATA_FAILED 3
33 #define WPR_HEADER_V1_STATUS_VALIDATION_DONE 4
34 #define WPR_HEADER_V1_STATUS_VALIDATION_SKIPPED 5
35 #define WPR_HEADER_V1_STATUS_BOOTSTRAP_READY 6
36 #define WPR_HEADER_V1_STATUS_REVOCATION_CHECK_FAILED 7
40 void wpr_header_v1_dump(struct nvkm_subdev
*, const struct wpr_header_v1
*);
42 struct lsf_signature
{
50 struct lsf_signature_v1
{
56 u32 supports_versioning
;
59 u8 depmap
[11/*LSF_LSB_DEPMAP_SIZE*/ * 2 * 4];
63 struct lsb_header_tail
{
79 struct lsf_signature signature
;
80 struct lsb_header_tail tail
;
83 void lsb_header_dump(struct nvkm_subdev
*, struct lsb_header
*);
85 struct lsb_header_v1
{
86 struct lsf_signature_v1 signature
;
87 struct lsb_header_tail tail
;
90 void lsb_header_v1_dump(struct nvkm_subdev
*, struct lsb_header_v1
*);
92 struct flcn_acr_desc
{
94 u8 reserved_dmem
[0x200];
96 } ucode_reserved_space
;
112 u64 ucode_blob_base
__aligned(8);
121 void flcn_acr_desc_dump(struct nvkm_subdev
*, struct flcn_acr_desc
*);
123 struct flcn_acr_desc_v1
{
124 u8 reserved_dmem
[0x200];
128 u32 mmu_memory_range
;
138 u32 shadow_mem_start_addr
;
142 u64 ucode_blob_base
__aligned(8);
151 void flcn_acr_desc_v1_dump(struct nvkm_subdev
*, struct flcn_acr_desc_v1
*);