From: John Audia Date: Sat, 11 Mar 2023 19:03:00 +0000 (-0500) Subject: x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE X-Git-Tag: v22.03.4~42 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=999cb9574fde9ca42417ab535e99007388cee84a;p=openwrt%2Fstaging%2Fhauke.git x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE We use late loading[1] so need to set this option despite upstream adding a kernel taint when this option is set. See discussion in PR#12149 for more details. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v5.10.173&id2=v5.10.172 1. https://github.com/openwrt/openwrt/blob/master/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode Signed-off-by: John Audia (cherry picked from commit 0c5ffe1ab2b4843635555e2a234f8bd5cb4d6978) --- diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10 index 13a698d05d..6868dec18a 100644 --- a/target/linux/x86/config-5.10 +++ b/target/linux/x86/config-5.10 @@ -218,7 +218,7 @@ CONFIG_MEMFD_CREATE=y CONFIG_MICROCODE=y CONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_INTEL=y -CONFIG_MICROCODE_OLD_INTERFACE=y +CONFIG_MICROCODE_LATE_LOADING=y CONFIG_MIGRATION=y # CONFIG_MK6 is not set # CONFIG_MK7 is not set