aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2019-04-05 00:28:11 -0400
committerBorislav Petkov <bp@suse.de>2019-04-10 16:43:24 -0400
commitc02f48e070bde326f55bd94544ca82291f7396e3 (patch)
treea7bf45622f32bdc2461a357a982ebab2eda4ed09
parent24613a04ad1c0588c10f4b5403ca60a73d164051 (diff)
x86/microcode: Deprecate MICROCODE_OLD_INTERFACE
This is the ancient loading interface which requires special tools to be used. The bigger problem with it is that it is as inadequate for proper loading of microcode as the late microcode loading interface is because it happens just as late. iucode_tool's manpage already warns people that it is deprecated. Deprecate it and turn it off by default along with a big fat warning in the Kconfig help. It will go away sometime in the future. Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: x86@kernel.org Link: https://lkml.kernel.org/r/20190405133010.24249-4-bp@alien8.de
-rw-r--r--arch/x86/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5ad92419be19..5a0a752f3ddd 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1330,8 +1330,16 @@ config MICROCODE_AMD
1330 processors will be enabled. 1330 processors will be enabled.
1331 1331
1332config MICROCODE_OLD_INTERFACE 1332config MICROCODE_OLD_INTERFACE
1333 def_bool y 1333 bool "Ancient loading interface (DEPRECATED)"
1334 default n
1334 depends on MICROCODE 1335 depends on MICROCODE
1336 ---help---
1337 DO NOT USE THIS! This is the ancient /dev/cpu/microcode interface
1338 which was used by userspace tools like iucode_tool and microcode.ctl.
1339 It is inadequate because it runs too late to be able to properly
1340 load microcode on a machine and it needs special tools. Instead, you
1341 should've switched to the early loading method with the initrd or
1342 builtin microcode by now: Documentation/x86/microcode.txt
1335 1343
1336config X86_MSR 1344config X86_MSR
1337 tristate "/dev/cpu/*/msr - Model-specific register support" 1345 tristate "/dev/cpu/*/msr - Model-specific register support"