[openwrt/openwrt] x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 20 15:08:36 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0c5ffe1ab2b4843635555e2a234f8bd5cb4d6978

commit 0c5ffe1ab2b4843635555e2a234f8bd5cb4d6978
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Sat Mar 11 14:03:00 2023 -0500

    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 <therealgraysky at proton.me>
---
 target/linux/x86/config-5.10 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the lede-commits mailing list