2008-10-31 19:24:19

by Cyrill Gorcunov

[permalink] [raw]
Subject: [PATCH] x86: nmi - document lapic and ioapic parameters

Signed-off-by: Cyrill Gorcunov <[email protected]>
---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================
--- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
+++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
@@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
Format: [state][,regs][,debounce][,die]

nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
+ Format: [panic,][num]
+ Valid num: 0,1,2
+ 0 - turn nmi_watchdog off
+ 1 - use IO-APIC
+ 2 - use local APIC
+ Instead of 1 and 2 it is possible to use the following
+ symbolic names: lapic and ioapic
+ Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic

no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
emulation library even if a 387 maths coprocessor


2008-10-31 19:27:22

by Aristeu Rozanski

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

> Signed-off-by: Cyrill Gorcunov <[email protected]>
> ---
>
> On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2
>
> Index: linux-2.6.git/Documentation/kernel-parameters.txt
> ===================================================================
> --- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
> +++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
> @@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
> Format: [state][,regs][,debounce][,die]
>
> nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
> + Format: [panic,][num]
> + Valid num: 0,1,2
> + 0 - turn nmi_watchdog off
> + 1 - use IO-APIC
> + 2 - use local APIC
> + Instead of 1 and 2 it is possible to use the following
> + symbolic names: lapic and ioapic
> + Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic
>
> no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
> emulation library even if a 387 maths coprocessor

Acked-by: Aristeu Rozanski <[email protected]>

--
Aristeu

2008-10-31 21:22:46

by Yinghai Lu

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <[email protected]> wrote:
> Signed-off-by: Cyrill Gorcunov <[email protected]>
> ---
>
> On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2
>
> Index: linux-2.6.git/Documentation/kernel-parameters.txt
> ===================================================================
> --- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
> +++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
> @@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
> Format: [state][,regs][,debounce][,die]
>
> nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
> + Format: [panic,][num]
> + Valid num: 0,1,2
> + 0 - turn nmi_watchdog off
> + 1 - use IO-APIC
> + 2 - use local APIC
> + Instead of 1 and 2 it is possible to use the following
> + symbolic names: lapic and ioapic
> + Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic
>
> no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
> emulation library even if a 387 maths coprocessor
> --

please update

Documentation/x86/x86_64/boot-options.txt

too.

YH

2008-10-31 21:39:57

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

Yinghai Lu wrote:
> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <[email protected]> wrote:
>> Signed-off-by: Cyrill Gorcunov <[email protected]>
>> ---
>>
>> On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2
>>
>> Index: linux-2.6.git/Documentation/kernel-parameters.txt
>> ===================================================================
>> --- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
>> +++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
>> @@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
>> Format: [state][,regs][,debounce][,die]
>>
>> nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
>> + Format: [panic,][num]
>> + Valid num: 0,1,2
>> + 0 - turn nmi_watchdog off
>> + 1 - use IO-APIC
>> + 2 - use local APIC
>> + Instead of 1 and 2 it is possible to use the following
>> + symbolic names: lapic and ioapic
>> + Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic
>>
>> no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
>> emulation library even if a 387 maths coprocessor
>> --
>
> please update
>
> Documentation/x86/x86_64/boot-options.txt
>

If it's in x86-64, it's not =X86-32, so something is fishy. The
x86_64/boot-options.txt file really should be merged into
kernel-parameters.txt.

-hpa

2008-10-31 21:41:59

by Yinghai Lu

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <[email protected]> wrote:
>>> Signed-off-by: Cyrill Gorcunov <[email protected]>
>>> ---
>>>
>>> On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2
>>>
>>> Index: linux-2.6.git/Documentation/kernel-parameters.txt
>>> ===================================================================
>>> --- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
>>> +++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
>>> @@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
>>> Format: [state][,regs][,debounce][,die]
>>>
>>> nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
>>> + Format: [panic,][num]
>>> + Valid num: 0,1,2
>>> + 0 - turn nmi_watchdog off
>>> + 1 - use IO-APIC
>>> + 2 - use local APIC
>>> + Instead of 1 and 2 it is possible to use the following
>>> + symbolic names: lapic and ioapic
>>> + Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic
>>>
>>> no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
>>> emulation library even if a 387 maths coprocessor
>>> --
>> please update
>>
>> Documentation/x86/x86_64/boot-options.txt
>>
>
> If it's in x86-64, it's not =X86-32, so something is fishy. The
> x86_64/boot-options.txt file really should be merged into
> kernel-parameters.txt.

should have all command line etc in source code .c, and use some tools to extract them to keep them consistent.

YH

2008-11-01 05:56:22

by Cyrill Gorcunov

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

On Sat, Nov 1, 2008 at 12:41 AM, Yinghai Lu <[email protected]> wrote:
> H. Peter Anvin wrote:
>> Yinghai Lu wrote:
>>> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <[email protected]> wrote:
>>>> Signed-off-by: Cyrill Gorcunov <[email protected]>
>>>> ---
>>>>
>>>> On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2
>>>>
>>>> Index: linux-2.6.git/Documentation/kernel-parameters.txt
>>>> ===================================================================
>>>> --- linux-2.6.git.orig/Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300
>>>> +++ linux-2.6.git/Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300
>>>> @@ -1404,6 +1404,14 @@ and is between 256 and 4096 characters.
>>>> Format: [state][,regs][,debounce][,die]
>>>>
>>>> nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
>>>> + Format: [panic,][num]
>>>> + Valid num: 0,1,2
>>>> + 0 - turn nmi_watchdog off
>>>> + 1 - use IO-APIC
>>>> + 2 - use local APIC
>>>> + Instead of 1 and 2 it is possible to use the following
>>>> + symbolic names: lapic and ioapic
>>>> + Example: nmi_watchdog=2 or nmi_watchdog=panic,lapic
>>>>
>>>> no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
>>>> emulation library even if a 387 maths coprocessor
>>>> --
>>> please update
>>>
>>> Documentation/x86/x86_64/boot-options.txt
>>>
>>
>> If it's in x86-64, it's not =X86-32, so something is fishy. The
>> x86_64/boot-options.txt file really should be merged into
>> kernel-parameters.txt.
>
> should have all command line etc in source code .c, and use some tools to extract them to keep them consistent.
>
> YH
>
>

Will update boot-options.txt by a separate patch later. Thanks!

2008-11-01 06:09:52

by Cyrill Gorcunov

[permalink] [raw]
Subject: Re: [PATCH] x86: nmi - document lapic and ioapic parameters

On Sat, Nov 1, 2008 at 12:39 AM, H. Peter Anvin <[email protected]> wrote:
...
>
> If it's in x86-64, it's not =X86-32, so something is fishy. The
> x86_64/boot-options.txt file really should be merged into
> kernel-parameters.txt.
>
> -hpa
>
>
Will fix it too (ie remove this x86-32 marker). Thanks!