1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kernel/cpu/microcode
Borislav Petkov (AMD) 9c21ea53e6 x86/microcode/intel: Set new revision only after a successful update
This was meant to be done only when early microcode got updated
successfully. Move it into the if-branch.

Also, make sure the current revision is read unconditionally and only
once.

Fixes: 080990aa33 ("x86/microcode: Rework early revisions reporting")
Reported-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Ashok Raj <ashok.raj@intel.com>
Link: https://lore.kernel.org/r/ZWjVt5dNRjbcvlzR@a4bf019067fa.jf.intel.com
2023-12-03 11:49:53 +01:00
..
amd.c x86/microcode: Rework early revisions reporting 2023-11-21 16:35:48 +01:00
core.c x86/microcode: Rework early revisions reporting 2023-11-21 16:35:48 +01:00
intel.c x86/microcode/intel: Set new revision only after a successful update 2023-12-03 11:49:53 +01:00
internal.h x86/microcode: Rework early revisions reporting 2023-11-21 16:35:48 +01:00
Makefile x86/microcode: Hide the config knob 2023-08-13 10:26:39 +02:00