Lines Matching +full:0 +full:- +full:job +full:- +full:ring
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2009-2011 Freescale Semiconductor, Inc.
25 for (it = sg; it && tlen > 0 ; it = sg_next(it)) { in caam_dump_sg()
36 buf = it_page + it->offset; in caam_dump_sg()
37 len = min_t(size_t, tlen, it->length); in caam_dump_sg()
40 tlen -= len; in caam_dump_sg()
66 { 0x00, "No error." },
67 …{ 0x01, "SGT Length Error. The descriptor is trying to read more data than is contained in the SGT…
68 { 0x02, "SGT Null Entry Error." },
69 { 0x03, "Job Ring Control Error. There is a bad value in the Job Ring Control register." },
70 { 0x04, "Invalid Descriptor Command. The Descriptor Command field is invalid." },
71 { 0x05, "Reserved." },
72 { 0x06, "Invalid KEY Command" },
73 { 0x07, "Invalid LOAD Command" },
74 { 0x08, "Invalid STORE Command" },
75 { 0x09, "Invalid OPERATION Command" },
76 { 0x0A, "Invalid FIFO LOAD Command" },
77 { 0x0B, "Invalid FIFO STORE Command" },
78 { 0x0C, "Invalid MOVE/MOVE_LEN Command" },
79 …0x0D, "Invalid JUMP Command. A nonlocal JUMP Command is invalid because the target is not a Job He…
80 { 0x0E, "Invalid MATH Command" },
81 { 0x0F, "Invalid SIGNATURE Command" },
82 …0x10, "Invalid Sequence Command. A SEQ IN PTR OR SEQ OUT PTR Command is invalid or a SEQ KEY, SEQ …
83 { 0x11, "Skip data type invalid. The type must be 0xE or 0xF."},
84 { 0x12, "Shared Descriptor Header Error" },
85 { 0x13, "Header Error. Invalid length or parity, or certain other problems." },
86 { 0x14, "Burster Error. Burster has gotten to an illegal state" },
87 …{ 0x15, "Context Register Length Error. The descriptor is trying to read or write past the end of …
88 { 0x16, "DMA Error" },
89 { 0x17, "Reserved." },
90 { 0x1A, "Job failed due to JR reset" },
91 { 0x1B, "Job failed due to Fail Mode" },
92 { 0x1C, "DECO Watchdog timer timeout error" },
93 …{ 0x1D, "DECO tried to copy a key from another DECO but the other DECO's Key Registers were locked…
94 { 0x1E, "DECO attempted to copy data from a DECO that had an unmasked Descriptor error" },
95 …{ 0x1F, "LIODN error. DECO was trying to share from itself or from another DECO but the two Non-SE…
96 { 0x20, "DECO has completed a reset initiated via the DRR register" },
97 …{ 0x21, "Nonce error. When using EKT (CCM) key encryption option in the FIFO STORE Command, the No…
98 …{ 0x22, "Meta data is too large (> 511 bytes) for TLS decap (input frame; block ciphers) and IPsec…
99 { 0x23, "Read Input Frame error" },
100 { 0x24, "JDKEK, TDKEK or TDSK not loaded error" },
101 { 0x80, "DNR (do not run) error" },
102 { 0x81, "undefined protocol command" },
103 { 0x82, "invalid setting in PDB" },
104 { 0x83, "Anti-replay LATE error" },
105 { 0x84, "Anti-replay REPLAY error" },
106 { 0x85, "Sequence number overflow" },
107 { 0x86, "Sigver invalid signature" },
108 { 0x87, "DSA Sign Illegal test descriptor" },
109 …0x88, "Protocol Format Error - A protocol has seen an error in the format of data received. When r…
110 …{ 0x89, "Protocol Size Error - A protocol has seen an error in size. When running RSA, pdb size N …
111 { 0xC1, "Blob Command error: Undefined mode" },
112 { 0xC2, "Blob Command error: Secure Memory Blob mode error" },
113 { 0xC4, "Blob Command error: Black Blob key or input size error" },
114 { 0xC5, "Blob Command error: Invalid key destination" },
115 { 0xC8, "Blob Command error: Trusted/Secure mode error" },
116 { 0xF0, "IPsec TTL or hop limit field either came in as 0, or was decremented to 0" },
117 { 0xF1, "3GPP HFN matches or exceeds the Threshold" },
124 { 0x00, "No error" },
125 { 0x1F, "Job terminated by FQ or ICID flush" },
126 { 0x20, "FD format error"},
127 { 0x21, "FD command format error"},
128 { 0x23, "FL format error"},
129 { 0x25, "CRJD specified in FD, but not enabled in FLC"},
130 { 0x30, "Max. buffer size too small"},
131 { 0x31, "DHR exceeds max. buffer size (allocate mode, S/G format)"},
132 { 0x32, "SGT exceeds max. buffer size (allocate mode, S/G format"},
133 { 0x33, "Size over/underflow (allocate mode)"},
134 { 0x34, "Size over/underflow (reuse mode)"},
135 { 0x35, "Length exceeds max. short length (allocate mode, S/G/ format)"},
136 { 0x36, "Memory footprint exceeds max. value (allocate mode, S/G/ format)"},
137 { 0x41, "SBC frame format not supported (allocate mode)"},
138 { 0x42, "Pool 0 invalid / pool 1 size < pool 0 size (allocate mode)"},
139 { 0x43, "Annotation output enabled but ASAR = 0 (allocate mode)"},
140 { 0x44, "Unsupported or reserved frame format or SGHR = 1 (reuse mode)"},
141 { 0x45, "DHR correction underflow (reuse mode, single buffer format)"},
142 { 0x46, "Annotation length exceeds offset (reuse mode)"},
143 { 0x48, "Annotation output enabled but ASA limited by ASAR (reuse mode)"},
144 { 0x49, "Data offset correction exceeds input frame data length (reuse mode)"},
145 { 0x4B, "Annotation output enabled but ASA cannot be expanded (frame list)"},
146 { 0x51, "Unsupported IF reuse mode"},
147 { 0x52, "Unsupported FL use mode"},
148 { 0x53, "Unsupported RJD use mode"},
149 { 0x54, "Unsupported inline descriptor use mode"},
150 { 0xC0, "Table buffer pool 0 depletion"},
151 { 0xC1, "Table buffer pool 1 depletion"},
152 { 0xC2, "Data buffer pool 0 depletion, no OF allocated"},
153 { 0xC3, "Data buffer pool 1 depletion, no OF allocated"},
154 { 0xC4, "Data buffer pool 0 depletion, partial OF allocated"},
155 { 0xC5, "Data buffer pool 1 depletion, partial OF allocated"},
156 { 0xD0, "FLC read error"},
157 { 0xD1, "FL read error"},
158 { 0xD2, "FL write error"},
159 { 0xD3, "OF SGT write error"},
160 { 0xD4, "PTA read error"},
161 { 0xD5, "PTA write error"},
162 { 0xD6, "OF SGT F-bit write error"},
163 { 0xD7, "ASA write error"},
164 { 0xE1, "FLC[ICR]=0 ICID error"},
165 { 0xE2, "FLC[ICR]=1 ICID error"},
166 { 0xE4, "source of ICID flush not trusted (BDI = 0)"},
193 "PKHA divide-by-zero error.",
229 const char *cha_str = "unidentified cha_id value 0x"; in report_ccb_status()
230 char cha_err_code[3] = { 0 }; in report_ccb_status()
231 const char *err_str = "unidentified err_id value 0x"; in report_ccb_status()
232 char err_err_code[3] = { 0 }; in report_ccb_status()
247 /* RNG-only error */ in report_ccb_status()
258 return -EBADMSG; in report_ccb_status()
264 return -EINVAL; in report_ccb_status()
273 return -EINVAL; in report_jump_status()
283 const char *err_str = "unidentified error value 0x"; in report_deco_status()
284 char err_err_code[3] = { 0 }; in report_deco_status()
292 for (i = 0; i < ARRAY_SIZE(desc_error_list); i++) in report_deco_status()
304 return -EINVAL; in report_deco_status()
311 const char *err_str = "unidentified error value 0x"; in report_qi_status()
312 char err_err_code[3] = { 0 }; in report_qi_status()
315 for (i = 0; i < ARRAY_SIZE(qi_error_list); i++) in report_qi_status()
327 return -EINVAL; in report_qi_status()
336 return -EINVAL; in report_jr_status()
345 return -EINVAL; in report_cond_code_status()
361 { report_jr_status, "Job Ring" }, in caam_strstatus()
387 return -EINVAL; in caam_strstatus()