Skip to contentSkip to conversation

ACPI: kernel-parameters.txt : Add intel_idle.max_cstate

PATCH Applied Masanari Iida 3 participants 4 messages Dec 14, 2011 – Jan 17, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: kernel-parameters.txt : Add intel_idle.max_cstate

Add missing intel_idle.max_cstate in kernel-parameters.txt

Signed-off-by Masanari Iida <[email protected]> cc:Len Brown <[email protected]>
cc:Randy Dunlap <[email protected]>

---
 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Documentation/kernel-parameters.txt +5 -0
index 81c287f..c6a56d8 100644
@@ -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
Signature · 1 line
1.7.6.4
#1 lore raw
Quoted 1 line · Masanari Iida

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

Documentation/kernel-

Quoted 9 lines

Signed-off-by Masanari Iida <[email protected]> cc:Len Brown <[email protected]>
cc:Randy Dunlap <[email protected]>

---
 Documentation/kernel-parameters.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Documentation/kernel- renamed from Documentation/kernel-parameters.txt +0 -0

parameters.txt

Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also

Quoted 4 lines

index 81c287f..c6a56d8 100644

Documentation/kernel-parameters.txt +0 -0
@@ -1035,6 +1035,11 @@ bytes respectively. Such letter suffixes can also 

be entirely omitted.

Quoted 19 lines
Documentation/kernel-parameters.txt +5 -0
 			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
Signature · 6 lines
1.7.6.4

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

2011/12/16 Thomas Renninger <[email protected]>:

Quoted 4 lines · Masanari Iida
Quoted 1 line

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.

Quoted 5 lines

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.

Quoted 3 lines

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

reviewer Applied
#3 lore raw

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

applied.

thanks,
-Len