From patchwork Fri Jan 25 18:07:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 156631 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp653581jaa; Fri, 25 Jan 2019 10:08:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7bEReTrFlwiyAjYi1GJt69NZviVDWaTslWikzRMNcd5m/Z3gLJg7IbZNDM7jdXWKRl1KDY X-Received: by 2002:a62:cd1:: with SMTP id 78mr11872614pfm.219.1548439717237; Fri, 25 Jan 2019 10:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548439717; cv=none; d=google.com; s=arc-20160816; b=Y8rF+rSJ3+FcNGjDnfRKTyWT7ABnKWgi0ECVgGVdCn06DkxT0/gwYVENBAtnWaUwDQ XpALw6hikFJQQm1k/lMl17W8jbQt0Q5wAHFGlG8aSLFg3+DTpdIQhA/6Jq0k2k03IYpu CtCWCkxxpdBH9K17eQf2NXloL9t5tIj9fOTI9I6rduCNNeg2p8pnfti3m3mAL6Y6OJdv +oOp+l7/446uUy8xhLpUVE74fhN5TLHuT+4jrVP6j+58AvoiA9Uio2bRJc7YARGQDBUR C/KY+V/1iJRFFreBhVOmzwM1hWb3IAVH8LifqzbrnHK99Ge14HsCmzAXPR+PrsJWmQjx s3AA== 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=/4Ptp4w8nqAe8iCRwA9SXRWqGsTrOtmSBw+4hbmiLLY=; b=EtUhWM0givPORb2ItorfomC7LXdDuEPdnj1ASWTNoxDcPeaj0ZGDygpdsC61WGRsKR BWJAovAyPYB5O5azHYo2s53ZUAzVwhx1jXXKWwZkXGWLgI+HHW5/Rl8O4Koyc6XPAPkE JXV3VtN1jABWOZhd7HS7aGTgbjuLVH/KY0WmSIOqxiApz4V8U1sdRwW1yevoFv0UtHS8 PwVVWggCfgXJtDyLvC4FUPprIbqrTv1UHPT7m2mNiqiaq9wsPjRvr0n5KUkaVXaMDSjx iluNJ6M/WwZWw+1Cix4KVs1QPST9wdKaagSY4k/2bWsRG26JMUtSnQnkv1IyEbqa+IxD xC3A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si25097820pga.377.2019.01.25.10.08.36; Fri, 25 Jan 2019 10:08:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726630AbfAYSHZ (ORCPT + 31 others); Fri, 25 Jan 2019 13:07:25 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51758 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbfAYSHW (ORCPT ); Fri, 25 Jan 2019 13:07:22 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EA7FE1596; Fri, 25 Jan 2019 10:07:21 -0800 (PST) Received: from beelzebub.austin.arm.com (beelzebub.austin.arm.com [10.118.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 329EC3F5AF; Fri, 25 Jan 2019 10:07:21 -0800 (PST) From: Jeremy Linton To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, will.deacon@arm.com, marc.zyngier@arm.com, suzuki.poulose@arm.com, dave.martin@arm.com, shankerd@codeaurora.org, linux-kernel@vger.kernel.org, ykaukab@suse.de, julien.thierry@arm.com, mlangsdo@redhat.com, steven.price@arm.com, stefan.wahren@i2se.com, Jeremy Linton , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH v4 01/12] Documentation: Document arm64 kpti control Date: Fri, 25 Jan 2019 12:07:00 -0600 Message-Id: <20190125180711.1970973-2-jeremy.linton@arm.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190125180711.1970973-1-jeremy.linton@arm.com> References: <20190125180711.1970973-1-jeremy.linton@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For a while Arm64 has been capable of force enabling or disabling the kpti mitigations. Lets make sure the documentation reflects that. Signed-off-by: Jeremy Linton Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/admin-guide/kernel-parameters.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.2 Reviewed-by: Andre Przywara diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index b799bcf67d7b..9475f02c79da 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1982,6 +1982,12 @@ Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y, the default is off. + kpti= [ARM64] Control page table isolation of user + and kernel address spaces. + Default: enabled on cores which need mitigation. + 0: force disabled + 1: force enabled + kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs. Default is 0 (don't ignore, but inject #GP)