2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/x86/kernel/cpu/microcode
Borislav Petkov (AMD) c809b0d0e5 x86/microcode/AMD: Flush patch buffer mapping after application
Due to specific requirements while applying microcode patches on Zen1
and 2, the patch buffer mapping needs to be flushed from the TLB after
application. Do so.

If not, unnecessary and unnatural delays happen in the boot process.

Reported-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: <stable@kernel.org> # f1d84b59cb ("x86/mm: Carve out INVLPG inline asm for use by others")
Link: https://lore.kernel.org/r/ZyulbYuvrkshfsd2@antipodes
2024-11-25 11:43:21 +01:00
..
amd.c x86/microcode/AMD: Flush patch buffer mapping after application 2024-11-25 11:43:21 +01:00
core.c x86/microcode: Remove unused struct cpu_info_ctx 2024-05-06 11:00:57 +02:00
intel.c x86/microcode/intel: Remove unnecessary cache writeback and invalidation 2024-10-25 18:12:03 +02: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