Skip to contentSkip to conversation

Add documentation for "nohlt" kernel parameter

PATCH In review Paulius Zaleckas 2 participants 3 messages Mar 6, 2009 – Mar 27, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add documentation for "nohlt" kernel parameter

As per discussion in:
http://marc.info/?l=linux-arm-kernel&m3633652517391&w=2

v2:
- usefull<->useful

---

 Documentation/kernel-parameters.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Documentation/kernel-parameters.txt +3 -1
index 54f21a5..5d251ad 100644
@@ -1487,7 +1487,9 @@ and is between 256 and 4096 characters. It is defined in the file
 
 	noclflush	[BUGS=X86] Don't use the CLFLUSH instruction
 
-	nohlt		[BUGS=ARM,SH]
+	nohlt		[BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
+			wfi(ARM) instruction doesn't work correctly and not to
+			use it. This is also useful when using JTAG debugger.
 
 	no-hlt		[BUGS=X86-32] Tells the kernel that the hlt
 			instruction doesn't work correctly and not to
#2 lore raw
In reply to Paulius Zaleckas
Quoted 18 lines · Paulius Zaleckas

As per discussion in:
http://marc.info/?l=linux-arm-kernel&m3633652517391&w=2

v2:
- usefull<->useful

---

 Documentation/kernel-parameters.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Documentation/kernel-parameters.txt +0 -0
index 54f21a5..5d251ad 100644

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. It is defined in the file · line 1495

Quoted 10 lines
Documentation/kernel-parameters.txt +3 -1
@@ -1487,7 +1487,9 @@ and is between 256 and 4096 characters. It is defined in the file
 
 	noclflush	[BUGS=X86] Don't use the CLFLUSH instruction
 
-	nohlt		[BUGS=ARM,SH]
+	nohlt		[BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
+			wfi(ARM) instruction doesn't work correctly and not to
+			use it. This is also useful when using JTAG debugger.
 
 	no-hlt		[BUGS=X86-32] Tells the kernel that the hlt
 			instruction doesn't work correctly and not to

Can I get your ACK on this?
I already have: Acked-by: Paul Mundt <[email protected]>