Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp478396ybl; Tue, 28 Jan 2020 06:35:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxMX/mDJN2koUWk3eEFF9J1JDVqfuXuPZKxWBDV72D/EZxMtvVmT4066+W8+KxBIqfqa+Yr X-Received: by 2002:a9d:760e:: with SMTP id k14mr15847970otl.344.1580222112673; Tue, 28 Jan 2020 06:35:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580222112; cv=none; d=google.com; s=arc-20160816; b=T4cC18vSVwqJFJWVZ7MTfhDfkf9pxBhPEhRU7aL/yaFkeZniiMz0ZZAkXWeUvqP4J8 FX14b9m7YvrPhjFQN2MJDJXvMlKIaxR09n9n5MjpxR8bb8KFPCyQlZRpSc6N04tVJdNp xSzY491zBjCW8WJRe9h6UFPcvNbAaT2H0ZxVRIcNL3KgsmfHd/YJlu7zMVU08B29jtBx FC1pbH2KF5VC4t8b+//Oy3RZ9rTYmIkhg19+zC5Ql20FKdnSBr6UZPiizFfEgRw0jcvr QkUJUfGBSY1fBJ9icRJcsPOo8SavBeyzImUNR+h71CCZrJ19fzY7znRh2o6jV1PDSgOJ q78g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YiIRn1DcZRatHVQ5/jHAg7XodV/XRLb63u3v8hcYiL0=; b=hk4+e5Dig7VJ2jmhskH4fLHBk326YLE38Uc0Hs6kBKtZBqCks8mGjqcIDeibJSudb3 6MDT2SAmDrM76lvCYe//G9zFKWbEzQynXlAXuwHqJuXtAXvY0pxd14OOQ/wwCVknWSmw SRJfyHeKZ/RuRwEryZ2I5q97sgZ1jZdj6H20AD5HWpRx7Q9GgHMKAHSxvmqmtGktGfPd eLwjD3Vw70xQ/3daF0KT23xsCtfUYZNpnlnP+ipig5k83RENDd3ZWCcI5LeJH8jj3RVb 1/lo5YERodwuINputVPUURjoXJ+mlEb6z2RosWT6yHF+D7kSDMDzDePcQCX+awI+3It3 SDlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gPCqlqR/"; 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 n63si4835496oib.210.2020.01.28.06.34.59; Tue, 28 Jan 2020 06:35:12 -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; dkim=pass header.i=@kernel.org header.s=default header.b="gPCqlqR/"; 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 S1730913AbgA1OZe (ORCPT + 99 others); Tue, 28 Jan 2020 09:25:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:52546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727406AbgA1OZd (ORCPT ); Tue, 28 Jan 2020 09:25:33 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4245B24688; Tue, 28 Jan 2020 14:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580221532; bh=d6t38KmNhUDEuUvcJNktAouqmu9+LhdyI+BO0ertFG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gPCqlqR/7J4Z2r7whlE2bzoaKkcylGtcwUDa3xYXzWEsB08IAspH4rLOMx50oxaIz 9HX9nvvmgcTnyzy46b8ub3KwfULpitrKefNiYGB7NzcpgiUUiW0mfx2PKVI7tIunBk pthvBjZQ8mo4akP+4DVJsWmuoZRp2KR3+3nlEAgM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jeremy Linton , Andre Przywara , Jonathan Corbet , Florian Fainelli Subject: [PATCH 4.9 261/271] Documentation: Document arm64 kpti control Date: Tue, 28 Jan 2020 15:06:50 +0100 Message-Id: <20200128135912.026352539@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135852.449088278@linuxfoundation.org> References: <20200128135852.449088278@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jeremy Linton commit de19055564c8f8f9d366f8db3395836da0b2176c upstream. 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 Reviewed-by: Andre Przywara Signed-off-by: Jonathan Corbet [florian: patch the correct file] Signed-off-by: Florian Fainelli Signed-off-by: Greg Kroah-Hartman --- Documentation/kernel-parameters.txt | 6 ++++++ 1 file changed, 6 insertions(+) --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1965,6 +1965,12 @@ bytes respectively. Such letter suffixes kmemcheck=2 (one-shot mode) Default: 2 (one-shot mode) + 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 + kstack=N [X86] Print N words from the kernel stack in oops dumps.