Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4150951pxb; Mon, 30 Aug 2021 20:51:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq6qgnzE8UsQjz7yYsGfj6eQ6qnUm7w+Kk/duLOb1neyb8y9nahPsMYHtVfphDzyyN9gox X-Received: by 2002:aa7:cfd2:: with SMTP id r18mr24580289edy.82.1630381918189; Mon, 30 Aug 2021 20:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630381918; cv=none; d=google.com; s=arc-20160816; b=TRsfD3cUUlgH95296zX+TANZcVSzceC4DYepwoNAu+MrwX8BXLyFcH9MHxxg2p6oje OmG9kKq+2WxcuzSLhwGF1pTTuLV3Px23v2YAnpO/uxw6OBAQrp5kpgD1Hd7maSAmjCfv 73l6h4ml85KOSqL9uH65fG6AIQQJx1kExOvakeD2XRdzAcYfHkh4ahxQ0StAoU/Muwai ARwbdU2fYUQD0o7zZuX8yO53DXDoy7aKIiU7rxigfPlc33USaWC9FytNG+VODpAq95iR B58wTbfKHeaoUGKLidngbH2UukfSx8R4tOdZsUpkTkizm9IhB3SG4gHYOrCttzaq5Wom PTTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=lfVb8puVRcwGOE5PDLqOhyWo7XCfNi3oWP2MVkqEJUg=; b=TGQGLZe6INKPTR0OQPbZPuXhRBUMWYXSQVoszw+TxQwTu22qL92jkgm/kQ4XeX0Xzp R6lmJ44e1OJOEUea0d+XBWioYrCTXJgNIHb8VyIwibeOLBuDwAuXpfPm59EaBSd6YtQZ Qm2k2sIEtFJXD5kMKwChHFX5J3f38YuM9bFGFzvXLrESgOAyHw8TBTYTkQeinJfq1Dqi 4VRMS8zRnDFXi/JWBmzIuuM0bg23rJeMfoN+l6VM9mosMxYQBpK8Y0LSF1zy0Xf9KbI9 P6jYx53ONVtxAZ4B2b67Cp4rvZNaInxDCeLPAz+l7OYQstcydEIMQ4q3BhLZyNlfXKki maRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=4aaxxn1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si18107235edz.580.2021.08.30.20.51.32; Mon, 30 Aug 2021 20:51:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=4aaxxn1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237399AbhHaDuy (ORCPT + 99 others); Mon, 30 Aug 2021 23:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbhHaDux (ORCPT ); Mon, 30 Aug 2021 23:50:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3344DC061575; Mon, 30 Aug 2021 20:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=lfVb8puVRcwGOE5PDLqOhyWo7XCfNi3oWP2MVkqEJUg=; b=4aaxxn1fX31IknqwFBEe/0Chss bpw5rJy6r5lR6Z2g44ldILvB3cUun0PMP+VQwvetUMvlAsqi00sjXNFmhim1/h4lxOXaiZGF5MfUr NeDDv7ktu6u5L/hym8/9PjKCXM+/wgYlaFGNbbw8DjNLR4eY6MduPR64HKuoyO/OhTCJ/jfl53lI4 erPxqeUkWSkIE1NqolOIYGiTqvonADEjKsvciiVymftaTSv6AEGhjzv12Wfbh2EM80Nuu2LCY2WRb D4kmNPMSZC1gMnoI2LjSFlwSIN+HlSIU8I9rf+LXR0bSggIl4F0EogyNfYxYyTNJKxDpQ/2iLPnAF mjf10aaQ==; Received: from c-73-157-219-8.hsd1.or.comcast.net ([73.157.219.8] helo=[10.0.0.153]) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKumb-001Fw8-Uz; Tue, 31 Aug 2021 03:49:58 +0000 Subject: Re: [RFC PATCH v2 18/19] x86/mm: Add PKS table soft mode To: Rick Edgecombe , dave.hansen@intel.com, luto@kernel.org, peterz@infradead.org, x86@kernel.org, akpm@linux-foundation.org, keescook@chromium.org, shakeelb@google.com, vbabka@suse.cz, rppt@kernel.org Cc: linux-mm@kvack.org, linux-hardening@vger.kernel.org, kernel-hardening@lists.openwall.com, ira.weiny@intel.com, dan.j.williams@intel.com, linux-kernel@vger.kernel.org References: <20210830235927.6443-1-rick.p.edgecombe@intel.com> <20210830235927.6443-19-rick.p.edgecombe@intel.com> From: Randy Dunlap Message-ID: <052d20c6-347d-6340-1a62-d62bf53d3315@infradead.org> Date: Mon, 30 Aug 2021 20:49:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210830235927.6443-19-rick.p.edgecombe@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/30/21 4:59 PM, Rick Edgecombe wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 7902fce7f1da..8bb290fee77f 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -4254,6 +4254,10 @@ > nopti [X86-64] > Equivalent to pti=off > > + nopkstables [X86-64] Disable PKS page table protection > + > + pkstablessoft [X86-64] Warn instead of oops on pks tables violations preferably PKS > + > pty.legacy_count= > [KNL] Number of legacy pty's. Overwrites compiled-in > default number. -- ~Randy