1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) Marvell International Ltd. and its affiliates
4  */
5 
6 #ifndef __DDR3_PATTERNS_64_H
7 #define __DDR3_PATTERNS_64_H
8 
9 #define FAB_OPT		21
10 /*
11  * Patterns Declerations
12  */
13 
14 u32 wl_sup_pattern[LEN_WL_SUP_PATTERN] __aligned(32) = {
15 	0x04030201, 0x08070605, 0x0c0b0a09, 0x100f0e0d,
16 	0x14131211, 0x18171615, 0x1c1b1a19, 0x201f1e1d,
17 	0x24232221, 0x28272625, 0x2c2b2a29, 0x302f2e2d,
18 	0x34333231, 0x38373635, 0x3c3b3a39, 0x403f3e3d,
19 	0x44434241, 0x48474645, 0x4c4b4a49, 0x504f4e4d,
20 	0x54535251, 0x58575655, 0x5c5b5a59, 0x605f5e5d,
21 	0x64636261, 0x68676665, 0x6c6b6a69, 0x706f6e6d,
22 	0x74737271, 0x78777675, 0x7c7b7a79, 0x807f7e7d
23 };
24 
25 u32 pbs_pattern_32b[2][LEN_PBS_PATTERN] __aligned(32) = {
26 	{
27 		0xaaaaaaaa, 0x55555555, 0xaaaaaaaa, 0x55555555,
28 		0xaaaaaaaa, 0x55555555, 0xaaaaaaaa, 0x55555555,
29 		0xaaaaaaaa, 0x55555555, 0xaaaaaaaa, 0x55555555,
30 		0xaaaaaaaa, 0x55555555, 0xaaaaaaaa, 0x55555555
31 	},
32 	{
33 		0x55555555, 0xaaaaaaaa, 0x55555555, 0xaaaaaaaa,
34 		0x55555555, 0xaaaaaaaa, 0x55555555, 0xaaaaaaaa,
35 		0x55555555, 0xaaaaaaaa, 0x55555555, 0xaaaaaaaa,
36 		0x55555555, 0xaaaaaaaa, 0x55555555, 0xaaaaaaaa
37 	}
38 };
39 
40 u32 pbs_pattern_64b[2][LEN_PBS_PATTERN] __aligned(32) = {
41 	{
42 		0xaaaaaaaa, 0xaaaaaaaa, 0x55555555, 0x55555555,
43 		0xaaaaaaaa, 0xaaaaaaaa, 0x55555555, 0x55555555,
44 		0xaaaaaaaa, 0xaaaaaaaa, 0x55555555, 0x55555555,
45 		0xaaaaaaaa, 0xaaaaaaaa, 0x55555555, 0x55555555
46 	},
47 	{
48 		0x55555555, 0x55555555, 0xaaaaaaaa, 0xaaaaaaaa,
49 		0x55555555, 0x55555555, 0xaaaaaaaa, 0xaaaaaaaa,
50 		0x55555555, 0x55555555, 0xaaaaaaaa, 0xaaaaaaaa,
51 		0x55555555, 0x55555555, 0xaaaaaaaa, 0xaaaaaaaa
52 	}
53 };
54 
55 u32 rl_pattern[LEN_STD_PATTERN] __aligned(32) = {
56 	0x00000000, 0x00000000, 0x00000000, 0x00000000,
57 	0x00000000, 0x00000000, 0x00000000, 0x00000000,
58 	0x00000000, 0x00000000, 0x00000000, 0x00000000,
59 	0x01010101, 0x01010101, 0x01010101, 0x01010101
60 };
61 
62 u32 killer_pattern_32b[DQ_NUM][LEN_KILLER_PATTERN] __aligned(32) = {
63 	{
64 		0x01010101, 0x00000000, 0x01010101, 0xffffffff,
65 		0x01010101, 0x00000000, 0x01010101, 0xffffffff,
66 		0xfefefefe, 0xfefefefe, 0x01010101, 0xfefefefe,
67 		0xfefefefe, 0xfefefefe, 0x01010101, 0xfefefefe,
68 		0x01010101, 0xfefefefe, 0x01010101, 0x01010101,
69 		0x01010101, 0xfefefefe, 0x01010101, 0x01010101,
70 		0xfefefefe, 0x01010101, 0xfefefefe, 0x00000000,
71 		0xfefefefe, 0x01010101, 0xfefefefe, 0x00000000,
72 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
73 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
74 		0xffffffff, 0x00000000, 0xffffffff, 0x01010101,
75 		0xffffffff, 0x00000000, 0xffffffff, 0x01010101,
76 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
77 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
78 		0x00000000, 0x00000000, 0x00000000, 0xfefefefe,
79 		0x00000000, 0x00000000, 0x00000000, 0xfefefefe,
80 		0xfefefefe, 0xffffffff, 0x00000000, 0x00000000,
81 		0xfefefefe, 0xffffffff, 0x00000000, 0x00000000,
82 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
83 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
84 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
85 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
86 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
87 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
88 		0xfefefefe, 0x00000000, 0xfefefefe, 0x00000000,
89 		0xfefefefe, 0x00000000, 0xfefefefe, 0x00000000,
90 		0x00000000, 0xffffffff, 0xffffffff, 0x01010101,
91 		0x00000000, 0xffffffff, 0xffffffff, 0x01010101,
92 		0xffffffff, 0xffffffff, 0x01010101, 0x00000000,
93 		0xffffffff, 0xffffffff, 0x01010101, 0x00000000,
94 		0x01010101, 0xffffffff, 0xfefefefe, 0xfefefefe,
95 		0x01010101, 0xffffffff, 0xfefefefe, 0xfefefefe
96 	},
97 	{
98 		0x02020202, 0x00000000, 0x02020202, 0xffffffff,
99 		0x02020202, 0x00000000, 0x02020202, 0xffffffff,
100 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0xfdfdfdfd,
101 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0xfdfdfdfd,
102 		0x02020202, 0xfdfdfdfd, 0x02020202, 0x02020202,
103 		0x02020202, 0xfdfdfdfd, 0x02020202, 0x02020202,
104 		0xfdfdfdfd, 0x02020202, 0xfdfdfdfd, 0x00000000,
105 		0xfdfdfdfd, 0x02020202, 0xfdfdfdfd, 0x00000000,
106 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
107 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
108 		0xffffffff, 0x00000000, 0xffffffff, 0x02020202,
109 		0xffffffff, 0x00000000, 0xffffffff, 0x02020202,
110 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
111 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
112 		0x00000000, 0x00000000, 0x00000000, 0xfdfdfdfd,
113 		0x00000000, 0x00000000, 0x00000000, 0xfdfdfdfd,
114 		0xfdfdfdfd, 0xffffffff, 0x00000000, 0x00000000,
115 		0xfdfdfdfd, 0xffffffff, 0x00000000, 0x00000000,
116 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
117 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
118 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
119 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
120 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
121 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
122 		0xfdfdfdfd, 0x00000000, 0xfdfdfdfd, 0x00000000,
123 		0xfdfdfdfd, 0x00000000, 0xfdfdfdfd, 0x00000000,
124 		0x00000000, 0xffffffff, 0xffffffff, 0x02020202,
125 		0x00000000, 0xffffffff, 0xffffffff, 0x02020202,
126 		0xffffffff, 0xffffffff, 0x02020202, 0x00000000,
127 		0xffffffff, 0xffffffff, 0x02020202, 0x00000000,
128 		0x02020202, 0xffffffff, 0xfdfdfdfd, 0xfdfdfdfd,
129 		0x02020202, 0xffffffff, 0xfdfdfdfd, 0xfdfdfdfd
130 	},
131 	{
132 		0x04040404, 0x00000000, 0x04040404, 0xffffffff,
133 		0x04040404, 0x00000000, 0x04040404, 0xffffffff,
134 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0xfbfbfbfb,
135 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0xfbfbfbfb,
136 		0x04040404, 0xfbfbfbfb, 0x04040404, 0x04040404,
137 		0x04040404, 0xfbfbfbfb, 0x04040404, 0x04040404,
138 		0xfbfbfbfb, 0x04040404, 0xfbfbfbfb, 0x00000000,
139 		0xfbfbfbfb, 0x04040404, 0xfbfbfbfb, 0x00000000,
140 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
141 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
142 		0xffffffff, 0x00000000, 0xffffffff, 0x04040404,
143 		0xffffffff, 0x00000000, 0xffffffff, 0x04040404,
144 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
145 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
146 		0x00000000, 0x00000000, 0x00000000, 0xfbfbfbfb,
147 		0x00000000, 0x00000000, 0x00000000, 0xfbfbfbfb,
148 		0xfbfbfbfb, 0xffffffff, 0x00000000, 0x00000000,
149 		0xfbfbfbfb, 0xffffffff, 0x00000000, 0x00000000,
150 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
151 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
152 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
153 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
154 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
155 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
156 		0xfbfbfbfb, 0x00000000, 0xfbfbfbfb, 0x00000000,
157 		0xfbfbfbfb, 0x00000000, 0xfbfbfbfb, 0x00000000,
158 		0x00000000, 0xffffffff, 0xffffffff, 0x04040404,
159 		0x00000000, 0xffffffff, 0xffffffff, 0x04040404,
160 		0xffffffff, 0xffffffff, 0x04040404, 0x00000000,
161 		0xffffffff, 0xffffffff, 0x04040404, 0x00000000,
162 		0x04040404, 0xffffffff, 0xfbfbfbfb, 0xfbfbfbfb,
163 		0x04040404, 0xffffffff, 0xfbfbfbfb, 0xfbfbfbfb
164 	},
165 	{
166 		0x08080808, 0x00000000, 0x08080808, 0xffffffff,
167 		0x08080808, 0x00000000, 0x08080808, 0xffffffff,
168 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0xf7f7f7f7,
169 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0xf7f7f7f7,
170 		0x08080808, 0xf7f7f7f7, 0x08080808, 0x08080808,
171 		0x08080808, 0xf7f7f7f7, 0x08080808, 0x08080808,
172 		0xf7f7f7f7, 0x08080808, 0xf7f7f7f7, 0x00000000,
173 		0xf7f7f7f7, 0x08080808, 0xf7f7f7f7, 0x00000000,
174 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
175 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
176 		0xffffffff, 0x00000000, 0xffffffff, 0x08080808,
177 		0xffffffff, 0x00000000, 0xffffffff, 0x08080808,
178 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
179 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
180 		0x00000000, 0x00000000, 0x00000000, 0xf7f7f7f7,
181 		0x00000000, 0x00000000, 0x00000000, 0xf7f7f7f7,
182 		0xf7f7f7f7, 0xffffffff, 0x00000000, 0x00000000,
183 		0xf7f7f7f7, 0xffffffff, 0x00000000, 0x00000000,
184 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
185 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
186 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
187 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
188 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
189 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
190 		0xf7f7f7f7, 0x00000000, 0xf7f7f7f7, 0x00000000,
191 		0xf7f7f7f7, 0x00000000, 0xf7f7f7f7, 0x00000000,
192 		0x00000000, 0xffffffff, 0xffffffff, 0x08080808,
193 		0x00000000, 0xffffffff, 0xffffffff, 0x08080808,
194 		0xffffffff, 0xffffffff, 0x08080808, 0x00000000,
195 		0xffffffff, 0xffffffff, 0x08080808, 0x00000000,
196 		0x08080808, 0xffffffff, 0xf7f7f7f7, 0xf7f7f7f7,
197 		0x08080808, 0xffffffff, 0xf7f7f7f7, 0xf7f7f7f7
198 	},
199 	{
200 		0x10101010, 0x00000000, 0x10101010, 0xffffffff,
201 		0x10101010, 0x00000000, 0x10101010, 0xffffffff,
202 		0xefefefef, 0xefefefef, 0x10101010, 0xefefefef,
203 		0xefefefef, 0xefefefef, 0x10101010, 0xefefefef,
204 		0x10101010, 0xefefefef, 0x10101010, 0x10101010,
205 		0x10101010, 0xefefefef, 0x10101010, 0x10101010,
206 		0xefefefef, 0x10101010, 0xefefefef, 0x00000000,
207 		0xefefefef, 0x10101010, 0xefefefef, 0x00000000,
208 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
209 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
210 		0xffffffff, 0x00000000, 0xffffffff, 0x10101010,
211 		0xffffffff, 0x00000000, 0xffffffff, 0x10101010,
212 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
213 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
214 		0x00000000, 0x00000000, 0x00000000, 0xefefefef,
215 		0x00000000, 0x00000000, 0x00000000, 0xefefefef,
216 		0xefefefef, 0xffffffff, 0x00000000, 0x00000000,
217 		0xefefefef, 0xffffffff, 0x00000000, 0x00000000,
218 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
219 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
220 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
221 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
222 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
223 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
224 		0xefefefef, 0x00000000, 0xefefefef, 0x00000000,
225 		0xefefefef, 0x00000000, 0xefefefef, 0x00000000,
226 		0x00000000, 0xffffffff, 0xffffffff, 0x10101010,
227 		0x00000000, 0xffffffff, 0xffffffff, 0x10101010,
228 		0xffffffff, 0xffffffff, 0x10101010, 0x00000000,
229 		0xffffffff, 0xffffffff, 0x10101010, 0x00000000,
230 		0x10101010, 0xffffffff, 0xefefefef, 0xefefefef,
231 		0x10101010, 0xffffffff, 0xefefefef, 0xefefefef
232 	},
233 	{
234 		0x20202020, 0x00000000, 0x20202020, 0xffffffff,
235 		0x20202020, 0x00000000, 0x20202020, 0xffffffff,
236 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0xdfdfdfdf,
237 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0xdfdfdfdf,
238 		0x20202020, 0xdfdfdfdf, 0x20202020, 0x20202020,
239 		0x20202020, 0xdfdfdfdf, 0x20202020, 0x20202020,
240 		0xdfdfdfdf, 0x20202020, 0xdfdfdfdf, 0x00000000,
241 		0xdfdfdfdf, 0x20202020, 0xdfdfdfdf, 0x00000000,
242 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
243 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
244 		0xffffffff, 0x00000000, 0xffffffff, 0x20202020,
245 		0xffffffff, 0x00000000, 0xffffffff, 0x20202020,
246 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
247 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
248 		0x00000000, 0x00000000, 0x00000000, 0xdfdfdfdf,
249 		0x00000000, 0x00000000, 0x00000000, 0xdfdfdfdf,
250 		0xdfdfdfdf, 0xffffffff, 0x00000000, 0x00000000,
251 		0xdfdfdfdf, 0xffffffff, 0x00000000, 0x00000000,
252 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
253 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
254 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
255 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
256 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
257 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
258 		0xdfdfdfdf, 0x00000000, 0xdfdfdfdf, 0x00000000,
259 		0xdfdfdfdf, 0x00000000, 0xdfdfdfdf, 0x00000000,
260 		0x00000000, 0xffffffff, 0xffffffff, 0x20202020,
261 		0x00000000, 0xffffffff, 0xffffffff, 0x20202020,
262 		0xffffffff, 0xffffffff, 0x20202020, 0x00000000,
263 		0xffffffff, 0xffffffff, 0x20202020, 0x00000000,
264 		0x20202020, 0xffffffff, 0xdfdfdfdf, 0xdfdfdfdf,
265 		0x20202020, 0xffffffff, 0xdfdfdfdf, 0xdfdfdfdf
266 	},
267 	{
268 		0x40404040, 0x00000000, 0x40404040, 0xffffffff,
269 		0x40404040, 0x00000000, 0x40404040, 0xffffffff,
270 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0xbfbfbfbf,
271 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0xbfbfbfbf,
272 		0x40404040, 0xbfbfbfbf, 0x40404040, 0x40404040,
273 		0x40404040, 0xbfbfbfbf, 0x40404040, 0x40404040,
274 		0xbfbfbfbf, 0x40404040, 0xbfbfbfbf, 0x00000000,
275 		0xbfbfbfbf, 0x40404040, 0xbfbfbfbf, 0x00000000,
276 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
277 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
278 		0xffffffff, 0x00000000, 0xffffffff, 0x40404040,
279 		0xffffffff, 0x00000000, 0xffffffff, 0x40404040,
280 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
281 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
282 		0x00000000, 0x00000000, 0x00000000, 0xbfbfbfbf,
283 		0x00000000, 0x00000000, 0x00000000, 0xbfbfbfbf,
284 		0xbfbfbfbf, 0xffffffff, 0x00000000, 0x00000000,
285 		0xbfbfbfbf, 0xffffffff, 0x00000000, 0x00000000,
286 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
287 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
288 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
289 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
290 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
291 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
292 		0xbfbfbfbf, 0x00000000, 0xbfbfbfbf, 0x00000000,
293 		0xbfbfbfbf, 0x00000000, 0xbfbfbfbf, 0x00000000,
294 		0x00000000, 0xffffffff, 0xffffffff, 0x40404040,
295 		0x00000000, 0xffffffff, 0xffffffff, 0x40404040,
296 		0xffffffff, 0xffffffff, 0x40404040, 0x00000000,
297 		0xffffffff, 0xffffffff, 0x40404040, 0x00000000,
298 		0x40404040, 0xffffffff, 0xbfbfbfbf, 0xbfbfbfbf,
299 		0x40404040, 0xffffffff, 0xbfbfbfbf, 0xbfbfbfbf
300 	},
301 	{
302 		0x80808080, 0x00000000, 0x80808080, 0xffffffff,
303 		0x80808080, 0x00000000, 0x80808080, 0xffffffff,
304 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x7f7f7f7f,
305 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x7f7f7f7f,
306 		0x80808080, 0x7f7f7f7f, 0x80808080, 0x80808080,
307 		0x80808080, 0x7f7f7f7f, 0x80808080, 0x80808080,
308 		0x7f7f7f7f, 0x80808080, 0x7f7f7f7f, 0x00000000,
309 		0x7f7f7f7f, 0x80808080, 0x7f7f7f7f, 0x00000000,
310 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
311 		0xffffffff, 0x00000000, 0xffffffff, 0x00000000,
312 		0xffffffff, 0x00000000, 0xffffffff, 0x80808080,
313 		0xffffffff, 0x00000000, 0xffffffff, 0x80808080,
314 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
315 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
316 		0x00000000, 0x00000000, 0x00000000, 0x7f7f7f7f,
317 		0x00000000, 0x00000000, 0x00000000, 0x7f7f7f7f,
318 		0x7f7f7f7f, 0xffffffff, 0x00000000, 0x00000000,
319 		0x7f7f7f7f, 0xffffffff, 0x00000000, 0x00000000,
320 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
321 		0xffffffff, 0xffffffff, 0x00000000, 0xffffffff,
322 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
323 		0x00000000, 0xffffffff, 0xffffffff, 0x00000000,
324 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
325 		0x00000000, 0xffffffff, 0x00000000, 0xffffffff,
326 		0x7f7f7f7f, 0x00000000, 0x7f7f7f7f, 0x00000000,
327 		0x7f7f7f7f, 0x00000000, 0x7f7f7f7f, 0x00000000,
328 		0x00000000, 0xffffffff, 0xffffffff, 0x80808080,
329 		0x00000000, 0xffffffff, 0xffffffff, 0x80808080,
330 		0xffffffff, 0xffffffff, 0x80808080, 0x00000000,
331 		0xffffffff, 0xffffffff, 0x80808080, 0x00000000,
332 		0x80808080, 0xffffffff, 0x7f7f7f7f, 0x7f7f7f7f,
333 		0x80808080, 0xffffffff, 0x7f7f7f7f, 0x7f7f7f7f
334 	}
335 };
336 
337 u32 killer_pattern_64b[DQ_NUM][LEN_KILLER_PATTERN] __aligned(32) = {
338 	{
339 		0x01010101, 0x01010101, 0x00000000, 0x00000000,
340 		0x01010101, 0x01010101, 0xffffffff, 0xffffffff,
341 		0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe,
342 		0x01010101, 0x01010101, 0xfefefefe, 0xfefefefe,
343 		0x01010101, 0x01010101, 0xfefefefe, 0xfefefefe,
344 		0x01010101, 0x01010101, 0x01010101, 0x01010101,
345 		0xfefefefe, 0xfefefefe, 0x01010101, 0x01010101,
346 		0xfefefefe, 0xfefefefe, 0x00000000, 0x00000000,
347 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
348 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
349 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
350 		0xffffffff, 0xffffffff, 0x01010101, 0x01010101,
351 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
352 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
353 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
354 		0x00000000, 0x00000000, 0xfefefefe, 0xfefefefe,
355 		0xfefefefe, 0xfefefefe, 0xffffffff, 0xffffffff,
356 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
357 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
358 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
359 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
360 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
361 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
362 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
363 		0xfefefefe, 0xfefefefe, 0x00000000, 0x00000000,
364 		0xfefefefe, 0xfefefefe, 0x00000000, 0x00000000,
365 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
366 		0xffffffff, 0xffffffff, 0x01010101, 0x01010101,
367 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
368 		0x01010101, 0x01010101, 0x00000000, 0x00000000,
369 		0x01010101, 0x01010101, 0xffffffff, 0xffffffff,
370 		0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe
371 	},
372 	{
373 		0x02020202, 0x02020202, 0x00000000, 0x00000000,
374 		0x02020202, 0x02020202, 0xffffffff, 0xffffffff,
375 		0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd,
376 		0x02020202, 0x02020202, 0xfdfdfdfd, 0xfdfdfdfd,
377 		0x02020202, 0x02020202, 0xfdfdfdfd, 0xfdfdfdfd,
378 		0x02020202, 0x02020202, 0x02020202, 0x02020202,
379 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0x02020202,
380 		0xfdfdfdfd, 0xfdfdfdfd, 0x00000000, 0x00000000,
381 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
382 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
383 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
384 		0xffffffff, 0xffffffff, 0x02020202, 0x02020202,
385 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
386 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
387 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
388 		0x00000000, 0x00000000, 0xfdfdfdfd, 0xfdfdfdfd,
389 		0xfdfdfdfd, 0xfdfdfdfd, 0xffffffff, 0xffffffff,
390 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
391 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
392 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
393 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
394 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
395 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
396 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
397 		0xfdfdfdfd, 0xfdfdfdfd, 0x00000000, 0x00000000,
398 		0xfdfdfdfd, 0xfdfdfdfd, 0x00000000, 0x00000000,
399 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
400 		0xffffffff, 0xffffffff, 0x02020202, 0x02020202,
401 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
402 		0x02020202, 0x02020202, 0x00000000, 0x00000000,
403 		0x02020202, 0x02020202, 0xffffffff, 0xffffffff,
404 		0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd
405 	},
406 	{
407 		0x04040404, 0x04040404, 0x00000000, 0x00000000,
408 		0x04040404, 0x04040404, 0xffffffff, 0xffffffff,
409 		0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb,
410 		0x04040404, 0x04040404, 0xfbfbfbfb, 0xfbfbfbfb,
411 		0x04040404, 0x04040404, 0xfbfbfbfb, 0xfbfbfbfb,
412 		0x04040404, 0x04040404, 0x04040404, 0x04040404,
413 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0x04040404,
414 		0xfbfbfbfb, 0xfbfbfbfb, 0x00000000, 0x00000000,
415 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
416 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
417 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
418 		0xffffffff, 0xffffffff, 0x04040404, 0x04040404,
419 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
420 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
421 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
422 		0x00000000, 0x00000000, 0xfbfbfbfb, 0xfbfbfbfb,
423 		0xfbfbfbfb, 0xfbfbfbfb, 0xffffffff, 0xffffffff,
424 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
425 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
426 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
427 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
428 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
429 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
430 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
431 		0xfbfbfbfb, 0xfbfbfbfb, 0x00000000, 0x00000000,
432 		0xfbfbfbfb, 0xfbfbfbfb, 0x00000000, 0x00000000,
433 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
434 		0xffffffff, 0xffffffff, 0x04040404, 0x04040404,
435 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
436 		0x04040404, 0x04040404, 0x00000000, 0x00000000,
437 		0x04040404, 0x04040404, 0xffffffff, 0xffffffff,
438 		0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb
439 	},
440 	{
441 		0x08080808, 0x08080808, 0x00000000, 0x00000000,
442 		0x08080808, 0x08080808, 0xffffffff, 0xffffffff,
443 		0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7,
444 		0x08080808, 0x08080808, 0xf7f7f7f7, 0xf7f7f7f7,
445 		0x08080808, 0x08080808, 0xf7f7f7f7, 0xf7f7f7f7,
446 		0x08080808, 0x08080808, 0x08080808, 0x08080808,
447 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0x08080808,
448 		0xf7f7f7f7, 0xf7f7f7f7, 0x00000000, 0x00000000,
449 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
450 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
451 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
452 		0xffffffff, 0xffffffff, 0x08080808, 0x08080808,
453 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
454 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
455 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
456 		0x00000000, 0x00000000, 0xf7f7f7f7, 0xf7f7f7f7,
457 		0xf7f7f7f7, 0xf7f7f7f7, 0xffffffff, 0xffffffff,
458 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
459 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
460 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
461 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
462 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
463 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
464 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
465 		0xf7f7f7f7, 0xf7f7f7f7, 0x00000000, 0x00000000,
466 		0xf7f7f7f7, 0xf7f7f7f7, 0x00000000, 0x00000000,
467 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
468 		0xffffffff, 0xffffffff, 0x08080808, 0x08080808,
469 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
470 		0x08080808, 0x08080808, 0x00000000, 0x00000000,
471 		0x08080808, 0x08080808, 0xffffffff, 0xffffffff,
472 		0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7
473 	},
474 	{
475 		0x10101010, 0x10101010, 0x00000000, 0x00000000,
476 		0x10101010, 0x10101010, 0xffffffff, 0xffffffff,
477 		0xefefefef, 0xefefefef, 0xefefefef, 0xefefefef,
478 		0x10101010, 0x10101010, 0xefefefef, 0xefefefef,
479 		0x10101010, 0x10101010, 0xefefefef, 0xefefefef,
480 		0x10101010, 0x10101010, 0x10101010, 0x10101010,
481 		0xefefefef, 0xefefefef, 0x10101010, 0x10101010,
482 		0xefefefef, 0xefefefef, 0x00000000, 0x00000000,
483 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
484 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
485 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
486 		0xffffffff, 0xffffffff, 0x10101010, 0x10101010,
487 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
488 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
489 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
490 		0x00000000, 0x00000000, 0xefefefef, 0xefefefef,
491 		0xefefefef, 0xefefefef, 0xffffffff, 0xffffffff,
492 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
493 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
494 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
495 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
496 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
497 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
498 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
499 		0xefefefef, 0xefefefef, 0x00000000, 0x00000000,
500 		0xefefefef, 0xefefefef, 0x00000000, 0x00000000,
501 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
502 		0xffffffff, 0xffffffff, 0x10101010, 0x10101010,
503 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
504 		0x10101010, 0x10101010, 0x00000000, 0x00000000,
505 		0x10101010, 0x10101010, 0xffffffff, 0xffffffff,
506 		0xefefefef, 0xefefefef, 0xefefefef, 0xefefefef
507 	},
508 	{
509 		0x20202020, 0x20202020, 0x00000000, 0x00000000,
510 		0x20202020, 0x20202020, 0xffffffff, 0xffffffff,
511 		0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf,
512 		0x20202020, 0x20202020, 0xdfdfdfdf, 0xdfdfdfdf,
513 		0x20202020, 0x20202020, 0xdfdfdfdf, 0xdfdfdfdf,
514 		0x20202020, 0x20202020, 0x20202020, 0x20202020,
515 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0x20202020,
516 		0xdfdfdfdf, 0xdfdfdfdf, 0x00000000, 0x00000000,
517 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
518 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
519 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
520 		0xffffffff, 0xffffffff, 0x20202020, 0x20202020,
521 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
522 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
523 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
524 		0x00000000, 0x00000000, 0xdfdfdfdf, 0xdfdfdfdf,
525 		0xdfdfdfdf, 0xdfdfdfdf, 0xffffffff, 0xffffffff,
526 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
527 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
528 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
529 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
530 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
531 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
532 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
533 		0xdfdfdfdf, 0xdfdfdfdf, 0x00000000, 0x00000000,
534 		0xdfdfdfdf, 0xdfdfdfdf, 0x00000000, 0x00000000,
535 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
536 		0xffffffff, 0xffffffff, 0x20202020, 0x20202020,
537 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
538 		0x20202020, 0x20202020, 0x00000000, 0x00000000,
539 		0x20202020, 0x20202020, 0xffffffff, 0xffffffff,
540 		0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf
541 	},
542 	{
543 		0x40404040, 0x40404040, 0x00000000, 0x00000000,
544 		0x40404040, 0x40404040, 0xffffffff, 0xffffffff,
545 		0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf,
546 		0x40404040, 0x40404040, 0xbfbfbfbf, 0xbfbfbfbf,
547 		0x40404040, 0x40404040, 0xbfbfbfbf, 0xbfbfbfbf,
548 		0x40404040, 0x40404040, 0x40404040, 0x40404040,
549 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0x40404040,
550 		0xbfbfbfbf, 0xbfbfbfbf, 0x00000000, 0x00000000,
551 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
552 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
553 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
554 		0xffffffff, 0xffffffff, 0x40404040, 0x40404040,
555 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
556 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
557 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
558 		0x00000000, 0x00000000, 0xbfbfbfbf, 0xbfbfbfbf,
559 		0xbfbfbfbf, 0xbfbfbfbf, 0xffffffff, 0xffffffff,
560 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
561 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
562 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
563 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
564 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
565 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
566 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
567 		0xbfbfbfbf, 0xbfbfbfbf, 0x00000000, 0x00000000,
568 		0xbfbfbfbf, 0xbfbfbfbf, 0x00000000, 0x00000000,
569 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
570 		0xffffffff, 0xffffffff, 0x40404040, 0x40404040,
571 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
572 		0x40404040, 0x40404040, 0x00000000, 0x00000000,
573 		0x40404040, 0x40404040, 0xffffffff, 0xffffffff,
574 		0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf
575 	},
576 	{
577 		0x80808080, 0x80808080, 0x00000000, 0x00000000,
578 		0x80808080, 0x80808080, 0xffffffff, 0xffffffff,
579 		0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f,
580 		0x80808080, 0x80808080, 0x7f7f7f7f, 0x7f7f7f7f,
581 		0x80808080, 0x80808080, 0x7f7f7f7f, 0x7f7f7f7f,
582 		0x80808080, 0x80808080, 0x80808080, 0x80808080,
583 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x80808080,
584 		0x7f7f7f7f, 0x7f7f7f7f, 0x00000000, 0x00000000,
585 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
586 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
587 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
588 		0xffffffff, 0xffffffff, 0x80808080, 0x80808080,
589 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
590 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
591 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
592 		0x00000000, 0x00000000, 0x7f7f7f7f, 0x7f7f7f7f,
593 		0x7f7f7f7f, 0x7f7f7f7f, 0xffffffff, 0xffffffff,
594 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
595 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
596 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
597 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
598 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
599 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
600 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
601 		0x7f7f7f7f, 0x7f7f7f7f, 0x00000000, 0x00000000,
602 		0x7f7f7f7f, 0x7f7f7f7f, 0x00000000, 0x00000000,
603 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
604 		0xffffffff, 0xffffffff, 0x80808080, 0x80808080,
605 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
606 		0x80808080, 0x80808080, 0x00000000, 0x00000000,
607 		0x80808080, 0x80808080, 0xffffffff, 0xffffffff,
608 		0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f
609 	}
610 };
611 
612 u32 special_pattern[DQ_NUM][LEN_SPECIAL_PATTERN] __aligned(32) = {
613 	{
614 		0x00000000, 0x00000000, 0x01010101, 0x01010101,
615 		0xffffffff, 0xffffffff, 0xfefefefe, 0xfefefefe,
616 		0xfefefefe, 0xfefefefe, 0x01010101, 0x01010101,
617 		0xfefefefe, 0xfefefefe, 0x01010101, 0x01010101,
618 		0xfefefefe, 0xfefefefe, 0x01010101, 0x01010101,
619 		0x01010101, 0x01010101, 0xfefefefe, 0xfefefefe,
620 		0x01010101, 0x01010101, 0xfefefefe, 0xfefefefe,
621 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
622 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
623 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
624 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
625 		0x01010101, 0x01010101, 0x00000000, 0x00000000,
626 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
627 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
628 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
629 		0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe,
630 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
631 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
632 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
633 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
634 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
635 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
636 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
637 		0xffffffff, 0xffffffff, 0xfefefefe, 0xfefefefe,
638 		0x00000000, 0x00000000, 0xfefefefe, 0xfefefefe,
639 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
640 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
641 		0x01010101, 0x01010101, 0xffffffff, 0xffffffff,
642 		0xffffffff, 0xffffffff, 0x01010101, 0x01010101,
643 		0x00000000, 0x00000000, 0x01010101, 0x01010101,
644 		0xffffffff, 0xffffffff, 0xfefefefe, 0xfefefefe,
645 		0xfefefefe, 0xfefefefe, 0x00000000, 0x00000000
646 	},
647 	{
648 		0x00000000, 0x00000000, 0x02020202, 0x02020202,
649 		0xffffffff, 0xffffffff, 0xfdfdfdfd, 0xfdfdfdfd,
650 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0x02020202,
651 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0x02020202,
652 		0xfdfdfdfd, 0xfdfdfdfd, 0x02020202, 0x02020202,
653 		0x02020202, 0x02020202, 0xfdfdfdfd, 0xfdfdfdfd,
654 		0x02020202, 0x02020202, 0xfdfdfdfd, 0xfdfdfdfd,
655 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
656 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
657 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
658 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
659 		0x02020202, 0x02020202, 0x00000000, 0x00000000,
660 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
661 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
662 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
663 		0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd, 0xfdfdfdfd,
664 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
665 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
666 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
667 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
668 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
669 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
670 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
671 		0xffffffff, 0xffffffff, 0xfdfdfdfd, 0xfdfdfdfd,
672 		0x00000000, 0x00000000, 0xfdfdfdfd, 0xfdfdfdfd,
673 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
674 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
675 		0x02020202, 0x02020202, 0xffffffff, 0xffffffff,
676 		0xffffffff, 0xffffffff, 0x02020202, 0x02020202,
677 		0x00000000, 0x00000000, 0x02020202, 0x02020202,
678 		0xffffffff, 0xffffffff, 0xfdfdfdfd, 0xfdfdfdfd,
679 		0xfdfdfdfd, 0xfdfdfdfd, 0x00000000, 0x00000000
680 	},
681 	{
682 		0x00000000, 0x00000000, 0x04040404, 0x04040404,
683 		0xffffffff, 0xffffffff, 0xfbfbfbfb, 0xfbfbfbfb,
684 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0x04040404,
685 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0x04040404,
686 		0xfbfbfbfb, 0xfbfbfbfb, 0x04040404, 0x04040404,
687 		0x04040404, 0x04040404, 0xfbfbfbfb, 0xfbfbfbfb,
688 		0x04040404, 0x04040404, 0xfbfbfbfb, 0xfbfbfbfb,
689 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
690 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
691 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
692 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
693 		0x04040404, 0x04040404, 0x00000000, 0x00000000,
694 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
695 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
696 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
697 		0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb, 0xfbfbfbfb,
698 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
699 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
700 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
701 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
702 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
703 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
704 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
705 		0xffffffff, 0xffffffff, 0xfbfbfbfb, 0xfbfbfbfb,
706 		0x00000000, 0x00000000, 0xfbfbfbfb, 0xfbfbfbfb,
707 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
708 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
709 		0x04040404, 0x04040404, 0xffffffff, 0xffffffff,
710 		0xffffffff, 0xffffffff, 0x04040404, 0x04040404,
711 		0x00000000, 0x00000000, 0x04040404, 0x04040404,
712 		0xffffffff, 0xffffffff, 0xfbfbfbfb, 0xfbfbfbfb,
713 		0xfbfbfbfb, 0xfbfbfbfb, 0x00000000, 0x00000000
714 	},
715 	{
716 		0x00000000, 0x00000000, 0x08080808, 0x08080808,
717 		0xffffffff, 0xffffffff, 0xf7f7f7f7, 0xf7f7f7f7,
718 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0x08080808,
719 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0x08080808,
720 		0xf7f7f7f7, 0xf7f7f7f7, 0x08080808, 0x08080808,
721 		0x08080808, 0x08080808, 0xf7f7f7f7, 0xf7f7f7f7,
722 		0x08080808, 0x08080808, 0xf7f7f7f7, 0xf7f7f7f7,
723 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
724 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
725 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
726 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
727 		0x08080808, 0x08080808, 0x00000000, 0x00000000,
728 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
729 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
730 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
731 		0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7, 0xf7f7f7f7,
732 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
733 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
734 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
735 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
736 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
737 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
738 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
739 		0xffffffff, 0xffffffff, 0xf7f7f7f7, 0xf7f7f7f7,
740 		0x00000000, 0x00000000, 0xf7f7f7f7, 0xf7f7f7f7,
741 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
742 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
743 		0x08080808, 0x08080808, 0xffffffff, 0xffffffff,
744 		0xffffffff, 0xffffffff, 0x08080808, 0x08080808,
745 		0x00000000, 0x00000000, 0x08080808, 0x08080808,
746 		0xffffffff, 0xffffffff, 0xf7f7f7f7, 0xf7f7f7f7,
747 		0xf7f7f7f7, 0xf7f7f7f7, 0x00000000, 0x00000000
748 	},
749 	{
750 		0x00000000, 0x00000000, 0x10101010, 0x10101010,
751 		0xffffffff, 0xffffffff, 0xefefefef, 0xefefefef,
752 		0xefefefef, 0xefefefef, 0x10101010, 0x10101010,
753 		0xefefefef, 0xefefefef, 0x10101010, 0x10101010,
754 		0xefefefef, 0xefefefef, 0x10101010, 0x10101010,
755 		0x10101010, 0x10101010, 0xefefefef, 0xefefefef,
756 		0x10101010, 0x10101010, 0xefefefef, 0xefefefef,
757 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
758 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
759 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
760 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
761 		0x10101010, 0x10101010, 0x00000000, 0x00000000,
762 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
763 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
764 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
765 		0xefefefef, 0xefefefef, 0xefefefef, 0xefefefef,
766 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
767 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
768 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
769 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
770 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
771 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
772 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
773 		0xffffffff, 0xffffffff, 0xefefefef, 0xefefefef,
774 		0x00000000, 0x00000000, 0xefefefef, 0xefefefef,
775 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
776 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
777 		0x10101010, 0x10101010, 0xffffffff, 0xffffffff,
778 		0xffffffff, 0xffffffff, 0x10101010, 0x10101010,
779 		0x00000000, 0x00000000, 0x10101010, 0x10101010,
780 		0xffffffff, 0xffffffff, 0xefefefef, 0xefefefef,
781 		0xefefefef, 0xefefefef, 0x00000000, 0x00000000
782 	},
783 	{
784 		0x00000000, 0x00000000, 0x20202020, 0x20202020,
785 		0xffffffff, 0xffffffff, 0xdfdfdfdf, 0xdfdfdfdf,
786 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0x20202020,
787 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0x20202020,
788 		0xdfdfdfdf, 0xdfdfdfdf, 0x20202020, 0x20202020,
789 		0x20202020, 0x20202020, 0xdfdfdfdf, 0xdfdfdfdf,
790 		0x20202020, 0x20202020, 0xdfdfdfdf, 0xdfdfdfdf,
791 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
792 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
793 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
794 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
795 		0x20202020, 0x20202020, 0x00000000, 0x00000000,
796 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
797 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
798 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
799 		0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf, 0xdfdfdfdf,
800 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
801 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
802 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
803 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
804 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
805 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
806 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
807 		0xffffffff, 0xffffffff, 0xdfdfdfdf, 0xdfdfdfdf,
808 		0x00000000, 0x00000000, 0xdfdfdfdf, 0xdfdfdfdf,
809 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
810 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
811 		0x20202020, 0x20202020, 0xffffffff, 0xffffffff,
812 		0xffffffff, 0xffffffff, 0x20202020, 0x20202020,
813 		0x00000000, 0x00000000, 0x20202020, 0x20202020,
814 		0xffffffff, 0xffffffff, 0xdfdfdfdf, 0xdfdfdfdf,
815 		0xdfdfdfdf, 0xdfdfdfdf, 0x00000000, 0x00000000
816 	},
817 	{
818 		0x00000000, 0x00000000, 0x40404040, 0x40404040,
819 		0xffffffff, 0xffffffff, 0xbfbfbfbf, 0xbfbfbfbf,
820 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0x40404040,
821 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0x40404040,
822 		0xbfbfbfbf, 0xbfbfbfbf, 0x40404040, 0x40404040,
823 		0x40404040, 0x40404040, 0xbfbfbfbf, 0xbfbfbfbf,
824 		0x40404040, 0x40404040, 0xbfbfbfbf, 0xbfbfbfbf,
825 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
826 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
827 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
828 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
829 		0x40404040, 0x40404040, 0x00000000, 0x00000000,
830 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
831 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
832 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
833 		0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf, 0xbfbfbfbf,
834 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
835 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
836 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
837 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
838 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
839 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
840 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
841 		0xffffffff, 0xffffffff, 0xbfbfbfbf, 0xbfbfbfbf,
842 		0x00000000, 0x00000000, 0xbfbfbfbf, 0xbfbfbfbf,
843 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
844 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
845 		0x40404040, 0x40404040, 0xffffffff, 0xffffffff,
846 		0xffffffff, 0xffffffff, 0x40404040, 0x40404040,
847 		0x00000000, 0x00000000, 0x40404040, 0x40404040,
848 		0xffffffff, 0xffffffff, 0xbfbfbfbf, 0xbfbfbfbf,
849 		0xbfbfbfbf, 0xbfbfbfbf, 0x00000000, 0x00000000
850 	},
851 	{
852 		0x00000000, 0x00000000, 0x80808080, 0x80808080,
853 		0xffffffff, 0xffffffff, 0x7f7f7f7f, 0x7f7f7f7f,
854 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x80808080,
855 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x80808080,
856 		0x7f7f7f7f, 0x7f7f7f7f, 0x80808080, 0x80808080,
857 		0x80808080, 0x80808080, 0x7f7f7f7f, 0x7f7f7f7f,
858 		0x80808080, 0x80808080, 0x7f7f7f7f, 0x7f7f7f7f,
859 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
860 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
861 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
862 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
863 		0x80808080, 0x80808080, 0x00000000, 0x00000000,
864 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
865 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
866 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
867 		0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f7f7f,
868 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
869 		0x00000000, 0x00000000, 0xffffffff, 0xffffffff,
870 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
871 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
872 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
873 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
874 		0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
875 		0xffffffff, 0xffffffff, 0x7f7f7f7f, 0x7f7f7f7f,
876 		0x00000000, 0x00000000, 0x7f7f7f7f, 0x7f7f7f7f,
877 		0x00000000, 0x00000000, 0x00000000, 0x00000000,
878 		0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
879 		0x80808080, 0x80808080, 0xffffffff, 0xffffffff,
880 		0xffffffff, 0xffffffff, 0x80808080, 0x80808080,
881 		0x00000000, 0x00000000, 0x80808080, 0x80808080,
882 		0xffffffff, 0xffffffff, 0x7f7f7f7f, 0x7f7f7f7f,
883 		0x7f7f7f7f, 0x7f7f7f7f, 0x00000000, 0x00000000
884 	}
885 };
886 
887 /* Fabric ratios table */
888 u32 fabric_ratio[FAB_OPT] = {
889 	0x04010204,
890 	0x04020202,
891 	0x08020306,
892 	0x08020303,
893 	0x04020303,
894 	0x04020204,
895 	0x04010202,
896 	0x08030606,
897 	0x08030505,
898 	0x04020306,
899 	0x0804050a,
900 	0x04030606,
901 	0x04020404,
902 	0x04030306,
903 	0x04020505,
904 	0x08020505,
905 	0x04010303,
906 	0x08050a0a,
907 	0x04030408,
908 	0x04010102,
909 	0x08030306
910 };
911 
912 u32 pbs_dq_mapping[PUP_NUM_64BIT + 1][DQ_NUM] = {
913 	{3, 2, 5, 7, 1, 0, 6, 4},
914 	{2, 3, 6, 7, 1, 0, 4, 5},
915 	{1, 3, 5, 6, 0, 2, 4, 7},
916 	{0, 2, 4, 7, 1, 3, 5, 6},
917 	{3, 0, 4, 6, 1, 2, 5, 7},
918 	{0, 3, 5, 7, 1, 2, 4, 6},
919 	{2, 3, 5, 7, 1, 0, 4, 6},
920 	{0, 2, 5, 4, 1, 3, 6, 7},
921 	{2, 3, 4, 7, 0, 1, 5, 6}
922 };
923 
924 #endif /* __DDR3_PATTERNS_64_H */
925