1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kernel/cpu/microcode
Borislav Petkov (AMD) 080990aa33 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.com
2023-11-21 16:35:48 +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: Rework early revisions reporting 2023-11-21 16:35:48 +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