2024-06-04 11:38:50

by Jinjie Ruan

[permalink] [raw]
Subject: [PATCH] Documentation: kernel-parameters: Add RISCV for nohlt

Since commit bcf11b5e99b2 ("riscv: Enable idle generic idle loop") enable
idle generic idle loop for RISCV, but the document is not updated
synchronously, so update RISCV support for nohlt.

Signed-off-by: Jinjie Ruan <[email protected]>
Fixes: bcf11b5e99b2 ("riscv: Enable idle generic idle loop")
---
Documentation/admin-guide/kernel-parameters.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index b600df82669d..821dafffa119 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3936,7 +3936,7 @@

nohibernate [HIBERNATION] Disable hibernation and resume.

- nohlt [ARM,ARM64,MICROBLAZE,MIPS,PPC,SH] Forces the kernel to
+ nohlt [ARM,ARM64,MICROBLAZE,MIPS,PPC,RISCV,SH] Forces the kernel to
busy wait in do_idle() and not use the arch_cpu_idle()
implementation; requires CONFIG_GENERIC_IDLE_POLL_SETUP
to be effective. This is useful on platforms where the
--
2.34.1



2024-06-12 21:32:35

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: kernel-parameters: Add RISCV for nohlt

Jinjie Ruan <[email protected]> writes:

> Since commit bcf11b5e99b2 ("riscv: Enable idle generic idle loop") enable
> idle generic idle loop for RISCV, but the document is not updated
> synchronously, so update RISCV support for nohlt.
>
> Signed-off-by: Jinjie Ruan <[email protected]>
> Fixes: bcf11b5e99b2 ("riscv: Enable idle generic idle loop")
> ---
> Documentation/admin-guide/kernel-parameters.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

jon