LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: nmi - document lapic and ioapic parameters
@ 2008-10-31 19:23 Cyrill Gorcunov
  2008-10-31 19:28 ` Aristeu Rozanski
  2008-10-31 21:22 ` Yinghai Lu
  0 siblings, 2 replies; 7+ messages in thread
From: Cyrill Gorcunov @ 2008-10-31 19:23 UTC (permalink / raw)
  To: Ingo Molnar, Maciej W. Rozycki, Aristeu Rozanski
  Cc: H. Peter Anvin, LKML, Thomas Gleixner

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 19:23 [PATCH] x86: nmi - document lapic and ioapic parameters Cyrill Gorcunov
@ 2008-10-31 19:28 ` Aristeu Rozanski
  2008-10-31 21:22 ` Yinghai Lu
  1 sibling, 0 replies; 7+ messages in thread
From: Aristeu Rozanski @ 2008-10-31 19:28 UTC (permalink / raw)
  To: Cyrill Gorcunov
  Cc: Ingo Molnar, Maciej W. Rozycki, H. Peter Anvin, LKML, Thomas Gleixner

> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> ---
> 
> 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 <aris@ruivo.org>

-- 
Aristeu


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 19:23 [PATCH] x86: nmi - document lapic and ioapic parameters Cyrill Gorcunov
  2008-10-31 19:28 ` Aristeu Rozanski
@ 2008-10-31 21:22 ` Yinghai Lu
  2008-10-31 21:39   ` H. Peter Anvin
  1 sibling, 1 reply; 7+ messages in thread
From: Yinghai Lu @ 2008-10-31 21:22 UTC (permalink / raw)
  To: Cyrill Gorcunov
  Cc: Ingo Molnar, Maciej W. Rozycki, Aristeu Rozanski, H. Peter Anvin,
	LKML, Thomas Gleixner

On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> ---
>
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 21:22 ` Yinghai Lu
@ 2008-10-31 21:39   ` H. Peter Anvin
  2008-10-31 21:41     ` Yinghai Lu
  2008-11-01  6:09     ` Cyrill Gorcunov
  0 siblings, 2 replies; 7+ messages in thread
From: H. Peter Anvin @ 2008-10-31 21:39 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Cyrill Gorcunov, Ingo Molnar, Maciej W. Rozycki,
	Aristeu Rozanski, LKML, Thomas Gleixner

Yinghai Lu wrote:
> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
>> ---
>>
>> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 21:39   ` H. Peter Anvin
@ 2008-10-31 21:41     ` Yinghai Lu
  2008-11-01  5:56       ` Cyrill Gorcunov
  2008-11-01  6:09     ` Cyrill Gorcunov
  1 sibling, 1 reply; 7+ messages in thread
From: Yinghai Lu @ 2008-10-31 21:41 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Cyrill Gorcunov, Ingo Molnar, Maciej W. Rozycki,
	Aristeu Rozanski, LKML, Thomas Gleixner

H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>>> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
>>> ---
>>>
>>> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 21:41     ` Yinghai Lu
@ 2008-11-01  5:56       ` Cyrill Gorcunov
  0 siblings, 0 replies; 7+ messages in thread
From: Cyrill Gorcunov @ 2008-11-01  5:56 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: H. Peter Anvin, Ingo Molnar, Maciej W. Rozycki, Aristeu Rozanski,
	LKML, Thomas Gleixner

On Sat, Nov 1, 2008 at 12:41 AM, Yinghai Lu <yinghai@kernel.org> wrote:
> H. Peter Anvin wrote:
>> Yinghai Lu wrote:
>>> On Fri, Oct 31, 2008 at 12:23 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>>>> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
>>>> ---
>>>>
>>>> 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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] x86: nmi - document lapic and ioapic parameters
  2008-10-31 21:39   ` H. Peter Anvin
  2008-10-31 21:41     ` Yinghai Lu
@ 2008-11-01  6:09     ` Cyrill Gorcunov
  1 sibling, 0 replies; 7+ messages in thread
From: Cyrill Gorcunov @ 2008-11-01  6:09 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Yinghai Lu, Ingo Molnar, Maciej W. Rozycki, Aristeu Rozanski,
	LKML, Thomas Gleixner

On Sat, Nov 1, 2008 at 12:39 AM, H. Peter Anvin <hpa@zytor.com> 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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-11-01  6:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-31 19:23 [PATCH] x86: nmi - document lapic and ioapic parameters Cyrill Gorcunov
2008-10-31 19:28 ` Aristeu Rozanski
2008-10-31 21:22 ` Yinghai Lu
2008-10-31 21:39   ` H. Peter Anvin
2008-10-31 21:41     ` Yinghai Lu
2008-11-01  5:56       ` Cyrill Gorcunov
2008-11-01  6:09     ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).