From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755280AbbESIgJ (ORCPT ); Tue, 19 May 2015 04:36:09 -0400 Received: from mail-bl2on0106.outbound.protection.outlook.com ([65.55.169.106]:11229 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753139AbbESIgH (ORCPT ); Tue, 19 May 2015 04:36:07 -0400 Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=amd.com; intel.com; dkim=none (message not signed) header.d=none; X-WSS-ID: 0NOL7O7-07-4FP-02 X-M-MSG: From: Huang Rui To: Borislav Petkov , Len Brown , "Rafael J. Wysocki" , Thomas Gleixner CC: , , Fengguang Wu , Aaron Lu , Tony Li , Huang Rui Subject: [RFC PATCH 3/4] x86, mwaitt: add document to describe mwaitx Date: Tue, 19 May 2015 16:01:11 +0800 Message-ID: <1432022472-2224-4-git-send-email-ray.huang@amd.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1432022472-2224-1-git-send-email-ray.huang@amd.com> References: <1432022472-2224-1-git-send-email-ray.huang@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD036;1:fexav7N0Pxvmw52xV9JnRrO5LTrvgsDiiIv0OMRlWwhIBb8QUIBoUlETGaxzbSCFMUcZ+4AT8bYLDTxqXqz9YJxzC0TpStMYLFyp7bs6eMHwjHht8VP3hFRJzfBKqk9DQrfE4CUdDTYdohgCKLncaMkR6T2Atcy4qmQy+Nz7exrtUuQpX9KNgijux/z5cIxn5brTIra0b2ouP4dBsFaK63cbwpzGJWOFBZI7YpwQ/ROXm8VZB+w00JbGpASjeKtpGPW/hpdstQCTatxLegCyU3K00oIPoc78IQUPzSW/L1l61ik9K85L2NXf8DGGaScoNDAuZDcjwIJubdilMgqQtw== X-Forefront-Antispam-Report: CIP:165.204.84.221;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(199003)(189002)(50466002)(101416001)(48376002)(105586002)(92566002)(33646002)(2950100001)(53416004)(87936001)(5001860100001)(5001830100001)(4001540100001)(97736004)(5001770100001)(50226001)(189998001)(86362001)(47776003)(68736005)(64706001)(46102003)(77156002)(62966003)(36756003)(19580405001)(19580395003)(229853001)(76176999)(50986999)(77096005)(106466001)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR02MB1109;H:atltwp01.amd.com;FPR:;SPF:None;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1109; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN3PR02MB1109;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1109; X-Forefront-PRVS: 0581B5AB35 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2015 08:02:32.7364 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96;Ip=[165.204.84.221];Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1109 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds a description in the kernel parameters documentation for "idle=mwaitx". Signed-off-by: Huang Rui --- Documentation/kernel-parameters.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 61ab162..af88c5c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1363,7 +1363,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted. Claim all unknown PCI IDE storage controllers. idle= [X86] - Format: idle=poll, idle=halt, idle=nomwait + Format: idle=poll, idle=halt, idle=nomwait, + idle=mwaitx[,] Poll forces a polling idle loop that can slightly improve the performance of waking up a idle CPU, but will use a lot of power and make the system run hot. @@ -1371,6 +1372,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted. idle=halt: Halt is forced to be used for CPU idle. In such case C2/C3 won't be used again. idle=nomwait: Disable mwait for CPU C-states + idle=mwaitx[,]: Enable mwaitx and + configure max waiting timeout value (usec) for CPU + idle. If is not specified, the + maximum timeout value (ebx=0xffffffff * TSC cycle) + will be used. If is specified as + zero, the timer is disabled. Waiting exits via + other reasons, such as an IPI. ignore_loglevel [KNL] Ignore loglevel setting - this will print /all/ -- 2.1.0