* [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt
@ 2014-09-04 19:07 Fenghua Yu
2014-09-05 8:57 ` Borislav Petkov
0 siblings, 1 reply; 4+ messages in thread
From: Fenghua Yu @ 2014-09-04 19:07 UTC (permalink / raw)
To: H. Peter Anvin, Ingo Molnar, Thomas Gleixner, Borislav Petkov,
Henrique de Moraes Holschuh
Cc: linux-kernel, x86, Fenghua Yu
From: Fenghua Yu <fenghua.yu@intel.com>
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.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
---
Documentation/kernel-parameters.txt | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 5ae8608..eef098f 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -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.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt
2014-09-04 19:07 [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt Fenghua Yu
@ 2014-09-05 8:57 ` Borislav Petkov
2014-09-08 19:09 ` H. Peter Anvin
0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2014-09-05 8:57 UTC (permalink / raw)
To: Fenghua Yu
Cc: H. Peter Anvin, Ingo Molnar, Thomas Gleixner,
Henrique de Moraes Holschuh, linux-kernel, x86
On Thu, Sep 04, 2014 at 12:07:06PM -0700, Fenghua Yu wrote:
> From: Fenghua Yu <fenghua.yu@intel.com>
>
> 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".
> 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.
--
Regards/Gruss,
Boris.
--
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt
2014-09-05 8:57 ` Borislav Petkov
@ 2014-09-08 19:09 ` H. Peter Anvin
2014-09-09 6:48 ` Borislav Petkov
0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2014-09-08 19:09 UTC (permalink / raw)
To: Borislav Petkov, Fenghua Yu
Cc: Ingo Molnar, Thomas Gleixner, Henrique de Moraes Holschuh,
linux-kernel, x86
On 09/05/2014 01:57 AM, Borislav Petkov wrote:
>
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt
2014-09-08 19:09 ` H. Peter Anvin
@ 2014-09-09 6:48 ` Borislav Petkov
0 siblings, 0 replies; 4+ messages in thread
From: Borislav Petkov @ 2014-09-09 6:48 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Fenghua Yu, Ingo Molnar, Thomas Gleixner,
Henrique de Moraes Holschuh, linux-kernel, x86
On Mon, Sep 08, 2014 at 12:09:12PM -0700, H. Peter Anvin wrote:
> 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.
--
Regards/Gruss,
Boris.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-09 6:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-04 19:07 [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt Fenghua Yu
2014-09-05 8:57 ` Borislav Petkov
2014-09-08 19:09 ` H. Peter Anvin
2014-09-09 6:48 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox