Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp909667imb; Fri, 1 Mar 2019 18:54:00 -0800 (PST) X-Google-Smtp-Source: APXvYqzT1zbkHCcU0HdOixbhh60/i//BWNxm/LMifzwRBf9EcKyNkUzgUaHhBCN5tP1mlFNO6wc1 X-Received: by 2002:a63:69c2:: with SMTP id e185mr8090827pgc.4.1551495240682; Fri, 01 Mar 2019 18:54:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551495240; cv=none; d=google.com; s=arc-20160816; b=vzQjRt+PuV8KAK1x6fQhdIvrUOoe7/djHIxxqQawDjj8b8FbljcrAUGJuKzzGM3FWX EmEQGoXVJHOTRhkHcAURjMCYsl/S2EFqJO7IEMM5T9ER4/cgqJblduggeGLDtXLZhNcj Q2xYtLJ8e/cN0yD8Wy5eYRz+O7GRbtsykk0AwtB9vR13YIqxOv4/Rz/vwQtpSjZtPeef c/ujJVnK8c2NCOoww4oOOQ0a0wBONt7F4Up7ebRm9OVibB3He7d9VX3b9hDe55ZpZB8/ yUACNsFS5lIgtFCVL9gYE3LDnRzc/J1zJK/NKgTdipkUck+n0xL+VY0c7XZ4j4GEXkPU mbPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=VrJoL+NNBgZB6TdkiC2KDz6ye2SbNrQQuT+uy+0+Z/A=; b=nsHNcLTKj5PGW4uQuvmCHOdZRHkxIDKBprdqcx+soXEMegIIIVI8GUCsXfacKjZoLL wBDDspkqeiS4UhgqisGt8ZEh1zCIx2LLYQFQWDNLLc9Lmh/vXKz1asfW1NgHxLxNKt5F S3GGsN54TssIYMll2JCy0ziUNkctVRJntNBjDEE0Z+pLFs/Ta+k1valD2ocwfBMyc2kb FhpeoINRzQvmVCW1AYJMxTsbqbBC5q/el2XBHV1obq9ZJe25hDpCK8dLCyeYGBjOatoE HFHoXbH0/reBx7qKRxfYQB8q4Q9EjelNdyw1/hh7D031WFKQ3XbFUT53cqZr/WEp62rL gnaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l68si23919935plb.90.2019.03.01.18.53.45; Fri, 01 Mar 2019 18:54:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728094AbfCBCw5 (ORCPT + 99 others); Fri, 1 Mar 2019 21:52:57 -0500 Received: from mga04.intel.com ([192.55.52.120]:49771 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727824AbfCBCwd (ORCPT ); Fri, 1 Mar 2019 21:52:33 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Mar 2019 18:52:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,430,1544515200"; d="scan'208";a="148572622" Received: from romley-ivt3.sc.intel.com ([172.25.110.60]) by fmsmga004.fm.intel.com with ESMTP; 01 Mar 2019 18:52:29 -0800 From: Fenghua Yu To: "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "H Peter Anvin" , "Paolo Bonzini" , "Dave Hansen" , "Ashok Raj" , "Peter Zijlstra" , "Ravi V Shankar" , "Xiaoyao Li " Cc: "linux-kernel" , "x86" , kvm@vger.kernel.org, Fenghua Yu Subject: [PATCH v4 12/17] Change document for kernel option clearcpuid Date: Fri, 1 Mar 2019 18:45:06 -0800 Message-Id: <1551494711-213533-13-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1551494711-213533-1-git-send-email-fenghua.yu@intel.com> References: <1551494711-213533-1-git-send-email-fenghua.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since kernel option clearcpuid now supports multiple options and CPU capability flags, the document needs to be changed. Signed-off-by: Fenghua Yu --- Documentation/admin-guide/kernel-parameters.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 858b6c0b9a15..1a195f93d3cc 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -558,10 +558,12 @@ loops can be debugged more effectively on production systems. - clearcpuid=BITNUM [X86] + clearcpuid=BITNUM | FLAG [X86] Disable CPUID feature X for the kernel. See arch/x86/include/asm/cpufeatures.h for the valid bit - numbers. Note the Linux specific bits are not necessarily + numbers or /proc/cpuinfo for valid CPU flags. + Multiple options can be used to disable a few features. + Note the Linux specific bits are not necessarily stable over kernel options, but the vendor specific ones should be. Also note that user programs calling CPUID directly -- 2.7.4