Commit 080990a
committed
x86/microcode: Rework early revisions reporting
The AMD side of the loader issues the microcode revision for each
logical thread on the system, which can become really noisy on huge
machines. And doing that doesn't make a whole lot of sense - the
microcode revision is already in /proc/cpuinfo.
So in case one is interested in the theoretical support of mixed silicon
steppings on AMD, one can check there.
What is also missing on the AMD side - something which people have
requested before - is showing the microcode revision the CPU had
*before* the early update.
So abstract that up in the main code and have the BSP on each vendor
provide those revision numbers.
Then, dump them only once on driver init.
On Intel, do not dump the patch date - it is not needed.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/CAHk-=wg=%2B8rceshMkB4VnKxmRccVLtBLPBawnewZuuqyx5U=3A@mail.gmail.com1 parent 2e569ad commit 080990a
File tree
4 files changed
+37
-44
lines changed- arch/x86/kernel/cpu/microcode
4 files changed
+37
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
| |||
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | | - | |
| 443 | + | |
446 | 444 | | |
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
450 | | - | |
451 | 448 | | |
452 | 449 | | |
453 | 450 | | |
| |||
457 | 454 | | |
458 | 455 | | |
459 | 456 | | |
460 | | - | |
461 | | - | |
462 | 457 | | |
463 | 458 | | |
464 | 459 | | |
465 | 460 | | |
466 | 461 | | |
467 | | - | |
| 462 | + | |
468 | 463 | | |
469 | 464 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 465 | + | |
476 | 466 | | |
477 | 467 | | |
478 | 468 | | |
| |||
506 | 496 | | |
507 | 497 | | |
508 | 498 | | |
509 | | - | |
| 499 | + | |
510 | 500 | | |
511 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
512 | 505 | | |
513 | 506 | | |
514 | 507 | | |
| |||
517 | 510 | | |
518 | 511 | | |
519 | 512 | | |
520 | | - | |
| 513 | + | |
| 514 | + | |
521 | 515 | | |
522 | 516 | | |
523 | 517 | | |
| |||
625 | 619 | | |
626 | 620 | | |
627 | 621 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
| 622 | + | |
| 623 | + | |
632 | 624 | | |
633 | 625 | | |
634 | 626 | | |
| |||
649 | 641 | | |
650 | 642 | | |
651 | 643 | | |
652 | | - | |
653 | | - | |
654 | 644 | | |
655 | 645 | | |
656 | 646 | | |
| |||
691 | 681 | | |
692 | 682 | | |
693 | 683 | | |
694 | | - | |
695 | | - | |
696 | 684 | | |
697 | 685 | | |
698 | 686 | | |
| |||
935 | 923 | | |
936 | 924 | | |
937 | 925 | | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | 926 | | |
944 | 927 | | |
945 | 928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
157 | 159 | | |
158 | | - | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
826 | 828 | | |
827 | 829 | | |
828 | 830 | | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
829 | 836 | | |
830 | 837 | | |
831 | 838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
| 342 | + | |
344 | 343 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 344 | + | |
352 | 345 | | |
353 | 346 | | |
354 | 347 | | |
| |||
413 | 406 | | |
414 | 407 | | |
415 | 408 | | |
416 | | - | |
| 409 | + | |
417 | 410 | | |
418 | 411 | | |
419 | 412 | | |
| 413 | + | |
| 414 | + | |
420 | 415 | | |
421 | 416 | | |
422 | 417 | | |
| 418 | + | |
| 419 | + | |
423 | 420 | | |
424 | 421 | | |
425 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | | - | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| |||
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | | - | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
116 | | - | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| |||
0 commit comments