2009-03-06 12:29:41

by Paulius Zaleckas

[permalink] [raw]
Subject: [PATCH] Add documentation for "nohlt" kernel parameter

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

Signed-off-by: Paulius Zaleckas <[email protected]>
---

Documentation/kernel-parameters.txt | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 54f21a5..de06666 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -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 usefull when using JTAG debugger.

no-hlt [BUGS=X86-32] Tells the kernel that the hlt
instruction doesn't work correctly and not to


2009-03-06 16:14:48

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] Add documentation for "nohlt" kernel parameter

Paulius Zaleckas wrote:
> As per discussion in:
> http://marc.info/?l=linux-arm-kernel&m=123633652517391&w=2
>
> Signed-off-by: Paulius Zaleckas <[email protected]>
> ---
>
> Documentation/kernel-parameters.txt | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 54f21a5..de06666 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -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 usefull when using JTAG debugger.

useful
>
> no-hlt [BUGS=X86-32] Tells the kernel that the hlt
> instruction doesn't work correctly and not to


--
~Randy