Просмотр исходного кода

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 <[email protected]>
John Audia 2 лет назад
Родитель
Сommit
0c5ffe1ab2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      target/linux/x86/config-5.10

+ 1 - 1
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