Skip to contentSkip to conversation

x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt

PATCH In review Fenghua Yu 3 participants 4 messages Sep 4, 2014 – Sep 9, 2014 Documentation

lore
Share & tools
lore

Fenghua Yu

author
#0 lore raw

PATCH 1/1 x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt

From: Fenghua Yu <[email protected]>

The kernel parameter dis_ucode_ldr disables early loading microcode from initrd. The parameter was introduced earlier by Borislave Petkov.

This patch adds the explanation for this parameter in Documentation/kernel-parameters.txt for user convenience.

---
 Documentation/kernel-parameters.txt | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/kernel-parameters.txt +7 -0
index 5ae8608..eef098f 100644
@@ -841,6 +841,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 	dhash_entries=	[KNL]
 			Set number of hash buckets for dentry cache.
 
+	dis_ucode_ldr	[X86]
+			This parameter disables the early microcode loader.
+			This is useful mostly in debugging situations where
+			we want to turn off early microcode loading from the
+			initrd, as a means to be able to rule out its
+			influence on the machine.
+
 	disable=	[IPV6]
 			See Documentation/networking/ipv6.txt.
 
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 4 lines · Fenghua Yu

From: Fenghua Yu <[email protected]>

The kernel parameter dis_ucode_ldr disables early loading microcode from initrd. The parameter was introduced earlier by Borislave Petkov.

My name is Borislav Petkov, without an "e".

Quoted 2 lines

This patch adds the explanation for this parameter in Documentation/kernel-parameters.txt for user convenience.

As I said earlier, I don't want to do exactly that because this parameter should be used only to rule out microcode loading causes a problem and not regularly. I know, it doesn't stop people from looking at the code but still.

So NAK.

Signature · 3 lines
Regards/Gruss,
    Boris.
--
#2 lore raw
Quoted 9 lines · Borislav Petkov
Quoted 3 lines

This patch adds the explanation for this parameter in Documentation/kernel-parameters.txt for user convenience.

As I said earlier, I don't want to do exactly that because this parameter should be used only to rule out microcode loading causes a problem and not regularly. I know, it doesn't stop people from looking at the code but still.

Are you genuinely saying we shouldn't document this command line parameter? Sorry, it really doesn't work that way.

-hpa

#3 lore raw
Quoted 2 lines · H. Peter Anvin

Are you genuinely saying we shouldn't document this command line parameter? Sorry, it really doesn't work that way.

My intent is to keep this one from getting abused for the wrong reasons. Not documenting it is probably not going to get me that in the end, though. Right.

Signature · 3 lines
Regards/Gruss,
    Boris.
--