From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, corbet@lwn.net
Subject: Re: [PATCH 2/3] MIPS: Select CONFIG_GENERIC_IDLE_POLL_SETUP
Date: Fri, 9 Jun 2023 10:36:42 +0200 [thread overview]
Message-ID: <20230609083642.GB9563@alpha.franken.de> (raw)
In-Reply-To: <20230521223124.21911-3-jiaxun.yang@flygoat.com>
On Sun, May 21, 2023 at 11:31:23PM +0100, Jiaxun Yang wrote:
> hlt,nohlt paramaters are useful when debugging cpuidle
> related issues.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 4 ++--
> arch/mips/Kconfig | 1 +
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 515cd1f88ea2..9c502d3aa0cd 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -3694,8 +3694,8 @@
>
> nohibernate [HIBERNATION] Disable hibernation and resume.
>
> - nohlt [ARM,ARM64,MICROBLAZE,SH] Forces the kernel to busy wait
> - in do_idle() and not use the arch_cpu_idle()
> + nohlt [ARM,ARM64,MICROBLAZE,MIPS,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
> sleep(SH) or wfi(ARM,ARM64) instructions do not work
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 5f52bdecb4c9..e437bf43ecfc 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -45,6 +45,7 @@ config MIPS
> select GENERIC_LIB_UCMPDI2
> select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
> select GENERIC_SMP_IDLE_THREAD
> + select GENERIC_IDLE_POLL_SETUP
> select GENERIC_TIME_VSYSCALL
> select GUP_GET_PXX_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT
> select HAS_IOPORT if !NO_IOPORT_MAP || ISA
> --
> 2.39.2 (Apple Git-143)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
next prev parent reply other threads:[~2023-06-09 8:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-21 22:31 [PATCH 0/3] MIPS: Enhancements on usage and documentation of parameters Jiaxun Yang
2023-05-21 22:31 ` [PATCH 1/3] MIPS: Rework smt cmdline parameters Jiaxun Yang
2023-06-09 8:36 ` Thomas Bogendoerfer
2023-05-21 22:31 ` [PATCH 2/3] MIPS: Select CONFIG_GENERIC_IDLE_POLL_SETUP Jiaxun Yang
2023-06-09 8:36 ` Thomas Bogendoerfer [this message]
2023-05-21 22:31 ` [PATCH 3/3] Documentation: kernel-parameters: Add some MIPS parameters Jiaxun Yang
2023-05-21 23:10 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230609083642.GB9563@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=corbet@lwn.net \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox