* [PATCH] arch/x86/Kconfig: specify idle=poll instead of no-hlt
@ 2022-07-13 16:08 Stephen Kitt
2022-08-31 21:48 ` [tip: x86/misc] x86/Kconfig: Specify " tip-bot2 for Stephen Kitt
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Kitt @ 2022-07-13 16:08 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H. Peter Anvin
Cc: Stephen Kitt, linux-kernel
Commit 27be45700021 ("x86 idle: remove 32-bit-only "no-hlt" parameter,
hlt_works_ok flag") removed no-hlt, but CONFIG_APM still refers to
it. Suggest "idle=poll" instead, based on the commit message:
> If a user wants to avoid HLT, then "idle=poll"
> is much more useful, as it avoids invocation of HLT
> in idle, while "no-hlt" failed to do so.
Signed-off-by: Stephen Kitt <steve@sk2.org>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a293a30e4cdd..bb4fa31bec4d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2517,7 +2517,7 @@ menuconfig APM
1) make sure that you have enough swap space and that it is
enabled.
- 2) pass the "no-hlt" option to the kernel
+ 2) pass the "idle=poll" option to the kernel
3) switch on floating point emulation in the kernel and pass
the "no387" option to the kernel
4) pass the "floppy=nodma" option to the kernel
base-commit: 50fd82b3a9a9335df5d50c7ddcb81c81d358c4fc
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip: x86/misc] x86/Kconfig: Specify idle=poll instead of no-hlt
2022-07-13 16:08 [PATCH] arch/x86/Kconfig: specify idle=poll instead of no-hlt Stephen Kitt
@ 2022-08-31 21:48 ` tip-bot2 for Stephen Kitt
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Stephen Kitt @ 2022-08-31 21:48 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Stephen Kitt, Dave Hansen, x86, linux-kernel
The following commit has been merged into the x86/misc branch of tip:
Commit-ID: 7987448ffc34f41590bae5b28cd23ca0b8c93291
Gitweb: https://git.kernel.org/tip/7987448ffc34f41590bae5b28cd23ca0b8c93291
Author: Stephen Kitt <steve@sk2.org>
AuthorDate: Wed, 13 Jul 2022 18:08:40 +02:00
Committer: Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Wed, 31 Aug 2022 14:43:36 -07:00
x86/Kconfig: Specify idle=poll instead of no-hlt
Commit 27be45700021 ("x86 idle: remove 32-bit-only "no-hlt" parameter,
hlt_works_ok flag") removed no-hlt, but CONFIG_APM still refers to
it. Suggest "idle=poll" instead, based on the commit message:
> If a user wants to avoid HLT, then "idle=poll"
> is much more useful, as it avoids invocation of HLT
> in idle, while "no-hlt" failed to do so.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20220713160840.1577569-1-steve@sk2.org
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f9920f1..83b163a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2569,7 +2569,7 @@ menuconfig APM
1) make sure that you have enough swap space and that it is
enabled.
- 2) pass the "no-hlt" option to the kernel
+ 2) pass the "idle=poll" option to the kernel
3) switch on floating point emulation in the kernel and pass
the "no387" option to the kernel
4) pass the "floppy=nodma" option to the kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-31 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 16:08 [PATCH] arch/x86/Kconfig: specify idle=poll instead of no-hlt Stephen Kitt
2022-08-31 21:48 ` [tip: x86/misc] x86/Kconfig: Specify " tip-bot2 for Stephen Kitt
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).