Loading
x86/microcode/AMD: Rip out static buffers
mainline inclusion from mainline-v6.6-rc1 commit 05e91e72 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAU6ZD Reference: https://github.com/torvalds/linux/commit/05e91e72113833385fb8c9a33bda9dbd93e27609 -------------------------------- commit 05e91e72 upstream Load straight from the containers (initrd or builtin, for example). There's no need to cache the patch per node. This even simplifies the code a bit with the opportunity for more cleanups later. [Backport changes] 1. In `arch/x86/kernel/cpu/microcode/core.c` file, the `X86_VENDOR_HYGON` case is required for the current kernel. Since, the old call `load_ucode_amd_ap()` is replaced by `load_ucode_amd_early()` as per the upstream patch, changing `load_ucode_amd_ap()` to `load_ucode_amd_early()`. Signed-off-by:Borislav Petkov (AMD) <bp@alien8.de> Tested-by:
John Allen <john.allen@amd.com> Link: https://lore.kernel.org/r/20230720202813.3269888-1-john.allen@amd.com Signed-off-by:
Hemanth Selam <Hemanth.Selam@amd.com> Signed-off-by:
PvsNarasimha <PVS.NarasimhaRao@amd.com>