Skip to contentSkip to conversation

x86: nmi - document lapic and ioapic parameters

PATCH In review Cyrill Gorcunov 4 participants 7 messages Oct 31, 2008 – Nov 1, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: nmi - document lapic and ioapic parameters

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Documentation/kernel-parameters.txt +8 -0
Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================
@@ -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 on v1 1/1
#1 lore raw
Quoted 14 lines

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================

Documentation/kernel-parameters.txt +1 -0
@@ -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]

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. · line 1417

Quoted 10 lines
Documentation/kernel-parameters.txt +7 -0
+			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
Signature · 1 line
Aristeu
#2 lore raw
In reply to Cyrill Gorcunov
Quoted 15 lines · Cyrill Gorcunov

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +2 -0
@@ -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

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 and is between 256 and 4096 characters.

Quoted 10 lines
Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +6 -1
+                       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

#3 lore raw
Quoted 23 lines · Yinghai Lu
Quoted 22 lines · Cyrill Gorcunov

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +8 -0
@@ -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
 
Quoted 8 lines

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 and is between 256 and 4096 characters.

Quoted 3 lines
Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +0 -1
       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

#4 lore raw
Quoted 29 lines · H. Peter Anvin
Quoted 28 lines · Yinghai Lu
Quoted 15 lines · Cyrill Gorcunov

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +2 -0
@@ -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

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 and is between 256 and 4096 characters.

Quoted 10 lines
Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +6 -1
+                       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

Quoted 6 lines
Quoted 2 lines

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

#5 lore raw
Quoted 33 lines · Yinghai Lu
Quoted 32 lines · H. Peter Anvin
Quoted 30 lines · Yinghai Lu
Quoted 15 lines · Cyrill Gorcunov

---

On top of -tip dda51106620c328b50007c259b9ef8cea2b7c3d2

Index: linux-2.6.git/Documentation/kernel-parameters.txt
===================================================================

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +2 -0
@@ -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

Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 and is between 256 and 4096 characters.

Quoted 10 lines
Documentation/kernel-parameters.txt 2008-10-31 22:21:59.000000000 +0300 renamed from Documentation/kernel-parameters.txt 2008-10-27 21:35:08.000000000 +0300 +6 -1
+                       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

Quoted 9 lines
Quoted 3 lines

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!

#6 lore raw
In reply to H. Peter Anvin

On Sat, Nov 1, 2008 at 12:39 AM, H. Peter Anvin <[email protected]> wrote:
...

Quoted 8 lines

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!