All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
@ 2011-12-14 16:18 Masanari Iida
  2011-12-15 16:47 ` Thomas Renninger
  0 siblings, 1 reply; 4+ messages in thread
From: Masanari Iida @ 2011-12-14 16:18 UTC (permalink / raw)
  To: linux-kernel, linux-acpi; +Cc: rdunlap, lenb, Masanari Iida

Add missing intel_idle.max_cstate in kernel-parameters.txt

Signed-off-by Masanari Iida <standby24x7@gmail.com>
cc:Len Brown <lenb@kernel.org>
cc:Randy Dunlap <rdunlap@xenotime.net>
---
 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 81c287f..c6a56d8 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1035,6 +1035,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 			By default, super page will be supported if Intel IOMMU
 			has the capability. With this option, super page will
 			not be supported.
+
+	intel_idle.max_cstate=	[KNL,HW,ACPI,X86]
+			0	disables intel_idle and fall back on acpi_idle.
+			1 to 6	specify maximum depth of C-state.
+
 	intremap=	[X86-64, Intel-IOMMU]
 			on	enable Interrupt Remapping (default)
 			off	disable Interrupt Remapping
-- 
1.7.6.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
  2011-12-14 16:18 [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate Masanari Iida
@ 2011-12-15 16:47 ` Thomas Renninger
  2011-12-16  4:21   ` Masanari Iida
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Renninger @ 2011-12-15 16:47 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-kernel, linux-acpi, rdunlap, lenb

On Wednesday, December 14, 2011 05:18:52 PM Masanari Iida wrote:
> Add missing intel_idle.max_cstate in kernel-parameters.txt
I wonder whether this one should get documented at all.

Better would be to work towards a general cpuidle.max_state=
param which deprecates processor.max_cstate= (acpi_idle driver) and
intel_idle.max_cstate= and enables this functionality for all
other cpuidle drivers out there as well.

Something to turn off intel_idle driver and favor the acpi_idle
driver for debugging would still be needed then.

   Thomas

> 
> Signed-off-by Masanari Iida <standby24x7@gmail.com>
> cc:Len Brown <lenb@kernel.org>
> cc:Randy Dunlap <rdunlap@xenotime.net>
> ---
>  Documentation/kernel-parameters.txt |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-
parameters.txt
> index 81c287f..c6a56d8 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1035,6 +1035,11 @@ bytes respectively. Such letter suffixes can also 
be entirely omitted.
>  			By default, super page will be supported if Intel IOMMU
>  			has the capability. With this option, super page will
>  			not be supported.
> +
> +	intel_idle.max_cstate=	[KNL,HW,ACPI,X86]
> +			0	disables intel_idle and fall back on acpi_idle.
> +			1 to 6	specify maximum depth of C-state.
> +
>  	intremap=	[X86-64, Intel-IOMMU]
>  			on	enable Interrupt Remapping (default)
>  			off	disable Interrupt Remapping
> -- 
> 1.7.6.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
  2011-12-15 16:47 ` Thomas Renninger
@ 2011-12-16  4:21   ` Masanari Iida
  2012-01-17  9:00     ` Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Masanari Iida @ 2011-12-16  4:21 UTC (permalink / raw)
  To: Thomas Renninger; +Cc: linux-kernel, linux-acpi, rdunlap, lenb

2011/12/16 Thomas Renninger <trenn@suse.de>:
> On Wednesday, December 14, 2011 05:18:52 PM Masanari Iida wrote:
>> Add missing intel_idle.max_cstate in kernel-parameters.txt
> I wonder whether this one should get documented at all.
>
My opinion is, as long as the kernel parameter is available,
we should document it.  And if developer want to guide the user to use
cpuidle.max_cstate, we should document so.

> Better would be to work towards a general cpuidle.max_state=
> param which deprecates processor.max_cstate= (acpi_idle driver) and
> intel_idle.max_cstate= and enables this functionality for all
> other cpuidle drivers out there as well.
>
cpuidle.max_state is also not in the kernel-parameters.txt,
Separate patch need to be created.

> Something to turn off intel_idle driver and favor the acpi_idle
> driver for debugging would still be needed then.
>
This patch explains how to disable intel_idle.
Although processor.max_cstate=0 sets cstate to 0,
but similar option intel_idle.max_cstate=0 didn't set cstate to 0.
This is confusing for the users.
This is the reason why I wanted to document it.

Masanari Iida

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
  2011-12-16  4:21   ` Masanari Iida
@ 2012-01-17  9:00     ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2012-01-17  9:00 UTC (permalink / raw)
  To: Masanari Iida; +Cc: Thomas Renninger, linux-kernel, linux-acpi, rdunlap

you're both right.
document reality now,
make reality better later.

applied.

thanks,
-Len

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-17  9:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-14 16:18 [PATCH] ACPI: kernel-parameters.txt : Add intel_idle.max_cstate Masanari Iida
2011-12-15 16:47 ` Thomas Renninger
2011-12-16  4:21   ` Masanari Iida
2012-01-17  9:00     ` Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.