unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 65f7ae9f091248b61018461fc0c1bd39258bf7a1 20568 bytes (raw)
name: gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
 
From ac4bb2e61e4e8d195d560014816e107b315817ff Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Fri, 11 Nov 2022 18:55:25 +0800
Subject: [PATCH 2/2] Remove builtin firmware database.

---
 spectre-meltdown-checker.sh | 477 ++----------------------------------
 1 file changed, 27 insertions(+), 450 deletions(-)

diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh
index 82cf1b6..79c4bb7 100755
--- a/spectre-meltdown-checker.sh
+++ b/spectre-meltdown-checker.sh
@@ -95,7 +95,6 @@ show_usage()
 		--cpu [#,all]		interact with CPUID and MSR of CPU core number #, or all (default: CPU core 0)
 		--update-fwdb		update our local copy of the CPU microcodes versions database (using the awesome
 					MCExtractor project and the Intel firmwares GitHub repository)
-		--update-builtin-fwdb	same as --update-fwdb but update builtin DB inside the script itself
 		--dump-mock-data	used to mimick a CPU on an other system, mainly used to help debugging this script

 	Return codes:
@@ -853,9 +852,9 @@ update_fwdb()
 	mcedb_tmp="$(@mktemp@ -t smc-mcedb-XXXXXX)"
 	mcedb_url='https://github.com/platomav/MCExtractor/raw/master/MCE.db'
 	_info_nol "Fetching MCE.db from the MCExtractor project... "
-	if command -v wget >/dev/null 2>&1; then
-		wget -q "$mcedb_url" -O "$mcedb_tmp"; ret=$?
-	elif command -v curl >/dev/null 2>&1; then
+	# if command -v wget >/dev/null 2>&1; then
+	# 	wget -q "$mcedb_url" -O "$mcedb_tmp"; ret=$?
+	if command -v curl >/dev/null 2>&1; then
 		curl -sL "$mcedb_url" -o "$mcedb_tmp"; ret=$?
 	elif command -v fetch >/dev/null 2>&1; then
 		fetch -q "$mcedb_url" -o "$mcedb_tmp"; ret=$?
@@ -874,9 +873,9 @@ update_fwdb()
 	intel_url="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/main.zip"
 	_info_nol "Fetching Intel firmwares... "
 	## https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git
-	if command -v wget >/dev/null 2>&1; then
-		wget -q "$intel_url" -O "$intel_tmp/fw.zip"; ret=$?
-	elif command -v curl >/dev/null 2>&1; then
+	# if command -v wget >/dev/null 2>&1; then
+	# 	wget -q "$intel_url" -O "$intel_tmp/fw.zip"; ret=$?
+	if command -v curl >/dev/null 2>&1; then
 		curl -sL "$intel_url" -o "$intel_tmp/fw.zip"; ret=$?
 	elif command -v fetch >/dev/null 2>&1; then
 		fetch -q "$intel_url" -o "$intel_tmp/fw.zip"; ret=$?
@@ -969,13 +968,13 @@ update_fwdb()
 	} > "$mcedb_cache"
 	echo DONE "(version $dbversion)"

-	if [ "$1" = builtin ]; then
-		newfile=$(@mktemp@ -t smc-builtin-XXXXXX)
-		@awk@ '/^# %%% MCEDB / { exit }; { print }' "$0" > "$newfile"
-		@awk@ '{ if (NR>1) { print } }' "$mcedb_cache" >> "$newfile"
-		@cat@ "$newfile" > "$0"
-		@rm@ -f "$newfile"
-	fi
+	# if [ "$1" = builtin ]; then
+	# 	newfile=$(@mktemp@ -t smc-builtin-XXXXXX)
+	# 	@awk@ '/^# %%% MCEDB / { exit }; { print }' "$0" > "$newfile"
+	# 	@awk@ '{ if (NR>1) { print } }' "$mcedb_cache" >> "$newfile"
+	# 	@cat@ "$newfile" > "$0"
+	# 	@rm@ -f "$newfile"
+	# fi
 }

 parse_opt_file()
@@ -1070,9 +1069,9 @@ while [ -n "${1:-}" ]; do
 	elif [ "$1" = "--update-fwdb" ] || [ "$1" = "--update-mcedb" ]; then
 		update_fwdb
 		exit $?
-	elif [ "$1" = "--update-builtin-fwdb" ] || [ "$1" = "--update-builtin-mcedb" ]; then
-		update_fwdb builtin
-		exit $?
+	# elif [ "$1" = "--update-builtin-fwdb" ] || [ "$1" = "--update-builtin-mcedb" ]; then
+	# 	update_fwdb builtin
+	# 	exit $?
 	elif [ "$1" = "--dump-mock-data" ]; then
 		opt_mock=1
 		shift
@@ -2033,22 +2032,22 @@ is_xen_domU()
 	fi
 }

-builtin_dbversion=$(@awk@ '/^# %%% MCEDB / { print $4 }' "$0")
+# builtin_dbversion=$(@awk@ '/^# %%% MCEDB / { print $4 }' "$0")
 if [ -r "$mcedb_cache" ]; then
 	# we have a local cache file, but it might be older than the builtin version we have
 	local_dbversion=$(  @awk@ '/^# %%% MCEDB / { print $4 }' "$mcedb_cache")
 	# sort -V sorts by version number
-	older_dbversion=$(printf "%b\n%b" "$local_dbversion" "$builtin_dbversion" | @sort@ -V | @head@ -n1)
-	if [ "$older_dbversion" = "$builtin_dbversion" ]; then
+	# older_dbversion=$(printf "%b\n%b" "$local_dbversion" "$builtin_dbversion" | @sort@ -V | @head@ -n1)
+	# if [ "$older_dbversion" = "$builtin_dbversion" ]; then
 		mcedb_source="$mcedb_cache"
 		mcedb_info="local firmwares DB $local_dbversion"
-	fi
+	# fi
 fi
 # if mcedb_source is not set, either we don't have a local cached db, or it is older than the builtin db
-if [ -z "${mcedb_source:-}" ]; then
-	mcedb_source="$0"
-	mcedb_info="builtin firmwares DB $builtin_dbversion"
-fi
+# if [ -z "${mcedb_source:-}" ]; then
+# 	mcedb_source="$0"
+# 	mcedb_info="builtin firmwares DB $builtin_dbversion"
+# fi
 read_mcedb()
 {
 	@awk@ '{ if (DELIM==1) { print $2 } } /^# %%% MCEDB / { DELIM=1 }' "$mcedb_source"
@@ -2070,6 +2069,9 @@ is_latest_known_ucode()
 	else
 		return 2
 	fi
+	if [ -z "$mcedb_source" ]; then
+	        return 2
+	fi
 	for tuple in $(read_mcedb | @grep@ "$(printf "^$cpu_brand_prefix,0x%08X," "$cpu_cpuid")")
 	do
 		ucode=$((  $(echo "$tuple" | @cut@ -d, -f3) ))
@@ -5833,428 +5835,3 @@ fi
 [ "$global_critical" = 1 ] && exit 2  # critical
 [ "$global_unknown"  = 1 ] && exit 3  # unknown
 exit 0  # ok
-
-# We're using MCE.db from the excellent platomav's MCExtractor project
-# The builtin version follows, but the user can download an up-to-date copy (to be stored in his $HOME) by using --update-fwdb
-# To update the builtin version itself (by *modifying* this very file), use --update-builtin-fwdb
-
-# %%% MCEDB v222+i20220208
-# I,0x00000611,0x00000B27,19961218
-# I,0x00000612,0x000000C6,19961210
-# I,0x00000616,0x000000C6,19961210
-# I,0x00000617,0x000000C6,19961210
-# I,0x00000619,0x000000D2,19980218
-# I,0x00000630,0x00000013,19960827
-# I,0x00000632,0x00000020,19960903
-# I,0x00000633,0x00000036,19980923
-# I,0x00000634,0x00000037,19980923
-# I,0x00000650,0x00000045,19990525
-# I,0x00000651,0x00000042,19990525
-# I,0x00000652,0x0000002D,19990518
-# I,0x00000653,0x00000010,19990628
-# I,0x00000660,0x0000000A,19990505
-# I,0x00000665,0x00000003,19990505
-# I,0x0000066A,0x0000000D,19990505
-# I,0x0000066D,0x00000007,19990505
-# I,0x00000670,0x00000007,19980602
-# I,0x00000671,0x00000014,19980811
-# I,0x00000672,0x00000038,19990922
-# I,0x00000673,0x0000002E,19990910
-# I,0x00000680,0x00000017,19990610
-# I,0x00000681,0x00000014,19991209
-# I,0x00000683,0x00000014,20010206
-# I,0x00000686,0x00000008,20000505
-# I,0x0000068A,0x00000005,20001207
-# I,0x00000690,0x00000004,20000206
-# I,0x00000691,0x00000001,20020527
-# I,0x00000692,0x00000001,20020620
-# I,0x00000694,0x00000002,20020926
-# I,0x00000695,0x00000047,20041109
-# I,0x00000696,0x00000001,20000707
-# I,0x000006A0,0x00000003,20000110
-# I,0x000006A1,0x00000001,20000306
-# I,0x000006A4,0x00000001,20000616
-# I,0x000006B0,0x0000001A,20010129
-# I,0x000006B1,0x0000001D,20010220
-# I,0x000006B4,0x00000002,20020111
-# I,0x000006D0,0x00000006,20030522
-# I,0x000006D1,0x00000009,20030709
-# I,0x000006D2,0x00000010,20030814
-# I,0x000006D6,0x00000018,20041017
-# I,0x000006D8,0x00000021,20060831
-# I,0x000006E0,0x00000008,20050215
-# I,0x000006E1,0x0000000C,20050413
-# I,0x000006E4,0x00000026,20050816
-# I,0x000006E8,0x0000003C,20060208
-# I,0x000006EC,0x0000005B,20070208
-# I,0x000006F0,0x00000005,20050818
-# I,0x000006F1,0x00000012,20051129
-# I,0x000006F2,0x0000005D,20101002
-# I,0x000006F4,0x00000028,20060417
-# I,0x000006F5,0x00000039,20060727
-# I,0x000006F6,0x000000D2,20101001
-# I,0x000006F7,0x0000006B,20101002
-# I,0x000006F9,0x00000084,20061012
-# I,0x000006FA,0x00000095,20101002
-# I,0x000006FB,0x000000C1,20111004
-# I,0x000006FD,0x000000A4,20101002
-# I,0x00000F00,0xFFFF0001,20000130
-# I,0x00000F01,0xFFFF0007,20000404
-# I,0x00000F02,0xFFFF000B,20000518
-# I,0x00000F03,0xFFFF0001,20000518
-# I,0x00000F04,0xFFFF0010,20000803
-# I,0x00000F05,0x0000000C,20000824
-# I,0x00000F06,0x00000004,20000911
-# I,0x00000F07,0x00000012,20020716
-# I,0x00000F08,0x00000008,20001101
-# I,0x00000F09,0x00000008,20010104
-# I,0x00000F0A,0x00000015,20020821
-# I,0x00000F11,0x0000000A,20030729
-# I,0x00000F12,0x0000002F,20030502
-# I,0x00000F13,0x00000005,20030508
-# I,0x00000F20,0x00000001,20010423
-# I,0x00000F21,0x00000003,20010529
-# I,0x00000F22,0x00000005,20030729
-# I,0x00000F23,0x0000000D,20010817
-# I,0x00000F24,0x00000021,20030610
-# I,0x00000F25,0x0000002C,20040826
-# I,0x00000F26,0x00000010,20040805
-# I,0x00000F27,0x00000039,20030604
-# I,0x00000F29,0x0000002F,20040811
-# I,0x00000F30,0x00000013,20030815
-# I,0x00000F31,0x0000000B,20031021
-# I,0x00000F32,0x0000000A,20040511
-# I,0x00000F33,0x0000000C,20050421
-# I,0x00000F34,0x00000017,20050421
-# I,0x00000F36,0x00000007,20040309
-# I,0x00000F37,0x00000003,20031218
-# I,0x00000F40,0x00000006,20040318
-# I,0x00000F41,0x00000017,20050422
-# I,0x00000F42,0x00000003,20050421
-# I,0x00000F43,0x00000005,20050421
-# I,0x00000F44,0x00000006,20050421
-# I,0x00000F46,0x00000004,20050411
-# I,0x00000F47,0x00000003,20050421
-# I,0x00000F48,0x0000000E,20080115
-# I,0x00000F49,0x00000003,20050421
-# I,0x00000F4A,0x00000004,20051214
-# I,0x00000F60,0x00000005,20050124
-# I,0x00000F61,0x00000008,20050610
-# I,0x00000F62,0x0000000F,20051215
-# I,0x00000F63,0x00000005,20051010
-# I,0x00000F64,0x00000004,20051223
-# I,0x00000F65,0x0000000B,20070510
-# I,0x00000F66,0x0000001B,20060310
-# I,0x00000F68,0x00000009,20060714
-# I,0x00001632,0x00000002,19980610
-# I,0x00010650,0x00000002,20060513
-# I,0x00010660,0x00000004,20060612
-# I,0x00010661,0x00000045,20101004
-# I,0x00010670,0x00000005,20070209
-# I,0x00010671,0x00000106,20070329
-# I,0x00010674,0x84050100,20070726
-# I,0x00010676,0x00000612,20150802
-# I,0x00010677,0x0000070D,20150802
-# I,0x0001067A,0x00000A0E,20150729
-# I,0x000106A0,0xFFFF001A,20071128
-# I,0x000106A1,0xFFFF000B,20080220
-# I,0x000106A2,0xFFFF0019,20080714
-# I,0x000106A4,0x00000013,20150630
-# I,0x000106A5,0x0000001D,20180511
-# I,0x000106C0,0x00000007,20070824
-# I,0x000106C1,0x00000109,20071203
-# I,0x000106C2,0x00000219,20090410
-# I,0x000106C9,0x00000007,20090213
-# I,0x000106CA,0x00000107,20090825
-# I,0x000106D0,0x00000005,20071204
-# I,0x000106D1,0x0000002A,20150803
-# I,0x000106E0,0xFFFF0022,20090116
-# I,0x000106E1,0xFFFF000D,20090206
-# I,0x000106E2,0xFFFF0011,20090924
-# I,0x000106E3,0xFFFF0011,20090512
-# I,0x000106E4,0x00000003,20130701
-# I,0x000106E5,0x0000000A,20180508
-# I,0x000106F0,0xFFFF0009,20090210
-# I,0x000106F1,0xFFFF0007,20090210
-# I,0x00020650,0xFFFF0008,20090218
-# I,0x00020651,0xFFFF0018,20090818
-# I,0x00020652,0x00000011,20180508
-# I,0x00020654,0xFFFF0007,20091124
-# I,0x00020655,0x00000007,20180423
-# I,0x00020661,0x00000105,20110718
-# I,0x000206A0,0x00000029,20091102
-# I,0x000206A1,0x00000007,20091223
-# I,0x000206A2,0x00000027,20100502
-# I,0x000206A3,0x00000009,20100609
-# I,0x000206A4,0x00000022,20100414
-# I,0x000206A5,0x00000007,20100722
-# I,0x000206A6,0x90030028,20100924
-# I,0x000206A7,0x0000002F,20190217
-# I,0x000206C0,0xFFFF001C,20091214
-# I,0x000206C1,0x00000006,20091222
-# I,0x000206C2,0x0000001F,20180508
-# I,0x000206D0,0x80000006,20100816
-# I,0x000206D1,0x80000106,20101201
-# I,0x000206D2,0xAF506958,20110714
-# I,0x000206D3,0xAF50696A,20110816
-# I,0x000206D5,0xAF5069E5,20120118
-# I,0x000206D6,0x00000621,20200304
-# I,0x000206D7,0x0000071A,20200324
-# I,0x000206E0,0xE3493401,20090108
-# I,0x000206E1,0xE3493402,20090224
-# I,0x000206E2,0xFFFF0004,20081001
-# I,0x000206E3,0xE4486547,20090701
-# I,0x000206E4,0xFFFF0008,20090619
-# I,0x000206E5,0xFFFF0018,20091215
-# I,0x000206E6,0x0000000D,20180515
-# I,0x000206F0,0x00000005,20100729
-# I,0x000206F1,0x00000008,20101013
-# I,0x000206F2,0x0000003B,20180516
-# I,0x00030650,0x00000009,20120118
-# I,0x00030651,0x00000110,20131014
-# I,0x00030660,0x00000003,20101103
-# I,0x00030661,0x0000010F,20150721
-# I,0x00030669,0x0000010D,20130515
-# I,0x00030671,0x00000117,20130410
-# I,0x00030672,0x0000022E,20140401
-# I,0x00030673,0x83290100,20190916
-# I,0x00030678,0x00000838,20190422
-# I,0x00030679,0x0000090D,20190710
-# I,0x000306A0,0x00000007,20110407
-# I,0x000306A2,0x0000000C,20110725
-# I,0x000306A4,0x00000007,20110908
-# I,0x000306A5,0x00000009,20111110
-# I,0x000306A6,0x00000004,20111114
-# I,0x000306A8,0x00000010,20120220
-# I,0x000306A9,0x00000021,20190213
-# I,0x000306C0,0xFFFF0013,20111110
-# I,0x000306C1,0xFFFF0014,20120725
-# I,0x000306C2,0xFFFF0006,20121017
-# I,0x000306C3,0x00000028,20191112
-# I,0x000306D1,0xFFFF0009,20131015
-# I,0x000306D2,0xFFFF0009,20131219
-# I,0x000306D3,0xE3121338,20140825
-# I,0x000306D4,0x0000002F,20191112
-# I,0x000306E0,0xE920080F,20121113
-# I,0x000306E2,0xE9220827,20130523
-# I,0x000306E3,0x00000308,20130321
-# I,0x000306E4,0x0000042E,20190314
-# I,0x000306E6,0x00000600,20130619
-# I,0x000306E7,0x00000715,20190314
-# I,0x000306F0,0xFFFF0017,20130730
-# I,0x000306F1,0xD141D629,20140416
-# I,0x000306F2,0x00000049,20210811
-# I,0x000306F3,0x0000000D,20160211
-# I,0x000306F4,0x0000001A,20210524
-# I,0x00040650,0xFFFF000B,20121206
-# I,0x00040651,0x00000026,20191112
-# I,0x00040660,0xFFFF0011,20121012
-# I,0x00040661,0x0000001C,20191112
-# I,0x00040670,0xFFFF0006,20140304
-# I,0x00040671,0x00000022,20191112
-# I,0x000406A0,0x80124001,20130521
-# I,0x000406A8,0x0000081F,20140812
-# I,0x000406A9,0x0000081F,20140812
-# I,0x000406C1,0x0000010B,20140814
-# I,0x000406C2,0x00000221,20150218
-# I,0x000406C3,0x00000368,20190423
-# I,0x000406C4,0x00000411,20190423
-# I,0x000406D0,0x0000000E,20130612
-# I,0x000406D8,0x0000012D,20190916
-# I,0x000406E1,0x00000020,20141111
-# I,0x000406E2,0x0000002C,20150521
-# I,0x000406E3,0x000000EC,20210428
-# I,0x000406E8,0x00000026,20160414
-# I,0x000406F0,0x00000014,20150702
-# I,0x000406F1,0x0B000040,20210519
-# I,0x00050650,0x8000002B,20160208
-# I,0x00050651,0x8000002B,20160208
-# I,0x00050652,0x80000037,20170502
-# I,0x00050653,0x0100015C,20210526
-# I,0x00050654,0x02006C0A,20210616
-# I,0x00050655,0x03000012,20190412
-# I,0x00050656,0x0400320A,20210813
-# I,0x00050657,0x0500320A,20210813
-# I,0x0005065A,0x86002302,20210416
-# I,0x0005065B,0x07002402,20210604
-# I,0x00050661,0xF1000008,20150130
-# I,0x00050662,0x0000001C,20190617
-# I,0x00050663,0x0700001C,20210612
-# I,0x00050664,0x0F00001A,20210612
-# I,0x00050665,0x0E000014,20210918
-# I,0x00050670,0xFFFF0030,20151113
-# I,0x00050671,0x000001B6,20180108
-# I,0x000506A0,0x00000038,20150112
-# I,0x000506C2,0x00000014,20180511
-# I,0x000506C8,0x90011010,20160323
-# I,0x000506C9,0x00000046,20210510
-# I,0x000506CA,0x00000022,20210622
-# I,0x000506D1,0x00000102,20150605
-# I,0x000506E0,0x00000018,20141119
-# I,0x000506E1,0x0000002A,20150602
-# I,0x000506E2,0x0000002E,20150815
-# I,0x000506E3,0x000000F0,20211112
-# I,0x000506E8,0x00000034,20160710
-# I,0x000506F0,0x00000010,20160607
-# I,0x000506F1,0x00000036,20210510
-# I,0x00060660,0x0000000C,20160821
-# I,0x00060661,0x0000000E,20170128
-# I,0x00060662,0x00000022,20171129
-# I,0x00060663,0x0000002A,20180417
-# I,0x000606A0,0x80000031,20200308
-# I,0x000606A4,0x0B000280,20200817
-# I,0x000606A5,0x0C0002F0,20210308
-# I,0x000606A6,0x0D000332,20211217
-# I,0x000606E0,0x0000000B,20161104
-# I,0x000606E1,0x00000108,20190423
-# I,0x000706A0,0x00000026,20170712
-# I,0x000706A1,0x00000038,20210510
-# I,0x000706A8,0x0000001C,20210510
-# I,0x000706E0,0x0000002C,20180614
-# I,0x000706E1,0x00000042,20190420
-# I,0x000706E2,0x00000042,20190420
-# I,0x000706E3,0x81000008,20181002
-# I,0x000706E4,0x00000046,20190905
-# I,0x000706E5,0x000000A8,20210526
-# I,0x00080650,0x00000018,20180108
-# I,0x00080664,0x0B00000F,20210217
-# I,0x00080665,0x0B00000F,20210217
-# I,0x000806A0,0x00000010,20190507
-# I,0x000806A1,0x0000002D,20210902
-# I,0x000806C0,0x00000068,20200402
-# I,0x000806C1,0x0000009C,20211026
-# I,0x000806C2,0x00000022,20210716
-# I,0x000806D0,0x00000050,20201217
-# I,0x000806D1,0x0000003C,20210716
-# I,0x000806E9,0x000000EC,20210428
-# I,0x000806EA,0x000000EC,20210428
-# I,0x000806EB,0x000000EC,20210428
-# I,0x000806EC,0x000000EC,20210428
-# I,0x00090660,0x00000009,20200617
-# I,0x00090661,0x00000015,20210921
-# I,0x00090670,0x00000019,20201111
-# I,0x00090671,0x0000001C,20210614
-# I,0x00090672,0x0000001F,20220303
-# I,0x00090674,0x00000219,20210425
-# I,0x00090675,0x0000001F,20220303
-# I,0x000906A0,0x0000001C,20210614
-# I,0x000906A1,0x0000011F,20211104
-# I,0x000906A2,0x00000315,20220102
-# I,0x000906A3,0x0000041B,20220308
-# I,0x000906A4,0x0000041B,20220308
-# I,0x000906C0,0x2400001F,20210809
-# I,0x000906E9,0x000000F0,20211112
-# I,0x000906EA,0x000000EC,20210428
-# I,0x000906EB,0x000000EC,20210428
-# I,0x000906EC,0x000000EC,20210428
-# I,0x000906ED,0x000000EC,20210428
-# I,0x000A0650,0x000000BE,20191010
-# I,0x000A0651,0x000000C2,20191113
-# I,0x000A0652,0x000000EC,20210428
-# I,0x000A0653,0x000000EC,20210428
-# I,0x000A0654,0x000000C6,20200123
-# I,0x000A0655,0x000000EE,20210428
-# I,0x000A0660,0x000000EA,20210428
-# I,0x000A0661,0x000000EC,20210429
-# I,0x000A0670,0x0000002C,20201124
-# I,0x000A0671,0x00000050,20210829
-# I,0x000A0680,0x80000002,20200121
-# I,0x000B0670,0x00000009,20211115
-# I,0x000B06F2,0x0000001F,20220303
-# I,0x000B06F5,0x0000001F,20220303
-# A,0x00000F00,0x02000008,20070614
-# A,0x00000F01,0x0000001C,20021031
-# A,0x00000F10,0x00000003,20020325
-# A,0x00000F11,0x0000001F,20030220
-# A,0x00000F48,0x00000046,20040719
-# A,0x00000F4A,0x00000047,20040719
-# A,0x00000F50,0x00000024,20021212
-# A,0x00000F51,0x00000025,20030115
-# A,0x00010F50,0x00000041,20040225
-# A,0x00020F10,0x0000004D,20050428
-# A,0x00040F01,0xC0012102,20050916
-# A,0x00040F0A,0x00000068,20060920
-# A,0x00040F13,0x0000007A,20080508
-# A,0x00040F14,0x00000062,20060127
-# A,0x00040F1B,0x0000006D,20060920
-# A,0x00040F33,0x0000007B,20080514
-# A,0x00060F80,0x00000083,20060929
-# A,0x000C0F1B,0x0000006E,20060921
-# A,0x000F0F00,0x00000005,20020627
-# A,0x000F0F01,0x00000015,20020627
-# A,0x00100F00,0x01000020,20070326
-# A,0x00100F20,0x010000CA,20100331
-# A,0x00100F22,0x010000C9,20100331
-# A,0x00100F40,0x01000085,20080501
-# A,0x00100F41,0x010000DB,20111024
-# A,0x00100F42,0x01000092,20081021
-# A,0x00100F43,0x010000C8,20100311
-# A,0x00100F62,0x010000C7,20100311
-# A,0x00100F80,0x010000DA,20111024
-# A,0x00100F81,0x010000D9,20111012
-# A,0x00100FA0,0x010000DC,20111024
-# A,0x00120F00,0x03000002,20100324
-# A,0x00200F30,0x02000018,20070921
-# A,0x00200F31,0x02000057,20080502
-# A,0x00200F32,0x02000034,20080307
-# A,0x00300F01,0x0300000E,20101004
-# A,0x00300F10,0x03000027,20111309
-# A,0x00500F00,0x0500000B,20100601
-# A,0x00500F01,0x0500001A,20100908
-# A,0x00500F10,0x05000029,20130121
-# A,0x00500F20,0x05000119,20130118
-# A,0x00580F00,0x0500000B,20100601
-# A,0x00580F01,0x0500001A,20100908
-# A,0x00580F10,0x05000028,20101124
-# A,0x00580F20,0x05000103,20110526
-# A,0x00600F00,0x06000017,20101029
-# A,0x00600F01,0x0600011F,20110227
-# A,0x00600F10,0x06000425,20110408
-# A,0x00600F11,0x0600050D,20110627
-# A,0x00600F12,0x0600063E,20180207
-# A,0x00600F20,0x06000852,20180206
-# A,0x00610F00,0x0600100E,20111102
-# A,0x00610F01,0x0600111F,20180305
-# A,0x00630F00,0x0600301C,20130817
-# A,0x00630F01,0x06003109,20180227
-# A,0x00660F00,0x06006012,20141014
-# A,0x00660F01,0x0600611A,20180126
-# A,0x00670F00,0x06006705,20180220
-# A,0x00680F00,0x06000017,20101029
-# A,0x00680F01,0x0600011F,20110227
-# A,0x00680F10,0x06000410,20110314
-# A,0x00690F00,0x06001009,20110613
-# A,0x00700F00,0x0700002A,20121218
-# A,0x00700F01,0x07000110,20180209
-# A,0x00730F00,0x07030009,20131206
-# A,0x00730F01,0x07030106,20180209
-# A,0x00800F00,0x0800002A,20161006
-# A,0x00800F10,0x0800100C,20170131
-# A,0x00800F11,0x08001138,20190204
-# A,0x00800F12,0x0800126E,20211111
-# A,0x00800F82,0x0800820D,20190416
-# A,0x00810F00,0x08100004,20161120
-# A,0x00810F10,0x08101016,20190430
-# A,0x00810F11,0x08101103,20190417
-# A,0x00810F80,0x08108002,20180605
-# A,0x00810F81,0x08108109,20190417
-# A,0x00820F00,0x08200002,20180214
-# A,0x00820F01,0x08200103,20190417
-# A,0x00830F00,0x08300027,20190401
-# A,0x00830F10,0x08301052,20211111
-# A,0x00850F00,0x08500004,20180212
-# A,0x00860F00,0x0860000E,20200127
-# A,0x00860F01,0x08600106,20200619
-# A,0x00860F81,0x08608103,20200702
-# A,0x00870F00,0x08700004,20181206
-# A,0x00870F10,0x08701021,20200125
-# A,0x00A00F00,0x0A000033,20200413
-# A,0x00A00F10,0x0A001053,20211217
-# A,0x00A00F11,0x0A00115D,20211119
-# A,0x00A00F12,0x0A001227,20211215
-# A,0x00A00F80,0x0A008003,20211015
-# A,0x00A00F82,0x0A008204,20211015
-# A,0x00A20F00,0x0A200025,20200121
-# A,0x00A20F10,0x0A201016,20210408
-# A,0x00A20F12,0x0A201205,20210719
-# A,0x00A50F00,0x0A50000C,20201208
--
2.38.1


debug log:

solving e926551550 ...
found e926551550 in https://yhetil.org/guix-patches/y76k041d9w6.wl-hako@ultrarare.space/

applying [1/1] https://yhetil.org/guix-patches/y76k041d9w6.wl-hako@ultrarare.space/
diff --git a/gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch b/gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch
new file mode 100644
index 0000000000..e926551550

1:21: space before tab in indent.
 		--cpu [#,all]		interact with CPUID and MSR of CPU core number #, or all (default: CPU core 0)
1:22: space before tab in indent.
 		--update-fwdb		update our local copy of the CPU microcodes versions database (using the awesome
1:23: space before tab in indent.
 					MCExtractor project and the Intel firmwares GitHub repository)
1:25: space before tab in indent.
 		--dump-mock-data	used to mimick a CPU on an other system, mainly used to help debugging this script
1:27: space before tab in indent.
 	Return codes:
Checking patch gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch...
Applied patch gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch cleanly.
warning: squelched 34 whitespace errors
warning: 39 lines add whitespace errors.

index at:
100644 65f7ae9f091248b61018461fc0c1bd39258bf7a1	gnu/packages/patches/spectre-meltdown-checker-remove-builtin-firmware-database.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).