diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2024-11-19 12:21:33 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-11-25 11:43:21 +0100 |
commit | c809b0d0e52d01c30066367b2952c4c4186b1047 (patch) | |
tree | 48566e2ba201e5858dd8b3db9173de60d9924b99 /drivers/cdx/controller/cdx_controller.c | |
parent | f1d84b59cbb9547c243d93991acf187fdbe9fbe9 (diff) | |
download | linux-c809b0d0e52d01c30066367b2952c4c4186b1047.tar.gz linux-c809b0d0e52d01c30066367b2952c4c4186b1047.tar.bz2 linux-c809b0d0e52d01c30066367b2952c4c4186b1047.zip |
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> # f1d84b59cbb9 ("x86/mm: Carve out INVLPG inline asm for use by others")
Link: https://lore.kernel.org/r/ZyulbYuvrkshfsd2@antipodes
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions