forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit2613f36
x86/microcode: Attempt late loading only when new microcode is present
Return UCODE_NEW from the scanning functions to denote that new microcodewas found and only then attempt the expensive synchronization dance.Reported-by: Emanuel Czirai <xftroxgpx@protonmail.com>Signed-off-by: Borislav Petkov <bp@suse.de>Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Tested-by: Emanuel Czirai <xftroxgpx@protonmail.com>Tested-by: Ashok Raj <ashok.raj@intel.com>Tested-by: Tom Lendacky <thomas.lendacky@amd.com>Link:https://lkml.kernel.org/r/20180314183615.17629-1-bp@alien8.de1 parente3b3121 commit2613f36
File tree
4 files changed
+28
-19
lines changed- arch/x86
- include/asm
- kernel/cpu/microcode
4 files changed
+28
-19
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
342 |
| - | |
| 342 | + | |
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| |||
683 | 683 |
| |
684 | 684 |
| |
685 | 685 |
| |
| 686 | + | |
686 | 687 |
| |
687 | 688 |
| |
688 | 689 |
| |
689 | 690 |
| |
690 | 691 |
| |
691 | 692 |
| |
692 |
| - | |
693 |
| - | |
| 693 | + | |
694 | 694 |
| |
| 695 | + | |
| 696 | + | |
695 | 697 |
| |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
703 |
| - | |
704 |
| - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
705 | 706 |
| |
706 |
| - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
707 | 715 |
| |
708 | 716 |
| |
709 | 717 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
607 | 607 |
| |
608 | 608 |
| |
609 | 609 |
| |
610 |
| - | |
| 610 | + | |
611 | 611 |
| |
612 | 612 |
| |
613 | 613 |
| |
| |||
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
| 694 | + | |
| 695 | + | |
698 | 696 |
| |
699 | 697 |
| |
700 | 698 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
| 865 | + | |
865 | 866 |
| |
866 | 867 |
| |
867 | 868 |
| |
| |||
903 | 904 |
| |
904 | 905 |
| |
905 | 906 |
| |
| 907 | + | |
906 | 908 |
| |
907 | 909 |
| |
908 | 910 |
| |
| |||
932 | 934 |
| |
933 | 935 |
| |
934 | 936 |
| |
935 |
| - | |
| 937 | + | |
936 | 938 |
| |
937 | 939 |
| |
938 | 940 |
| |
|
0 commit comments
Comments
(0)