mirror-linux/arch/x86/kernel/cpu/microcode
Borislav Petkov (AMD) d576547f48 x86/microcode/AMD: Fix mixed steppings support
commit 7ff6edf4fe upstream.

The AMD side of the loader has always claimed to support mixed
steppings. But somewhere along the way, it broke that by assuming that
the cached patch blob is a single one instead of it being one per
*node*.

So turn it into a per-node one so that each node can stash the blob
relevant for it.

  [ NB: Fixes tag is not really the exactly correct one but it is good
    enough. ]

Fixes: fe055896c0 ("x86/microcode: Merge the early microcode loader")
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org> # 2355370cd9 ("x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter")
Cc: <stable@kernel.org> # a5ad92134b ("x86/microcode/AMD: Add a @cpu parameter to the reloading functions")
Link: https://lore.kernel.org/r/20230130161709.11615-4-bp@alien8.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:14 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amd.c x86/microcode/AMD: Fix mixed steppings support 2023-03-10 09:34:14 +01:00
core.c x86/microcode/AMD: Add a @cpu parameter to the reloading functions 2023-03-10 09:34:14 +01:00
intel.c use less confusing names for iov_iter direction initializers 2023-02-09 11:28:04 +01:00